]>
Commit | Line | Data |
---|---|---|
cb67568d | 1 | Summary: Fax4CUPS - CUPS backend for a serial fax modem |
2 | Name: fax4CUPS | |
3 | Version: 1.22 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Applications/Communications | |
7 | Source0: http://gongolo.usr.dsi.unimi.it/~vigna/%{name}/%{name}-%{version}.tar.gz | |
8 | URL: http://gongolo.usr.dsi.unimi.it/~vigna/%{name}/ | |
9 | Requires: cups | |
10 | BuildArch: noarch | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | Fax4CUPS - CUPS backend for a serial fax modem | |
15 | ||
16 | %package compat | |
17 | Summary: Compatibility fax backend | |
18 | Group: Applications/Communications | |
b7ee090c | 19 | Requires: %{name} = %{version} |
cb67568d | 20 | |
21 | %description compat | |
22 | Compatibility fax backend. | |
23 | ||
24 | %package efax | |
25 | Summary: efax backend | |
26 | Group: Applications/Communications | |
b7ee090c | 27 | Requires: %{name} = %{version} |
cb67568d | 28 | |
29 | %description efax | |
30 | efax backend | |
31 | ||
32 | %package hylafax | |
33 | Summary: hylafax backend | |
34 | Group: Applications/Communications | |
b7ee090c | 35 | Requires: %{name} = %{version} |
36 | Requires: hylafax-client | |
cb67568d | 37 | |
38 | %description hylafax | |
39 | hylafax backend | |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | ||
44 | %build | |
45 | exit 0 | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 | |
51 | install *.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
52 | ||
53 | install -d $RPM_BUILD_ROOT%{_libdir}/cups/backend | |
54 | install -d $RPM_BUILD_ROOT%{_datadir}/cups/model | |
55 | ||
56 | install fax efax hylafax $RPM_BUILD_ROOT%{_libdir}/cups/backend | |
57 | install *.ppd $RPM_BUILD_ROOT%{_datadir}/cups/model | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %{_mandir}/man1/* | |
65 | ||
66 | %files compat | |
67 | %defattr(644,root,root,755) | |
68 | %attr(755,root,root) %{_libdir}/cups/backend/fax | |
69 | %{_datadir}/cups/model/fax.ppd | |
70 | ||
71 | %files efax | |
72 | %defattr(644,root,root,755) | |
73 | %attr(755,root,root) %{_libdir}/cups/backend/efax | |
74 | %{_datadir}/cups/model/efax.ppd | |
75 | ||
76 | %files hylafax | |
77 | %defattr(644,root,root,755) | |
78 | %attr(755,root,root) %{_libdir}/cups/backend/hylafax | |
79 | %{_datadir}/cups/model/hylafax.ppd |