1 # Note that this is NOT a relocatable package
6 Summary: The GNOME Fax Application.
11 Group: Applications/Communications
12 Source: ftp://raven.cc.mala.bc.ca/pub/Linux/gfax-%{ver}.tar.gz
14 BuildRoot: /var/tmp/gfax-%{PACKAGE_VERSION}-root
17 URL: http://www.gmsys.com
21 Requires: gnome-libs >= 1.0.0
22 Requires: gnome-objc >= 1.0.2
25 Gfax is a popup tool for easily sending
26 facsimilies by printing to a fax printer.
28 Gfax works with GNOME.
30 GNOME is the GNU Network Object Model Environment. That's
31 a fancy name, but really GNOME is a nice GUI desktop
40 rm -rf $RPM_BUILD_ROOT
41 mkdir -p $RPM_BUILD_ROOT%{prefix}
42 make prefix=$RPM_BUILD_ROOT%{prefix} install
43 strip $RPM_BUILD_ROOT%{prefix}/bin/* || :
50 if [ ! -x $LPRBINDIR/lpr.dist ]; then
51 mv $LPRBINDIR/lpr $LPRBINDIR/lpr.dist
52 ln -s $BINDIR/lpr.gfax $BINDIR/lpr
61 if [ -x $LPRBINDIR/lpr.dist ]; then
63 mv $LPRBINDIR/lpr.dist $LPRBINDIR/lpr
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(-, root, root)
72 %doc AUTHORS COPYING ChangeLog NEWS README FAQ-gfax
74 %{prefix}/share/gnome/apps/Applications/*
75 %{prefix}/share/gnome/help/gfax/*