]> git.pld-linux.org Git - packages/gfax.git/blob - gfax.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/gfax.git] / gfax.spec
1 Summary:        The GNOME Fax Application
2 Summary(pl.UTF-8):      Aplikacja GNOME do faksów
3 Name:           gfax
4 Version:        0.7.3
5 Release:        4
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://gfax.cowlug.org/%{name}-%{version}-1.tar.gz
9 # Source0-md5:  59e1430ae0936508ef3814185890213c
10 Patch0:         %{name}-destdir.patch
11 Patch1:         %{name}-desktop.patch
12 Patch2:         %{name}-paths.patch
13 Patch3:         %{name}-dotnet.patch
14 URL:            http://gfax.cowlug.org/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  dotnet-dbus-sharp-devel
18 # wants {gtk,gnome,gconf,glade}-sharp
19 BuildRequires:  dotnet-gtk-sharp-gnome-devel >= 0.93
20 BuildRequires:  intltool >= 0.25
21 # for directory name detection
22 BuildRequires:  libgnomeprint-devel
23 BuildRequires:  libtool
24 BuildRequires:  mono-csharp >= 0.93
25 BuildRequires:  pkgconfig
26 BuildRequires:  rpmbuild(macros) >= 1.198
27 %requires_eq    libgnomeprint
28 ExcludeArch:    alpha i386 sparc sparc64
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Gfax is a popup tool for easily sending facsimilies by printing to a
33 fax printer.
34
35 Gfax works with GNOME.
36
37 %description -l pl.UTF-8
38 Gfax jest narzędziem do łatwego wysyłania faksów poprzez drukowanie
39 ich na drukarce faksowej. Gfax działa z GNOME.
40
41 %prep
42 %setup -q -n %{name}
43 %patch0 -p1
44 %patch1 -p1
45 %patch2 -p1
46 %patch3 -p1
47
48 %build
49 %{__libtoolize}
50 %{__aclocal}
51 %{__autoconf}
52 %{__autoheader}
53 %{__automake}
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 %gconf_schema_install gfax.schemas
70
71 %preun
72 %gconf_schema_uninstall gfax.schemas
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog README INSTALL NEWS TODO
77 %attr(755,root,root) %{_bindir}/gfax
78 %attr(755,root,root) %{_bindir}/gfaxlpr
79 %dir %{_libdir}/gfax
80 %attr(755,root,root) %{_libdir}/gfax/gfax.exe
81 %{_datadir}/libgnomeprint/*/models/GNOME-GFAX-PS.xml
82 %{_datadir}/libgnomeprint/*/printers/GFAX.xml
83 %{_pixmapsdir}/*.png
84 %{_desktopdir}/gfax.desktop
85 %{_sysconfdir}/gconf/schemas/*.schemas
86 %attr(1777,root,root) %dir %{_var}/spool/gfax
87 %attr(1777,root,root) %dir %{_var}/spool/gfax/doneq
88 %attr(1777,root,root) %dir %{_var}/spool/gfax/recq
This page took 0.07399 seconds and 3 git commands to generate.