- Install schemas and update desktop database
This commit is contained in:
parent
9d66a114b0
commit
c44955ca10
15
evince.spec
15
evince.spec
@ -33,12 +33,16 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/usr/bin/update-desktop-database /usr/share/applications
|
update-desktop-database %{_datadir}/applications
|
||||||
exit 0
|
|
||||||
|
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
|
%postun
|
||||||
/usr/bin/update-desktop-database /usr/share/applications
|
update-desktop-database %{_datadir}/applications
|
||||||
exit 0
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -46,11 +50,12 @@ exit 0
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_datadir}/evince
|
%{_datadir}/evince
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
|
%{_sysconfdir}/gconf/schemas/evince.schemas
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Feb 9 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.4-1
|
* Tue Feb 9 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.4-1
|
||||||
- Update to 0.1.4
|
- 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
|
* Tue Feb 4 2005 Marco Pesenti Gritti <mpg@redhat.com> - 0.1.3-1
|
||||||
- Update to 0.1.3
|
- Update to 0.1.3
|
||||||
|
Loading…
Reference in New Issue
Block a user