Name: gnome-theme-openmamba Version: 0.2 Release: 4mamba Summary: openmamba default theme for the Gnome desktop environment Group: Graphical Desktop/Look 'n' feel Vendor: openmamba Distribution: openmamba Packager: Filippo Bedendo Bordon URL: http://www.openmamba.it/ Source: gnome-theme-openmamba-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END Requires: gnome-themes Requires: QtCurve-Gtk2 Requires(post):GConf BuildRoot: %{_tmppath}/%{name}-%{version}-root %description openmamba default theme for the Gnome desktop environment. %prep %setup -q %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %post if [ $1 -ge 1 ]; then gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --unset /desktop/gnome/background/picture_filename gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /desktop/gnome/background/picture_filename /usr/share/pixmaps/backgrounds/gnome/openmamba-green/openmamba-green.jpg gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /desktop/gnome/background/picture_options stretched fi : %postun if [ $1 -eq 0 ]; then gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --unset /desktop/gnome/background/picture_filename gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --unset /desktop/gnome/background/picture_options fi : %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_datadir}/pixmaps/backgrounds/gnome/openmamba-green/openmamba-green.jpg %{_datadir}/gnome-background-properties/gnome-openmamba-green.xml %{_datadir}/themes/openmamba-green/gtk-2.0/gtkrc %{_datadir}/themes/openmamba-green/index.theme %{_datadir}/themes/openmamba-green/metacity-1/metacity-theme-1.xml %changelog * Tue Oct 11 2011 Silvan Calarco 0.2-4mamba - set background image as defaults, not mandatory. Also set 'stretched' as default picture_options * Sun Sep 25 2011 Silvan Calarco 0.2-3mamba - added post requirement for GConf; fixed package description * Sat Sep 24 2011 Silvan Calarco 0.2-2mamba - set system-wide default background for theme using gconf in %post script - added requirement for QtCurve-Gtk2 * Sat Sep 24 2011 Silvan Calarco 0.2-1mamba - update to 0.2 * Sat Sep 24 2011 Silvan Calarco 0.1-2mamba - added requirement for gnome-themes * Sat Sep 10 2011 Filippo Bedendo Bordon 0.1-1mamba - package created by autospec