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)
|
%define majver %(echo %version | cut -d. -f 1-2)
|
||||||
Name: rhythmbox
|
Name: rhythmbox
|
||||||
Version: 3.0.3
|
Version: 3.0.3
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: An integrated music management application
|
Summary: An integrated music management application
|
||||||
Group: Graphical Desktop/Applications/Multimedia
|
Group: Graphical Desktop/Applications/Multimedia
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -273,34 +273,19 @@ done
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` \
|
if [ $1 -ge 1 ]; then
|
||||||
/usr/bin/gconftool-2 --makefile-install-rule \
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
%{_sysconfdir}/gconf/schemas/rhythmbox.schemas;
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
killall -HUP gconfd-2;
|
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||||
touch --no-create %{_datadir}/icons/hicolor
|
fi
|
||||||
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;
|
|
||||||
fi
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
touch --no-create %{_datadir}/icons/hicolor
|
if [ $1 -eq 0 ]; then
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
/usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
||||||
fi
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -460,6 +445,9 @@ fi
|
|||||||
%{_datadir}/gtk-doc/html/rhythmbox/style.css
|
%{_datadir}/gtk-doc/html/rhythmbox/style.css
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- rebuilt by autoport with build requirements: libplist-devel>=1.11-1mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user