]>
Commit | Line | Data |
---|---|---|
d6ee5965 JB |
1 | Summary: XFree86-DGA extension client library |
2 | Summary(pl.UTF-8): Biblioteka kliencka rozszerzenia XFree86-DGA | |
f233b5d5 | 3 | Name: xorg-lib-libXxf86dga |
39af4ba1 | 4 | Version: 1.1.6 |
eb4e390c | 5 | Release: 1 |
f233b5d5 AM |
6 | License: MIT |
7 | Group: X11/Libraries | |
39af4ba1 JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/lib/libXxf86dga-%{version}.tar.xz |
9 | # Source0-md5: 74d1acf93b83abeb0954824da0ec400b | |
eb4e390c | 10 | URL: https://xorg.freedesktop.org/ |
39c064f7 | 11 | BuildRequires: autoconf >= 2.60 |
f233b5d5 | 12 | BuildRequires: automake |
f233b5d5 | 13 | BuildRequires: libtool |
e2ea1917 | 14 | BuildRequires: pkgconfig >= 1:0.19 |
0509b207 | 15 | BuildRequires: sed >= 4.0 |
39af4ba1 | 16 | BuildRequires: tar >= 1:1.22 |
eb4e390c | 17 | BuildRequires: xorg-lib-libX11-devel >= 1.6 |
3b132ef7 | 18 | BuildRequires: xorg-lib-libXext-devel |
eb4e390c | 19 | BuildRequires: xorg-proto-xextproto-devel |
d8bb8aff | 20 | BuildRequires: xorg-proto-xf86dgaproto-devel >= 2.0.99.2 |
eb4e390c | 21 | BuildRequires: xorg-proto-xproto-devel |
39c064f7 | 22 | BuildRequires: xorg-util-util-macros >= 1.8 |
39af4ba1 | 23 | BuildRequires: xz |
eb4e390c | 24 | Requires: xorg-lib-libX11 >= 1.6 |
3b132ef7 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f233b5d5 | 26 | |
f233b5d5 | 27 | %description |
d6ee5965 | 28 | XFree86-DGA (Direct Graphics Access) extension client library. |
f233b5d5 | 29 | |
cafd0d5f | 30 | %description -l pl.UTF-8 |
d6ee5965 | 31 | Biblioteka kliencka rozszerzenia XFree86-DGA (Direct Graphics Access - |
3c5b63b9 | 32 | bezpośredniego dostępu do grafiki). |
f233b5d5 | 33 | |
f233b5d5 | 34 | %package devel |
447558b8 | 35 | Summary: Header files for libXxf86dga library |
94465bab | 36 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXxf86dga |
f233b5d5 | 37 | Group: X11/Development/Libraries |
3b132ef7 | 38 | Requires: %{name} = %{version}-%{release} |
eb4e390c | 39 | Requires: xorg-lib-libX11-devel >= 1.6 |
f233b5d5 | 40 | Requires: xorg-lib-libXext-devel |
d50afead | 41 | Requires: xorg-proto-xf86dgaproto-devel >= 2.0.99.2 |
f233b5d5 AM |
42 | |
43 | %description devel | |
f233b5d5 | 44 | This package contains the header files needed to develop programs that |
447558b8 | 45 | use libXxf86dga. |
f233b5d5 | 46 | |
cafd0d5f | 47 | %description devel -l pl.UTF-8 |
cafd0d5f JR |
48 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
49 | używających biblioteki libXxf86dga. | |
f233b5d5 | 50 | |
f233b5d5 | 51 | %package static |
3b132ef7 | 52 | Summary: Static libXxf86dga library |
94465bab | 53 | Summary(pl.UTF-8): Biblioteka statyczna libXxf86dga |
3b132ef7 JB |
54 | Group: X11/Development/Libraries |
55 | Requires: %{name}-devel = %{version}-%{release} | |
f233b5d5 AM |
56 | |
57 | %description static | |
f233b5d5 AM |
58 | This package contains the static libXxf86dga library. |
59 | ||
cafd0d5f | 60 | %description static -l pl.UTF-8 |
cafd0d5f | 61 | Pakiet zawiera statyczną bibliotekę libXxf86dga. |
f233b5d5 | 62 | |
f233b5d5 AM |
63 | %prep |
64 | %setup -q -n libXxf86dga-%{version} | |
65 | ||
0509b207 JB |
66 | # support __libmansuffix__ with "x" suffix (per FHS 2.3) |
67 | %{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man | |
68 | ||
f233b5d5 AM |
69 | %build |
70 | %{__libtoolize} | |
71 | %{__aclocal} | |
72 | %{__autoconf} | |
73 | %{__autoheader} | |
74 | %{__automake} | |
75 | %configure | |
76 | ||
77 | %{__make} | |
78 | ||
f233b5d5 AM |
79 | %install |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %{__make} install \ | |
39c064f7 | 83 | DESTDIR=$RPM_BUILD_ROOT |
f233b5d5 | 84 | |
e705809e | 85 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
86 | ||
f233b5d5 AM |
87 | %clean |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
f233b5d5 AM |
90 | %post -p /sbin/ldconfig |
91 | %postun -p /sbin/ldconfig | |
92 | ||
f233b5d5 AM |
93 | %files |
94 | %defattr(644,root,root,755) | |
eb4e390c | 95 | %doc COPYING ChangeLog README.md |
3b132ef7 | 96 | %attr(755,root,root) %{_libdir}/libXxf86dga.so.*.*.* |
d6ee5965 | 97 | %attr(755,root,root) %ghost %{_libdir}/libXxf86dga.so.1 |
f233b5d5 AM |
98 | |
99 | %files devel | |
100 | %defattr(644,root,root,755) | |
3b132ef7 | 101 | %attr(755,root,root) %{_libdir}/libXxf86dga.so |
d6ee5965 JB |
102 | %{_includedir}/X11/extensions/Xxf86dga.h |
103 | %{_includedir}/X11/extensions/xf86dga1.h | |
f233b5d5 | 104 | %{_pkgconfigdir}/xxf86dga.pc |
f8d37c58 JR |
105 | %{_mandir}/man3/XDGA*.3* |
106 | %{_mandir}/man3/XF86DGA.3* | |
107 | %{_mandir}/man3/XFree86-DGA.3* | |
f233b5d5 | 108 | |
f233b5d5 AM |
109 | %files static |
110 | %defattr(644,root,root,755) | |
111 | %{_libdir}/libXxf86dga.a |