1 Summary: Fax4CUPS - CUPS backend for a serial fax modem
2 Summary(pl): Fax4CUPS - backend CUPS-a do szeregowych fax-modemów
7 Group: Applications/Communications
8 Source0: http://gongolo.usr.dsi.unimi.it/~vigna/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5: 8fec1e26f0b6d1d97fa1ca7aca95dc63
10 URL: http://gongolo.usr.dsi.unimi.it/~vigna/fax4CUPS/
11 BuildRequires: cups-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Fax4CUPS - CUPS backend for a serial fax modem.
21 Fax4CUPS - backend CUPS-a do szeregowych fax-modemów.
23 %package -n cups-backend-fax-compat
24 Summary: Compatibility fax backend
25 Summary(pl): Backend faksowy dla kompatybilno¶ci
26 Group: Applications/Communications
27 Requires: %{name} = %{version}
29 %description -n cups-backend-fax-compat
30 Compatibility fax backend.
32 %description -n cups-backend-fax-compat -l pl
33 Backend faksowy dla kompatybilno¶ci.
35 %package -n cups-backend-efax
37 Summary(pl): Backend do efaksa
38 Group: Applications/Communications
39 Requires: %{name} = %{version}
42 %description -n cups-backend-efax
45 %description -n cups-backend-efax -l pl
48 %package -n cups-backend-hylafax
49 Summary: hylafax backend
50 Summary(pl): Backend do hylafaksa
51 Group: Applications/Communications
52 Requires: %{name} = %{version}
53 Requires: hylafax-client
55 %description -n cups-backend-hylafax
58 %description -n cups-backend-hylafax -l pl
61 %package -n cups-backend-mgetty
62 Summary: mgetty backend
63 Summary(pl): Backend do mgetty
64 Group: Applications/Communications
65 Requires: %{name} = %{version}
68 %description -n cups-backend-mgetty
71 %description -n cups-backend-mgetty -l pl
78 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{_mandir}/man1
81 install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
83 install -d $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
84 install -d $RPM_BUILD_ROOT%(cups-config --datadir)/model
86 install fax efax hylafax mgetty-fax $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
87 install *.ppd $RPM_BUILD_ROOT%(cups-config --datadir)/model
90 rm -rf $RPM_BUILD_ROOT
93 %defattr(644,root,root,755)
96 %files -n cups-backend-fax-compat
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %(cups-config --serverbin)/backend/fax
99 %(cups-config --datadir)/model/fax.ppd
101 %files -n cups-backend-efax
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %(cups-config --serverbin)/backend/efax
104 %(cups-config --datadir)/model/efax.ppd
106 %files -n cups-backend-hylafax
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %(cups-config --serverbin)/backend/hylafax
109 %(cups-config --datadir)/model/hylafax.ppd
111 %files -n cups-backend-mgetty
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %(cups-config --serverbin)/backend/mgetty-fax
114 %(cups-config --datadir)/model/mgetty-fax.ppd