]>
Commit | Line | Data |
---|---|---|
ed2697b9 | 1 | %include /usr/lib/rpm/macros.mono |
74ccda85 | 2 | Summary: The GNOME Fax Application |
54d774d4 | 3 | Summary(pl.UTF-8): Aplikacja GNOME do faksów |
ea885cf5 | 4 | Name: gfax |
f5be54eb | 5 | Version: 0.7.3 |
ed2697b9 | 6 | Release: 4 |
285d1612 | 7 | License: GPL |
ea885cf5 | 8 | Group: Applications/Communications |
f5be54eb JB |
9 | Source0: http://gfax.cowlug.org/%{name}-%{version}-1.tar.gz |
10 | # Source0-md5: 59e1430ae0936508ef3814185890213c | |
fa61f938 | 11 | Patch0: %{name}-destdir.patch |
f5be54eb JB |
12 | Patch1: %{name}-desktop.patch |
13 | Patch2: %{name}-paths.patch | |
566582e9 | 14 | Patch3: %{name}-dotnet.patch |
98d4b31d | 15 | URL: http://gfax.cowlug.org/ |
f5be54eb JB |
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 | |
ed2697b9 | 29 | ExcludeArch: alpha i386 sparc sparc64 |
87b1e906 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
74ccda85 | 31 | |
2e67c5b6 | 32 | %description |
285d1612 | 33 | Gfax is a popup tool for easily sending facsimilies by printing to a |
34 | fax printer. | |
2e67c5b6 | 35 | |
36 | Gfax works with GNOME. | |
37 | ||
54d774d4 JR |
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. | |
e54928fd | 41 | |
2e67c5b6 | 42 | %prep |
f5be54eb | 43 | %setup -q -n %{name} |
fa61f938 | 44 | %patch0 -p1 |
b9a1f6b2 | 45 | %patch1 -p1 |
e6163b41 | 46 | %patch2 -p1 |
566582e9 | 47 | %patch3 -p1 |
2e67c5b6 | 48 | |
49 | %build | |
f5be54eb JB |
50 | %{__libtoolize} |
51 | %{__aclocal} | |
52 | %{__autoconf} | |
53 | %{__autoheader} | |
54 | %{__automake} | |
55 | %configure | |
74ccda85 | 56 | %{__make} |
2e67c5b6 | 57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
3b3b1cba | 60 | |
74ccda85 | 61 | %{__make} install \ |
3b3b1cba | 62 | DESTDIR=$RPM_BUILD_ROOT |
63 | ||
f5be54eb | 64 | %find_lang %{name} |
3b3b1cba | 65 | |
98d4b31d JB |
66 | %clean |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
3b3b1cba | 69 | %post |
f5be54eb | 70 | %gconf_schema_install gfax.schemas |
3b3b1cba | 71 | |
72 | %preun | |
f5be54eb | 73 | %gconf_schema_uninstall gfax.schemas |
2e67c5b6 | 74 | |
f5be54eb | 75 | %files -f %{name}.lang |
285d1612 | 76 | %defattr(644,root,root,755) |
98d4b31d | 77 | %doc AUTHORS ChangeLog README INSTALL NEWS TODO |
74ccda85 | 78 | %attr(755,root,root) %{_bindir}/gfax |
3b3b1cba | 79 | %attr(755,root,root) %{_bindir}/gfaxlpr |
f5be54eb JB |
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 | |
98d4b31d | 86 | %{_sysconfdir}/gconf/schemas/*.schemas |
3b3b1cba | 87 | %attr(1777,root,root) %dir %{_var}/spool/gfax |
f5be54eb JB |
88 | %attr(1777,root,root) %dir %{_var}/spool/gfax/doneq |
89 | %attr(1777,root,root) %dir %{_var}/spool/gfax/recq |