]> git.pld-linux.org Git - packages/gfax.git/blame - gfax.spec
- partialy rewrited (NFY),
[packages/gfax.git] / gfax.spec
CommitLineData
ea885cf5 1Summary: The GNOME Fax Application.
2Name: gfax
3Version: 0.2.1
4Release: 1
5Copyright: GPL
6Group: Applications/Communications
7Source: ftp://raven.cc.mala.bc.ca/pub/Linux/%{name}-%{version}.tar.gz
8Requires: gnome-libs >= 1.0.0
9Requires: gnome-objc >= 1.0.2
10URL: http://www.gmsys.com/
11BuildRoot: /tmp/%{name}-%{version}-root
12Obsoletes: gnome
2e67c5b6 13
14%description
ea885cf5 15Gfax is a popup tool for easily sending facsimilies by printing to a fax
16printer.
2e67c5b6 17
18Gfax works with GNOME.
19
ea885cf5 20GNOME is the GNU Network Object Model Environment. That's a fancy name, but
21really GNOME is a nice GUI desktop environment.
2e67c5b6 22
23%prep
ea885cf5 24%setup -q
2e67c5b6 25
26%build
27
28%install
29rm -rf $RPM_BUILD_ROOT
30mkdir -p $RPM_BUILD_ROOT%{prefix}
31make prefix=$RPM_BUILD_ROOT%{prefix} install
32strip $RPM_BUILD_ROOT%{prefix}/bin/* || :
33
34%post
35# Set up the lpr link
36BINDIR=/usr/bin
37LPRBINDIR=/usr/bin
38
39if [ ! -x $LPRBINDIR/lpr.dist ]; then
40 mv $LPRBINDIR/lpr $LPRBINDIR/lpr.dist
41 ln -s $BINDIR/lpr.gfax $BINDIR/lpr
42 chmod +x $BINDIR/lpr
43fi
44
45%postun
46# Reset the lpr link
47BINDIR=/usr/bin
48LPRBINDIR=/usr/bin
49
50if [ -x $LPRBINDIR/lpr.dist ]; then
51 rm -rf $LPRBINDIR/lpr
52 mv $LPRBINDIR/lpr.dist $LPRBINDIR/lpr
53fi
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(-, root, root)
60
61%doc AUTHORS COPYING ChangeLog NEWS README FAQ-gfax
62%{prefix}/bin/*
63%{prefix}/share/gnome/apps/Applications/*
64%{prefix}/share/gnome/help/gfax/*
This page took 0.077024 seconds and 4 git commands to generate.