- Install schemas and update desktop database

This commit is contained in:
Marco Pesenti Gritti 2005-02-09 14:08:30 +00:00
parent 9d66a114b0
commit c44955ca10

View File

@ -33,12 +33,16 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
rm -rf $RPM_BUILD_ROOT
%post
/usr/bin/update-desktop-database /usr/share/applications
exit 0
update-desktop-database %{_datadir}/applications
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="evince.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
done
%postun
/usr/bin/update-desktop-database /usr/share/applications
exit 0
update-desktop-database %{_datadir}/applications
%files -f %{name}.lang
%defattr(-,root,root,-)
@ -46,11 +50,12 @@ exit 0
%{_bindir}/*
%{_datadir}/evince
%{_datadir}/applications/*.desktop
%{_sysconfdir}/gconf/schemas/evince.schemas
%changelog
* Tue Feb 9 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.4-1
- Update to 0.1.4
- Install schemas and update desktop database
* Tue Feb 4 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.3-1
- Update to 0.1.3