- Added "BuildRequires: pkgconfig" for (#193429)
- Replace "makeinstall" with "make install DESTDIR=..." - Remove package ownership of mandir/libdir/etc.
This commit is contained in:
parent
2ece12abc5
commit
132117a7fa
@ -1,13 +1,14 @@
|
|||||||
Summary: X.Org X11 libXrender runtime library
|
Summary: X.Org X11 libXrender runtime library
|
||||||
Name: libXrender
|
Name: libXrender
|
||||||
Version: 0.9.1
|
Version: 0.9.1
|
||||||
Release: 1
|
Release: 2
|
||||||
License: MIT/X11
|
License: MIT/X11
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
Source0: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xorg-x11-proto-devel
|
BuildRequires: xorg-x11-proto-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
|
|
||||||
@ -45,9 +46,9 @@ X.Org X11 libXrender development package
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%makeinstall
|
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
# We intentionally don't ship *.la files
|
# We intentionally don't ship *.la files
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
@ -61,7 +62,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING README INSTALL ChangeLog
|
%doc AUTHORS COPYING README INSTALL ChangeLog
|
||||||
%dir %{_libdir}
|
|
||||||
%{_libdir}/libXrender.so.1
|
%{_libdir}/libXrender.so.1
|
||||||
%{_libdir}/libXrender.so.1.3.0
|
%{_libdir}/libXrender.so.1.3.0
|
||||||
|
|
||||||
@ -74,10 +74,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libXrender.a
|
%{_libdir}/libXrender.a
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/libXrender.so
|
%{_libdir}/libXrender.so
|
||||||
%dir %{_libdir}/pkgconfig
|
|
||||||
%{_libdir}/pkgconfig/xrender.pc
|
%{_libdir}/pkgconfig/xrender.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 0.9.1-2
|
||||||
|
- Added "BuildRequires: pkgconfig" for (#193429)
|
||||||
|
- Replace "makeinstall" with "make install DESTDIR=..."
|
||||||
|
- Remove package ownership of mandir/libdir/etc.
|
||||||
|
|
||||||
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 0.9.1-1
|
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 0.9.1-1
|
||||||
- Update to 0.9.1
|
- Update to 0.9.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user