SPECS: compiz.spec - fix broken gconf schemas (un)installation - p...

megabajt megabajt at pld-linux.org
Sat Sep 29 23:00:09 CEST 2007


Author: megabajt                     Date: Sat Sep 29 21:00:09 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix broken gconf schemas (un)installation
- package missing files

---- Files affected:
SPECS:
   compiz.spec (1.77 -> 1.78) 

---- Diffs:

================================================================
Index: SPECS/compiz.spec
diff -u SPECS/compiz.spec:1.77 SPECS/compiz.spec:1.78
--- SPECS/compiz.spec:1.77	Fri Sep 21 22:26:14 2007
+++ SPECS/compiz.spec	Sat Sep 29 23:00:03 2007
@@ -194,6 +194,8 @@
 %description kde-decorator -l pl.UTF-8
 Dekorator okien dla KDE.
 
+%define	plugins annotate blur clone core cube dbus decoration fade fs gconf glib ini inotify kconfig minimize move place plane png regex resize rotate scale screenshot svg switcher video water wobbly zoom
+
 %prep
 %setup -q
 %patch0 -p1
@@ -238,10 +240,14 @@
 %postun	libs -p /sbin/ldconfig
 
 %post gconf
-%gconf_schema_install
+for p in %{plugins}; do
+	%gconf_schema_install compiz-$p.schemas
+done
 
 %preun gconf
-%gconf_schema_uninstall
+for p in %{plugins}; do
+	%gconf_schema_uninstall compiz-$p.schemas
+done
 
 %if %{with gconf}
 %post gtk-decorator
@@ -260,6 +266,10 @@
 %{?with_gconf:%exclude %{_libdir}/compiz/libgconf.so}
 %{?with_kde:%exclude %{_libdir}/compiz/libkconfig.so}
 %{_datadir}/compiz
+%if %{with gnome}
+%{_datadir}/gnome-control-center/keybindings/50-compiz-desktop-key.xml
+%{_datadir}/gnome-control-center/keybindings/50-compiz-key.xml
+%endif
 %exclude %{_datadir}/compiz/fs.xml
 %exclude %{_datadir}/compiz/gconf.xml
 %exclude %{_datadir}/compiz/kconfig.xml
@@ -307,7 +317,7 @@
 %{_pkgconfigdir}/compiz-kconfig.pc
 %endif
 
-%if %{with gnome}
+%if %{with gnome} && %{with gtk}
 %files gnome-settings
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/window-manager-settings/libcompiz.so
@@ -335,6 +345,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.78  2007/09/29 21:00:03  megabajt
+- fix broken gconf schemas (un)installation
+- package missing files
+
 Revision 1.77  2007/09/21 20:26:14  blues
 - rel.4 - no heliodor and no aquamarine -> obsolete them.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/compiz.spec?r1=1.77&r2=1.78&f=u



More information about the pld-cvs-commit mailing list