- A few minor spec cleanups

This commit is contained in:
Peter Robinson 2010-01-07 00:17:27 +00:00
parent 562e3d0655
commit 8357746d57

View File

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