- Added "BuildRequires: pkgconfig" for (#193421)

- Replace "makeinstall" with "make install DESTDIR=..."
This commit is contained in:
mharris 2006-06-06 01:47:41 +00:00
parent 39c0ad2890
commit e683021866

View File

@ -1,13 +1,14 @@
Summary: X.Org X11 libSM runtime library
Name: libSM
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: xorg-x11-xtrans-devel
BuildRequires: libICE-devel
@ -46,7 +47,7 @@ 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
@ -79,6 +80,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/sm.pc
%changelog
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
- Added "BuildRequires: pkgconfig" for (#193421)
- Replace "makeinstall" with "make install DESTDIR=..."
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
- Update to 1.0.1