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