- Added "BuildRequires: pkgconfig" for (#193504)
- Replace "makeinstall" with "make install DESTDIR=..." - Remove package ownership of mandir/libdir/etc.
This commit is contained in:
parent
7400804171
commit
63a2865fbc
20
libXtst.spec
20
libXtst.spec
@ -1,13 +1,14 @@
|
|||||||
Summary: X.Org X11 libXtst runtime library
|
Summary: X.Org X11 libXtst runtime library
|
||||||
Name: libXtst
|
Name: libXtst
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 1.2
|
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/X11R7.0/src/everything/%{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
|
||||||
BuildRequires: libXext-devel
|
BuildRequires: libXext-devel
|
||||||
@ -43,9 +44,9 @@ X.Org X11 libXtst 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
|
||||||
@ -59,7 +60,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}/libXtst.so.6
|
%{_libdir}/libXtst.so.6
|
||||||
%{_libdir}/libXtst.so.6.1.0
|
%{_libdir}/libXtst.so.6.1.0
|
||||||
|
|
||||||
@ -69,14 +69,18 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libXtst.a
|
%{_libdir}/libXtst.a
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/libXtst.so
|
%{_libdir}/libXtst.so
|
||||||
%dir %{_libdir}/pkgconfig
|
|
||||||
%{_libdir}/pkgconfig/xtst.pc
|
%{_libdir}/pkgconfig/xtst.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-1.2
|
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
|
||||||
|
- Added "BuildRequires: pkgconfig" for (#193504)
|
||||||
|
- Replace "makeinstall" with "make install DESTDIR=..."
|
||||||
|
- Remove package ownership of mandir/libdir/etc.
|
||||||
|
|
||||||
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
|
||||||
- bump again for double-long bug on ppc(64)
|
- bump again for double-long bug on ppc(64)
|
||||||
|
|
||||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-1.1
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
|
||||||
- rebuilt for new gcc4.1 snapshot and glibc changes
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||||||
|
|
||||||
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
|
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
|
||||||
|
Loading…
Reference in New Issue
Block a user