- Added "BuildRequires: pkgconfig" for (#193428)
- Replace "makeinstall" with "make install DESTDIR=..." for (#192724) - Remove package ownership of mandir/libdir/etc.
This commit is contained in:
parent
c32400dd90
commit
c17648ed88
@ -1,13 +1,14 @@
|
||||
Summary: X.Org X11 libXrandr runtime library
|
||||
Name: libXrandr
|
||||
Version: 1.1.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
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)
|
||||
|
||||
BuildRequires: pkgconfig
|
||||
#BuildRequires: randrproto >= 0.99
|
||||
BuildRequires: xorg-x11-proto-devel
|
||||
BuildRequires: libX11-devel
|
||||
@ -45,9 +46,9 @@ X.Org X11 libXrandr development package
|
||||
make
|
||||
|
||||
%install
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%makeinstall
|
||||
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# We intentionally don't ship *.la files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
@ -61,7 +62,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README INSTALL ChangeLog
|
||||
%dir %{_libdir}
|
||||
%{_libdir}/libXrandr.so.2
|
||||
%{_libdir}/libXrandr.so.2.0.0
|
||||
|
||||
@ -76,11 +76,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/libXrandr.so
|
||||
%dir %{_libdir}/pkgconfig
|
||||
%{_libdir}/pkgconfig/xrandr.pc
|
||||
%dir %{_mandir}
|
||||
%dir %{_mandir}/man3
|
||||
#%dir %{_mandir}/man3x
|
||||
%{_mandir}/man3/*.3x*
|
||||
|
||||
%changelog
|
||||
* 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)
|
||||
- Remove package ownership of mandir/libdir/etc.
|
||||
|
||||
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
|
||||
- Update to 1.1.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user