abiword redhat 7.0 RPM problem


Subject: abiword redhat 7.0 RPM problem
From: Kevin Vajk (kvajk@ricochet.net)
Date: Thu Jan 11 2001 - 13:26:32 CST


In case you're not on abiword-user, several of us have been trying
to install 0.7.12 on redhat linux 7.0, and running into font issues.
The problem turns out to be the lack of postinstall/postuninstall
scripts in the abiword RPM. The RPM packaged by redhat contains
something like:

%post
/usr/sbin/chkfontpath -q -a /usr/share/abisuite/fonts

%postun
if [ "$1" = "0" ]; then
        /usr/sbin/chkfontpath -q -r /usr/share/abisuite/fonts
fi

If others agree, I'd like us to add this to our package. (There's
a patch below.)

By the way, the redhat source RPM for 0.7.10 has all kinds of
interesting stuff in it. For one thing, their spec file is very
different from ours. Also, they have two patches, one of which
is for IA64. We might want to fold some of this stuff in...

- Kevin Vajk
  <kvajk@ricochet.net>

? abi/src/Linux_2.2.16-22enterprise_i386_DBG
? abi/src/Linux_2.2.16-22enterprise_i386_OBJ
Index: abi/src/pkg/linux/rpm/abisuite.spec-template
===================================================================
RCS file: /cvsroot/abi/src/pkg/linux/rpm/abisuite.spec-template,v
retrieving revision 1.12
diff -u -r1.12 abisuite.spec-template
--- abi/src/pkg/linux/rpm/abisuite.spec-template 2000/12/18 18:25:49 1.12
+++ abi/src/pkg/linux/rpm/abisuite.spec-template 2001/01/11 19:02:25
@@ -82,6 +82,14 @@
 chown root.root /usr/share/gnome/apps/Applications/abiword.desktop
 chmod 0644 /usr/share/gnome/apps/Applications/abiword.desktop
 
+%post
+/usr/sbin/chkfontpath -q -a /usr/share/abisuite/fonts
+
+%postun
+if [ "$1" = "0" ]; then
+ /usr/sbin/chkfontpath -q -r /usr/share/abisuite/fonts
+fi
+
 %files
 /usr/bin/AbiWord
 /usr/bin/abiword



This archive was generated by hypermail 2b25 : Thu Jan 11 2001 - 13:34:43 CST