1 Summary: X Randr extension library
2 Summary(pl.UTF-8): Biblioteka rozszerzenia X Randr
3 Name: xorg-lib-libXrandr
8 Source0: http://xorg.freedesktop.org/releases/individual/lib/libXrandr-%{version}.tar.bz2
9 # Source0-md5: ab4210c6d89888e55520bc2c568b6867
10 URL: http://xorg.freedesktop.org/
11 BuildRequires: autoconf >= 2.57
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRequires: pkgconfig >= 1:0.19
15 BuildRequires: xorg-lib-libXext-devel
16 BuildRequires: xorg-lib-libXrender-devel
17 BuildRequires: xorg-proto-randrproto-devel >= 1.2.99.3
18 BuildRequires: xorg-util-util-macros >= 0.99.2
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 X Resize and Rotate extension library.
25 %description -l pl.UTF-8
26 Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany
27 rozmiaru i obracania ekranu X.
30 Summary: Header files for libXrandr library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXrandr
32 Group: X11/Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: xorg-lib-libXext-devel
35 Requires: xorg-lib-libXrender-devel
36 Requires: xorg-proto-randrproto-devel >= 1.2
37 Obsoletes: libXrandr-devel
40 X Resize and Rotate extension library.
42 This package contains the header files needed to develop programs that
45 %description devel -l pl.UTF-8
46 Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany
47 rozmiaru i obracania ekranu X.
49 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
50 używających biblioteki libXrandr.
53 Summary: Static libXrandr libraries
54 Summary(pl.UTF-8): Biblioteki statyczne libXrandr
55 Group: X11/Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
57 Obsoletes: libXrandr-static
60 X Resize and Rotate extension library.
62 This package contains the static libXrandr library.
64 %description static -l pl.UTF-8
65 Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany
66 rozmiaru i obracania ekranu X.
68 Pakiet zawiera statyczną bibliotekę libXrandr.
71 %setup -q -n libXrandr-%{version}
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT \
87 pkgconfigdir=%{_pkgconfigdir}
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %defattr(644,root,root,755)
97 %doc AUTHORS COPYING ChangeLog
98 %attr(755,root,root) %{_libdir}/libXrandr.so.*.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libXrandr.so.2
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libXrandr.so
104 %{_libdir}/libXrandr.la
105 %{_includedir}/X11/extensions/Xrandr.h
106 %{_pkgconfigdir}/xrandr.pc
107 %{_mandir}/man3/XRR*.3x*
108 %{_mandir}/man3/Xrandr.3x*
111 %defattr(644,root,root,755)
112 %{_libdir}/libXrandr.a