diff --git a/libgsf.spec b/libgsf.spec index 4a0b106..d6ed512 100644 --- a/libgsf.spec +++ b/libgsf.spec @@ -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 1.12.0-1 - bump to latest version +- clean spec * Wed Mar 2 2005 Caolan McNamara 1.11.1-2 - rebuild with gcc4