]> git.pld-linux.org Git - packages/gfax.git/blob - gfax.spec
- added using %%{__make} macro.
[packages/gfax.git] / gfax.spec
1 Summary:        The GNOME Fax Application.
2 Name:           gfax
3 Version:        0.2.1
4 Release:        1
5 License:        GPL
6 Group:          Applications/Communications
7 Group(pl):      Aplikacje/Komunikacja
8 Source0:        ftp://raven.cc.mala.bc.ca/pub/Linux/%{name}-%{version}.tar.gz
9 Requires:       gnome-libs >= 1.0.0
10 Requires:       gnome-objc >= 1.0.2
11 URL:            http://www.gmsys.com/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 Obsoletes:      gnome
14
15 %description
16 Gfax is a popup tool for easily sending facsimilies by printing to a
17 fax printer.
18
19 Gfax works with GNOME.
20
21 GNOME is the GNU Network Object Model Environment. That's a fancy
22 name, but really GNOME is a nice GUI desktop environment.
23
24 %description -l pl
25 Gfax jest narzêdziem do ³atwego wysy³ania faksów poprzez drukowanie
26 ich na drukarce faksowej. Gfax dzia³a z GNOME. GNOME to skrót od GNU
27 Network Object Model Environment. Nazwa mo¿e siê wydawaæ nieco dziwna,
28 w rzeczywistosci jednak GNOME jest estetycznym ¶rodowiskiem
29 graficznym.
30
31 %prep
32 %setup -q
33
34 %build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_prefix}
39 %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
40 strip $RPM_BUILD_ROOT%{_bindir}/* || :
41
42 %post
43 # Set up the lpr link
44 BINDIR=/usr/bin
45 LPRBINDIR=/usr/bin
46
47 if [ ! -x $LPRBINDIR/lpr.dist ]; then
48         mv $LPRBINDIR/lpr $LPRBINDIR/lpr.dist
49         ln -s $BINDIR/lpr.gfax $BINDIR/lpr
50         chmod +x $BINDIR/lpr
51 fi
52
53 %postun
54 # Reset the lpr link
55 BINDIR=/usr/bin
56 LPRBINDIR=/usr/bin
57
58 if [ -x $LPRBINDIR/lpr.dist ]; then
59         rm -rf $LPRBINDIR/lpr
60         mv $LPRBINDIR/lpr.dist $LPRBINDIR/lpr
61 fi
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68
69 %doc AUTHORS COPYING ChangeLog NEWS README FAQ-gfax
70 %attr(755,root,root) %{_bindir}/*
71 %{_applnkdir}/Applications/*
72 %{_datadir}/gnome/help/gfax/*
This page took 0.266428 seconds and 3 git commands to generate.