Summary: X Randr extension library Summary(pl.UTF-8): Biblioteka rozszerzenia X Randr Name: xorg-lib-libXrandr Version: 1.2.99.3 Release: 1 License: MIT Group: X11/Libraries Source0: http://xorg.freedesktop.org/releases/individual/lib/libXrandr-%{version}.tar.bz2 # Source0-md5: cd68c899190c282bb0d18110a985fdc8 URL: http://xorg.freedesktop.org/ BuildRequires: autoconf >= 2.57 BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig >= 1:0.19 BuildRequires: xorg-lib-libXext-devel BuildRequires: xorg-lib-libXrender-devel BuildRequires: xorg-proto-randrproto-devel >= 1.2.91 BuildRequires: xorg-util-util-macros >= 0.99.2 Obsoletes: libXrandr BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description X Resize and Rotate extension library. %description -l pl.UTF-8 Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany rozmiaru i obracania ekranu X. %package devel Summary: Header files for libXrandr library Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXrandr Group: X11/Development/Libraries Requires: %{name} = %{version}-%{release} Requires: xorg-lib-libXext-devel Requires: xorg-lib-libXrender-devel Requires: xorg-proto-randrproto-devel >= 1.2 Obsoletes: libXrandr-devel %description devel X Resize and Rotate extension library. This package contains the header files needed to develop programs that use libXrandr. %description devel -l pl.UTF-8 Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany rozmiaru i obracania ekranu X. Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów używających biblioteki libXrandr. %package static Summary: Static libXrandr libraries Summary(pl.UTF-8): Biblioteki statyczne libXrandr Group: X11/Development/Libraries Requires: %{name}-devel = %{version}-%{release} Obsoletes: libXrandr-static %description static X Resize and Rotate extension library. This package contains the static libXrandr library. %description static -l pl.UTF-8 Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany rozmiaru i obracania ekranu X. Pakiet zawiera statyczną bibliotekę libXrandr. %prep %setup -q -n libXrandr-%{version} %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ pkgconfigdir=%{_pkgconfigdir} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc AUTHORS COPYING ChangeLog %attr(755,root,root) %{_libdir}/libXrandr.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libXrandr.so.2 %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libXrandr.so %{_libdir}/libXrandr.la %{_includedir}/X11/extensions/Xrandr.h %{_pkgconfigdir}/xrandr.pc %{_mandir}/man3/XRR*.3x* %{_mandir}/man3/Xrandr.3x* %files static %defattr(644,root,root,755) %{_libdir}/libXrandr.a