]>
Commit | Line | Data |
---|---|---|
545aa65d | 1 | Summary: X Randr extension library |
a3d00c40 | 2 | Summary(pl.UTF-8): Biblioteka rozszerzenia X Randr |
545aa65d | 3 | Name: xorg-lib-libXrandr |
1d18b860 AM |
4 | Version: 1.2.1 |
5 | Release: 1 | |
545aa65d AM |
6 | License: MIT |
7 | Group: X11/Libraries | |
3b4ceebe | 8 | Source0: http://xorg.freedesktop.org/releases/individual/lib/libXrandr-%{version}.tar.bz2 |
1d18b860 | 9 | # Source0-md5: 5860360f5b038cc728f388f875ce525d |
545aa65d | 10 | URL: http://xorg.freedesktop.org/ |
ca8c4fcb | 11 | BuildRequires: autoconf >= 2.57 |
545aa65d | 12 | BuildRequires: automake |
545aa65d | 13 | BuildRequires: libtool |
5bf1782e | 14 | BuildRequires: pkgconfig >= 1:0.19 |
cfc3f512 JB |
15 | BuildRequires: xorg-lib-libXext-devel |
16 | BuildRequires: xorg-lib-libXrender-devel | |
85822623 | 17 | BuildRequires: xorg-proto-randrproto-devel >= 1.2 |
5b62e14b | 18 | BuildRequires: xorg-util-util-macros >= 0.99.2 |
593c6c8f | 19 | Obsoletes: libXrandr |
cfc3f512 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
545aa65d | 21 | |
545aa65d AM |
22 | %description |
23 | X Resize and Rotate extension library. | |
24 | ||
6ed3e043 JR |
25 | %description -l pl.UTF-8 |
26 | Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany | |
545aa65d AM |
27 | rozmiaru i obracania ekranu X. |
28 | ||
545aa65d | 29 | %package devel |
b0196ce7 | 30 | Summary: Header files for libXrandr library |
a3d00c40 | 31 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXrandr |
545aa65d | 32 | Group: X11/Development/Libraries |
cfc3f512 | 33 | Requires: %{name} = %{version}-%{release} |
545aa65d AM |
34 | Requires: xorg-lib-libXext-devel |
35 | Requires: xorg-lib-libXrender-devel | |
a06bdc81 | 36 | Requires: xorg-proto-randrproto-devel >= 1.1 |
593c6c8f | 37 | Obsoletes: libXrandr-devel |
545aa65d AM |
38 | |
39 | %description devel | |
40 | X Resize and Rotate extension library. | |
41 | ||
42 | This package contains the header files needed to develop programs that | |
b0196ce7 | 43 | use libXrandr. |
545aa65d | 44 | |
6ed3e043 JR |
45 | %description devel -l pl.UTF-8 |
46 | Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany | |
545aa65d AM |
47 | rozmiaru i obracania ekranu X. |
48 | ||
6ed3e043 JR |
49 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
50 | używających biblioteki libXrandr. | |
545aa65d | 51 | |
545aa65d AM |
52 | %package static |
53 | Summary: Static libXrandr libraries | |
a3d00c40 | 54 | Summary(pl.UTF-8): Biblioteki statyczne libXrandr |
cfc3f512 JB |
55 | Group: X11/Development/Libraries |
56 | Requires: %{name}-devel = %{version}-%{release} | |
593c6c8f | 57 | Obsoletes: libXrandr-static |
545aa65d AM |
58 | |
59 | %description static | |
60 | X Resize and Rotate extension library. | |
61 | ||
62 | This package contains the static libXrandr library. | |
63 | ||
6ed3e043 JR |
64 | %description static -l pl.UTF-8 |
65 | Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany | |
545aa65d AM |
66 | rozmiaru i obracania ekranu X. |
67 | ||
6ed3e043 | 68 | Pakiet zawiera statyczną bibliotekę libXrandr. |
545aa65d | 69 | |
545aa65d AM |
70 | %prep |
71 | %setup -q -n libXrandr-%{version} | |
72 | ||
545aa65d AM |
73 | %build |
74 | %{__libtoolize} | |
75 | %{__aclocal} | |
76 | %{__autoconf} | |
77 | %{__autoheader} | |
78 | %{__automake} | |
79 | %configure | |
80 | %{__make} | |
81 | ||
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT \ | |
87 | pkgconfigdir=%{_pkgconfigdir} | |
88 | ||
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %post -p /sbin/ldconfig | |
93 | %postun -p /sbin/ldconfig | |
94 | ||
545aa65d AM |
95 | %files |
96 | %defattr(644,root,root,755) | |
ca8c4fcb | 97 | %doc AUTHORS COPYING ChangeLog |
cfc3f512 | 98 | %attr(755,root,root) %{_libdir}/libXrandr.so.*.*.* |
545aa65d AM |
99 | |
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
cfc3f512 | 102 | %attr(755,root,root) %{_libdir}/libXrandr.so |
545aa65d | 103 | %{_libdir}/libXrandr.la |
cfc3f512 | 104 | %{_includedir}/X11/extensions/*.h |
545aa65d | 105 | %{_pkgconfigdir}/xrandr.pc |
ca8c4fcb | 106 | %{_mandir}/man3/*.3x* |
545aa65d | 107 | |
545aa65d AM |
108 | %files static |
109 | %defattr(644,root,root,755) | |
110 | %{_libdir}/libXrandr.a |