diff --git a/evince.spec b/evince.spec index 86e344a..80d810a 100644 --- a/evince.spec +++ b/evince.spec @@ -9,7 +9,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gtk2-devel >= 2.6.0 BuildRequires: poppler-devel BuildRequires: desktop-file-utils +BuildRequires: scrollkeeper Prereq: /usr/bin/update-desktop-database +PreReq: scrollkeeper >= 0.1.4 Requires: gtk2 >= 2.6.0 Requires: poppler @@ -29,6 +31,8 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications +/bin/rm -rf $RPM_BUILD_ROOT/var/scrollkeeper + %find_lang %name %clean @@ -42,9 +46,11 @@ SCHEMAS="evince.schemas evince-thumbnailer.schemas" for S in $SCHEMAS; do gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null done +scrollkeeper-update %postun update-desktop-database %{_datadir}/applications +scrollkeeper-update %files -f %{name}.lang %defattr(-,root,root,-) @@ -53,10 +59,13 @@ update-desktop-database %{_datadir}/applications %{_datadir}/evince %{_datadir}/applications/*.desktop %{_sysconfdir}/gconf/schemas/*.schemas +%{_datadir}/gnome/help/evince +%{_datadir}/omf/evince %changelog * Sat Apr 23 2005 Marco Pesenti Gritti - 0.2.1-1 - Update to 0.2.1 +- Add help support * Wed Apr 6 2005 Marco Pesenti Gritti - 0.2.0-1 - Update to 0.2.0