1 %include /usr/lib/rpm/macros.mono
2 Summary: The GNOME Fax Application
3 Summary(pl.UTF-8): Aplikacja GNOME do faksów
8 Group: Applications/Communications
9 Source0: http://gfax.cowlug.org/%{name}-%{version}-1.tar.gz
10 # Source0-md5: 59e1430ae0936508ef3814185890213c
11 Patch0: %{name}-destdir.patch
12 Patch1: %{name}-desktop.patch
13 Patch2: %{name}-paths.patch
14 Patch3: %{name}-dotnet.patch
15 URL: http://gfax.cowlug.org/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: dotnet-dbus-sharp-devel
19 # wants {gtk,gnome,gconf,glade}-sharp
20 BuildRequires: dotnet-gtk-sharp-gnome-devel >= 0.93
21 BuildRequires: intltool >= 0.25
22 # for directory name detection
23 BuildRequires: libgnomeprint-devel
24 BuildRequires: libtool
25 BuildRequires: mono-csharp >= 0.93
26 BuildRequires: pkgconfig
27 BuildRequires: rpmbuild(macros) >= 1.198
28 %requires_eq libgnomeprint
29 ExcludeArch: alpha i386 sparc sparc64
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Gfax is a popup tool for easily sending facsimilies by printing to a
36 Gfax works with GNOME.
38 %description -l pl.UTF-8
39 Gfax jest narzędziem do łatwego wysyłania faksów poprzez drukowanie
40 ich na drukarce faksowej. Gfax działa z GNOME.
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
67 rm -rf $RPM_BUILD_ROOT
70 %gconf_schema_install gfax.schemas
73 %gconf_schema_uninstall gfax.schemas
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog README INSTALL NEWS TODO
78 %attr(755,root,root) %{_bindir}/gfax
79 %attr(755,root,root) %{_bindir}/gfaxlpr
81 %attr(755,root,root) %{_libdir}/gfax/gfax.exe
82 %{_datadir}/libgnomeprint/*/models/GNOME-GFAX-PS.xml
83 %{_datadir}/libgnomeprint/*/printers/GFAX.xml
85 %{_desktopdir}/gfax.desktop
86 %{_sysconfdir}/gconf/schemas/*.schemas
87 %attr(1777,root,root) %dir %{_var}/spool/gfax
88 %attr(1777,root,root) %dir %{_var}/spool/gfax/doneq
89 %attr(1777,root,root) %dir %{_var}/spool/gfax/recq