]> git.pld-linux.org Git - packages/gfax.git/blob - gfax.spec
- BR: libglade-gnome-devel
[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:        4
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 URL:            http://www.cowlug.org/gfax/
13 BuildRequires:  bison
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-libs-devel
18 BuildRequires:  gnome-print-devel >= 0.28
19 BuildRequires:  libglade-gnome-devel
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}
43 aclocal -I macros
44 CFLAGS="%{optflags} `pkg-config libglade-gnome --cflags`"
45 %{__autoconf}
46 %{__automake}
47
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT \
56         Applicationsdir=%{_applnkdir}/Office/Misc
57
58 %find_lang %{name} --with-gnome
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README FAQ-gfax
66 %attr(755,root,root) %{_bindir}/gfax
67 %{_datadir}/gfax
68 %{_pixmapsdir}/*
69 %{_applnkdir}/Office/Misc/*
This page took 0.194691 seconds and 4 git commands to generate.