]> git.pld-linux.org Git - packages/gfax.git/blob - gfax.spec
- rm -f missing
[packages/gfax.git] / gfax.spec
1 Summary:        The GNOME Fax Application
2 Summary(pl):    Aplikacja GNOME do faksów
3 Name:           gfax
4 Version:        0.4.2
5 Release:        3
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://www.cowlug.org/gfax/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-use_AM_GNU_GETTEXT.patch
10 Patch1:         %{name}-add_uk_to_ALL_LINGUAS.aptch
11 Patch2:         %{name}-time.h.patch
12 BuildRequires:  bison
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  gnome-libs-devel
17 BuildRequires:  gnome-print-devel >= 0.28
18 BuildRequires:  libglade-devel
19 URL:            http://www.cowlug.org/gfax/
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr/X11R6
23
24 %description
25 Gfax is a popup tool for easily sending facsimilies by printing to a
26 fax printer.
27
28 Gfax works with GNOME.
29
30 %description -l pl
31 Gfax jest narzêdziem do ³atwego wysy³ania faksów poprzez drukowanie
32 ich na drukarce faksowej. Gfax dzia³a z GNOME.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch1 -p1
38 %patch2 -p1
39
40 %build
41 rm -f missing
42 gettextize --copy --force
43 aclocal -I macros
44 autoconf
45 automake -a -c -f
46
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT \
55         Applicationsdir=%{_applnkdir}/Office/Misc
56
57 gzip -9nf AUTHORS ChangeLog NEWS README FAQ-gfax
58
59 %find_lang %{name} --with-gnome
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc *.gz
67 %attr(755,root,root) %{_bindir}/gfax
68 %{_datadir}/gfax
69 %{_pixmapsdir}/*
70 %{_applnkdir}/Office/Misc/*
This page took 0.084384 seconds and 3 git commands to generate.