- Added "Requires: xorg-x11-proto-devel" to devel pkg for xrandr.pc

This commit is contained in:
mharris 2006-06-09 11:59:29 +00:00
parent 0bac6fbc00
commit 8a59196e45

View File

@ -1,15 +1,16 @@
Summary: X.Org X11 libXrandr runtime library
Name: libXrandr
Version: 1.1.1
Release: 2
Release: 3
License: MIT/X11
Group: System Environment/Libraries
URL: http://www.x.org
Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
BuildRequires: pkgconfig
#BuildRequires: randrproto >= 0.99
# xrandr.pc Requires: xproto randrproto >= 1.1
BuildRequires: xorg-x11-proto-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
@ -23,8 +24,11 @@ X.Org X11 libXrandr runtime library
%package devel
Summary: X.Org X11 libXrandr development package
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
Requires: %{name} = %{version}-%{release}
# xrandr.pc Requires: xproto randrproto >= 1.1
Requires: xorg-x11-proto-devel
Obsoletes: XFree86-devel, xorg-x11-devel
@ -38,7 +42,6 @@ X.Org X11 libXrandr development package
%define with_static 0
%build
%configure \
%if ! %{with_static}
--disable-static
@ -74,12 +77,14 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libXrandr.a
%endif
%{_libdir}/libXrandr.so
%dir %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/xrandr.pc
#%dir %{_mandir}/man3x
%{_mandir}/man3/*.3x*
%changelog
* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-3
- Added "Requires: xorg-x11-proto-devel" to devel pkg for xrandr.pc
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-2
- Added "BuildRequires: pkgconfig" for (#193428)
- Replace "makeinstall" with "make install DESTDIR=..." for (#192724)