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