From 3bc11a7bbf1cfecfd7ad04b25b0275f36737184a Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 28 Mar 2003 03:16:34 +0000 Subject: [PATCH] install manual for RPM svn: r1409 --- gramps2/gramps.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gramps2/gramps.spec b/gramps2/gramps.spec index 7fe4fd254..12c856106 100644 --- a/gramps2/gramps.spec +++ b/gramps2/gramps.spec @@ -20,7 +20,7 @@ Requires: gnome-python2-canvas >= 1.99 Requires: pygtk2 >= 1.99 Requires: pygtk2-libglade >= 1.99 -BuildRequires: scrollkeeper >= 0.1.4 +BuildRequires: scrollkeeper >= 0.3.5 BuildRequires: automake >= 1.6 BuildRequires: autoconf >= 2.52 @@ -53,12 +53,11 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) -%doc README COPYING TODO INSTALL +%doc README COPYING TODO INSTALL COPYING-DOCS %{prefix}/bin/gramps -%{_datadir}/gnome/help/gramps-manual/C/* -%{_datadir}/gnome/help/extending-gramps/C/* +%{_datadir}/gramps/doc/gramps-manual/C/* %{_datadir}/gnome/apps/Applications/gramps.desktop %{_datadir}/pixmaps/gramps.png @@ -86,7 +85,15 @@ rm -rf $RPM_BUILD_ROOT %{prefix}/man/man1/gramps.1* %{_datadir}/omf/gramps + +%post +if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q -o %{_datadir}/omf/gramps; fi + +%postun +if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi %changelog +* Mon Mar 24 2003 Alex Roitman +- update scrollkeeper dependencies and add post and postun to enable install on a machine without scrollkeeper * Fri Jun 14 2002 Donald Peterson - add scrollkeeper dependencies and some file cleanup