-
-#
Summary: X Randr extension library
Summary(pl): Biblioteka rozszerzenia X Randr
Name: xorg-lib-libXrandr
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: xorg-lib-libXext-devel
-BuildRequires: xorg-lib-libXrender-devel
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.19
+BuildRequires: xorg-lib-libXext-devel
+BuildRequires: xorg-lib-libXrender-devel
BuildRequires: xorg-proto-randrproto-devel
BuildRequires: xorg-util-util-macros
Obsoletes: libXrandr
-BuildRoot: %{tmpdir}/libXrandr-%{version}-root-%(id -u -n)
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%define _mandir %{_prefix}/man
Biblioteka rozszerzenia X Resize and Rotate, s³u¿±cego do zmiany
rozmiaru i obracania ekranu X.
-
%package devel
Summary: Header files libXrandr development
Summary(pl): Pliki nag³ówkowe do biblioteki libXrandr
Group: X11/Development/Libraries
-Requires: xorg-lib-libXrandr = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
Requires: xorg-lib-libXext-devel
Requires: xorg-lib-libXrender-devel
Requires: xorg-proto-randrproto-devel
Pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania programów
u¿ywaj±cych biblioteki libXrandr.
-
%package static
Summary: Static libXrandr libraries
Summary(pl): Biblioteki statyczne libXrandr
-Group: Development/Libraries
-Requires: xorg-lib-libXrandr-devel = %{version}-%{release}
+Group: X11/Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
Obsoletes: libXrandr-static
%description static
Pakiet zawiera statyczn± bibliotekê libXrandr.
-
%prep
%setup -q -n libXrandr-%{version}
-
%build
%{__libtoolize}
%{__aclocal}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog
-%attr(755,root,wheel) %{_libdir}/libXrandr.so.*
-
+%attr(755,root,root) %{_libdir}/libXrandr.so.*.*.*
%files devel
%defattr(644,root,root,755)
-%{_includedir}/X11/extensions/*.h
+%attr(755,root,root) %{_libdir}/libXrandr.so
%{_libdir}/libXrandr.la
-%attr(755,root,wheel) %{_libdir}/libXrandr.so
+%{_includedir}/X11/extensions/*.h
%{_pkgconfigdir}/xrandr.pc
%{_mandir}/man3/*.3*
-
%files static
%defattr(644,root,root,755)
%{_libdir}/libXrandr.a