fix post installation scripts [release 3.0.3-3mamba;Sun Sep 21 2014]
This commit is contained in:
parent
e18a0ed5f9
commit
4181a50b92
@ -1,7 +1,7 @@
|
||||
%define majver %(echo %version | cut -d. -f 1-2)
|
||||
Name: rhythmbox
|
||||
Version: 3.0.3
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: An integrated music management application
|
||||
Group: Graphical Desktop/Applications/Multimedia
|
||||
Vendor: openmamba
|
||||
@ -273,34 +273,19 @@ done
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
|
||||
/usr/bin/gconftool-2 --makefile-install-rule \
|
||||
%{_sysconfdir}/gconf/schemas/rhythmbox.schemas;
|
||||
killall -HUP gconfd-2;
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||
fi
|
||||
|
||||
%pre
|
||||
if [ "$1" -gt 1 ]; then
|
||||
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
|
||||
/usr/bin/gconftool-2 --makefile-uninstall-rule \
|
||||
%{_sysconfdir}/gconf/schemas/rhythmbox.schemas;
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ "$1" -eq 0 ]; then
|
||||
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
|
||||
/usr/bin/gconftool-2 --makefile-uninstall-rule \
|
||||
%{_sysconfdir}/gconf/schemas/rhythmbox.schemas;
|
||||
if [ $1 -ge 1 ]; then
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||
fi
|
||||
fi
|
||||
:
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||
if [ $1 -eq 0 ]; then
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
fi
|
||||
:
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
@ -460,6 +445,9 @@ fi
|
||||
%{_datadir}/gtk-doc/html/rhythmbox/style.css
|
||||
|
||||
%changelog
|
||||
* Sun Sep 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-3mamba
|
||||
- fix post installation scripts
|
||||
|
||||
* Thu Sep 11 2014 Automatic Build System <autodist@mambasoft.it> 3.0.3-2mamba
|
||||
- rebuilt by autoport with build requirements: libplist-devel>=1.11-1mamba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user