diff --git a/clutter.spec b/clutter.spec index a62338a..5c8766b 100644 --- a/clutter.spec +++ b/clutter.spec @@ -1,6 +1,6 @@ Name: clutter Version: 1.0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open Source software library for creating rich graphical user interfaces Group: Development/Libraries @@ -60,23 +60,25 @@ This package contains documentation for clutter. %build %configure --enable-gtk-doc --enable-introspection -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install -rm -rf $RPM_BUILD_ROOT -#make DESTDIR=$RPM_BUILD_ROOT install -make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c" +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} INSTALL='install -p' + +#Remove libtool archives. +find %{buildroot} -name '*.la' -exec rm -f {} ';' %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README -%exclude %{_libdir}/*.la %{_libdir}/*.so.0 %{_libdir}/*.so.0.* %{_libdir}/girepository-1.0/*.typelib @@ -95,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-doc/html/cogl %changelog +* Thu Jan 7 2010 Peter Robinson 1.0.8-2 +- A few minor spec cleanups + * Mon Jan 4 2010 Peter Robinson 1.0.8-1 - Update to 1.0.8