]> git.pld-linux.org Git - packages/gfax.git/blob - gfax.spec
ec9039294a93836cbd3bc110a56b8cf441d26def
[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:        ftp://raven.cc.mala.bc.ca/pub/Linux/%{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.gmsys.com/gnome-gfax.html
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 aclocal -I macros
42 autoconf
43 automake -a -c -f
44 gettextize --copy --force
45
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         Applicationsdir=%{_applnkdir}/Office/Misc
55
56 gzip -9nf AUTHORS ChangeLog NEWS README FAQ-gfax
57
58 %find_lang %{name} --with-gnome
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc *.gz
66 %attr(755,root,root) %{_bindir}/gfax
67 %{_datadir}/gfax
68 %{_pixmapsdir}/*
69 %{_applnkdir}/Office/Misc/*
This page took 0.134248 seconds and 2 git commands to generate.