]> 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 %include         /usr/lib/rpm/macros.mono
2 Summary:        The GNOME Fax Application
3 Summary(pl.UTF-8):      Aplikacja GNOME do faksów
4 Name:           gfax
5 Version:        0.7.3
6 Release:        4
7 License:        GPL
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)
31
32 %description
33 Gfax is a popup tool for easily sending facsimilies by printing to a
34 fax printer.
35
36 Gfax works with GNOME.
37
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.
41
42 %prep
43 %setup -q -n %{name}
44 %patch0 -p1
45 %patch1 -p1
46 %patch2 -p1
47 %patch3 -p1
48
49 %build
50 %{__libtoolize}
51 %{__aclocal}
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %gconf_schema_install gfax.schemas
71
72 %preun
73 %gconf_schema_uninstall gfax.schemas
74
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
80 %dir %{_libdir}/gfax
81 %attr(755,root,root) %{_libdir}/gfax/gfax.exe
82 %{_datadir}/libgnomeprint/*/models/GNOME-GFAX-PS.xml
83 %{_datadir}/libgnomeprint/*/printers/GFAX.xml
84 %{_pixmapsdir}/*.png
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
This page took 0.050827 seconds and 3 git commands to generate.