clean spec

This commit is contained in:
Caolan McNamara 2005-05-31 09:49:18 +00:00
parent 49230ba6c5
commit 807f9fd278

View File

@ -5,7 +5,6 @@ Release: 1
Group: System Environment/Libraries
License: LGPL
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.11/%{name}-%{version}.tar.bz2
Patch0: libgsf-1.9.0-nodocs.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: glib2 >= 2.2.0
BuildRequires: glib2-devel >= 2.2.0
@ -32,18 +31,14 @@ Libraries, headers, and support files necessary to compile applications using li
%prep
%setup -q
%patch0 -p1 -b .nodocs
%build
libtoolize --force --copy
%configure --disable-gtk-doc
export tagname=CC
make LIBTOOL=/usr/bin/libtool %{?_smp_mflags}
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export tagname=CC
%makeinstall LIBTOOL=/usr/bin/libtool
%makeinstall
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
@ -62,7 +57,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/libgsf-1
#{_datadir}/doc/libgsf/html/*
%{_datadir}/gtk-doc/html/gsf
%clean
rm -r $RPM_BUILD_ROOT
@ -70,6 +65,7 @@ rm -r $RPM_BUILD_ROOT
%changelog
* Wed Mar 2 2005 Caolan McNamara <caolanm@redhat.com> 1.12.0-1
- bump to latest version
- clean spec
* Wed Mar 2 2005 Caolan McNamara <caolanm@redhat.com> 1.11.1-2
- rebuild with gcc4