- Added "BuildRequires: pkgconfig" for (#193503)
- Replace "makeinstall" with "make install DESTDIR=..." - Remove package ownership of mandir/libdir/etc.
This commit is contained in:
parent
471699bdf7
commit
8055f78dcf
18
libXt.spec
18
libXt.spec
@ -1,13 +1,14 @@
|
||||
Summary: X.Org X11 libXt runtime library
|
||||
Name: libXt
|
||||
Version: 1.0.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: xorg-x11-proto-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libSM-devel
|
||||
@ -22,6 +23,7 @@ Summary: X.Org X11 libXt development package
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
|
||||
|
||||
Requires: libX11-devel
|
||||
Requires: libSM-devel
|
||||
|
||||
@ -58,7 +60,8 @@ 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
|
||||
@ -72,7 +75,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README INSTALL ChangeLog
|
||||
%dir %{_libdir}
|
||||
%{_libdir}/libXt.so.6
|
||||
%{_libdir}/libXt.so.6.0.0
|
||||
|
||||
@ -122,13 +124,17 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/libXt.so
|
||||
%dir %{_libdir}/pkgconfig
|
||||
%{_libdir}/pkgconfig/xt.pc
|
||||
%dir %{_mandir}
|
||||
%dir %{_mandir}/man1
|
||||
#%dir %{_mandir}/man1x
|
||||
%{_mandir}/man1/makestrs.1x*
|
||||
%dir %{_mandir}/man3
|
||||
#%dir %{_mandir}/man3x
|
||||
%{_mandir}/man3/*.3x*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
|
||||
- Added "BuildRequires: pkgconfig" for (#193503)
|
||||
- Replace "makeinstall" with "make install DESTDIR=..."
|
||||
- Remove package ownership of mandir/libdir/etc.
|
||||
|
||||
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
|
||||
- Update to 1.0.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user