]>
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 | |
19 | Requires: %{name}-%{version} | |
20 | ||
21 | %description compat | |
22 | Compatibility fax backend. | |
23 | ||
24 | %package efax | |
25 | Summary: efax backend | |
26 | Group: Applications/Communications | |
27 | Requires: %{name}-%{version} | |
28 | ||
29 | %description efax | |
30 | efax backend | |
31 | ||
32 | %package hylafax | |
33 | Summary: hylafax backend | |
34 | Group: Applications/Communications | |
35 | Requires: %{name}-%{version} | |
36 | ||
37 | %description hylafax | |
38 | hylafax backend | |
39 | ||
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | exit 0 | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 | |
50 | install *.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
51 | ||
52 | install -d $RPM_BUILD_ROOT%{_libdir}/cups/backend | |
53 | install -d $RPM_BUILD_ROOT%{_datadir}/cups/model | |
54 | ||
55 | install fax efax hylafax $RPM_BUILD_ROOT%{_libdir}/cups/backend | |
56 | install *.ppd $RPM_BUILD_ROOT%{_datadir}/cups/model | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %{_mandir}/man1/* | |
64 | ||
65 | %files compat | |
66 | %defattr(644,root,root,755) | |
67 | %attr(755,root,root) %{_libdir}/cups/backend/fax | |
68 | %{_datadir}/cups/model/fax.ppd | |
69 | ||
70 | %files efax | |
71 | %defattr(644,root,root,755) | |
72 | %attr(755,root,root) %{_libdir}/cups/backend/efax | |
73 | %{_datadir}/cups/model/efax.ppd | |
74 | ||
75 | %files hylafax | |
76 | %defattr(644,root,root,755) | |
77 | %attr(755,root,root) %{_libdir}/cups/backend/hylafax | |
78 | %{_datadir}/cups/model/hylafax.ppd |