[muffin] update scriptlets

leigh123linux leigh123linux at fedoraproject.org
Tue Aug 14 16:45:37 UTC 2012


commit 90f95f74c96cde177aa0b1d2c18fcb6bc41c2d90
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Tue Aug 14 17:45:32 2012 +0100

    update scriptlets
    
    - move gir file to devel

 muffin.spec |   25 ++++++++++++++++---------
 1 files changed, 16 insertions(+), 9 deletions(-)
---
diff --git a/muffin.spec b/muffin.spec
index 247b102..b1cda41 100644
--- a/muffin.spec
+++ b/muffin.spec
@@ -2,7 +2,7 @@
 
 Name:          muffin
 Version:       1.0.6
-Release:       2%{?dist}
+Release:       3%{?dist}
 Summary:       Window and compositing manager based on Clutter
 
 Group:         User Interface/Desktops
@@ -102,12 +102,12 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
 
 %postun
 /sbin/ldconfig
-if [ $1 -eq 0 ]; then
-  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 fi
 
 %posttrans
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 %files -f %{name}.lang
 %doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt
@@ -117,9 +117,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %{_bindir}/muffin-message
 %{_datadir}/applications/*.desktop
 %{_datadir}/gnome/wm-properties/muffin-wm.desktop
-%{_datadir}/muffin
-%{_libdir}/lib*.so.*
-%{_libdir}/muffin/
+%{_datadir}/muffin/
+%{_libdir}/libmuffin.so.*
+%dir %{_libdir}/muffin/
+%{_libdir}/muffin/Meta-3.0.typelib
+%{_libdir}/muffin/plugins/
 %{_datadir}/GConf/gsettings/muffin-schemas.convert
 %{_datadir}/glib-2.0/schemas/org.cinnamon.muffin.gschema.xml
 %{_datadir}/gnome-control-center/keybindings/50-muffin-windows.xml
@@ -127,13 +129,18 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %files devel
 %{_bindir}/muffin-theme-viewer
 %{_bindir}/muffin-window-demo
-%{_includedir}/*
-%{_libdir}/lib*.so
+%{_includedir}/muffin/
+%{_libdir}/libmuffin.so
+%{_libdir}/muffin/Meta-3.0.gir
 %{_libdir}/pkgconfig/*
 %doc %{_mandir}/man1/muffin-theme-viewer.1.*
 %doc %{_mandir}/man1/muffin-window-demo.1.*
 
 %changelog
+* Tue Aug 14 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.0.6-3
+- update scriptlets
+- move gir file to devel
+
 * Tue Aug 14 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.0.6-2
 - Fix unused-direct-shlib-dependency rpmlint warnings
 - remove .gz extension from the man files


More information about the scm-commits mailing list