]> git.pld-linux.org Git - packages/gfax.git/commitdiff
- raw version.
authorkloczek <kloczek@pld-linux.org>
Fri, 16 Jul 1999 21:27:38 +0000 (21:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gfax.spec -> 1.1

gfax.spec [new file with mode: 0644]

diff --git a/gfax.spec b/gfax.spec
new file mode 100644 (file)
index 0000000..09abaf1
--- /dev/null
+++ b/gfax.spec
@@ -0,0 +1,75 @@
+# Note that this is NOT a relocatable package
+%define ver      0.2.1
+%define rel      1
+%define prefix   /usr
+
+Summary: The GNOME Fax Application.
+Name: gfax
+Version: %ver
+Release: %rel
+Copyright: GPL
+Group: Applications/Communications
+Source: ftp://raven.cc.mala.bc.ca/pub/Linux/gfax-%{ver}.tar.gz
+
+BuildRoot: /var/tmp/gfax-%{PACKAGE_VERSION}-root
+Obsoletes: gnome
+
+URL: http://www.gmsys.com
+Docdir: %{prefix}/doc
+
+
+Requires: gnome-libs >= 1.0.0
+Requires: gnome-objc >= 1.0.2
+
+%description
+Gfax is a popup tool for easily sending
+facsimilies by printing to a fax printer.
+
+Gfax works with GNOME.
+
+GNOME is the GNU Network Object Model Environment. That's
+a fancy name, but really GNOME is a nice GUI desktop 
+environment. 
+
+%prep
+%setup
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{prefix}
+make prefix=$RPM_BUILD_ROOT%{prefix} install
+strip $RPM_BUILD_ROOT%{prefix}/bin/* || :
+
+%post
+# Set up the lpr link
+BINDIR=/usr/bin
+LPRBINDIR=/usr/bin
+
+if [ ! -x $LPRBINDIR/lpr.dist ]; then
+        mv $LPRBINDIR/lpr $LPRBINDIR/lpr.dist
+        ln -s $BINDIR/lpr.gfax $BINDIR/lpr
+        chmod +x $BINDIR/lpr
+fi
+
+%postun
+# Reset the lpr link
+BINDIR=/usr/bin
+LPRBINDIR=/usr/bin
+
+if [ -x $LPRBINDIR/lpr.dist ]; then
+        rm -rf $LPRBINDIR/lpr
+        mv $LPRBINDIR/lpr.dist $LPRBINDIR/lpr
+fi
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-, root, root)
+
+%doc AUTHORS COPYING ChangeLog NEWS README FAQ-gfax
+%{prefix}/bin/*
+%{prefix}/share/gnome/apps/Applications/*
+%{prefix}/share/gnome/help/gfax/*
This page took 0.111542 seconds and 4 git commands to generate.