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: 0a7884a59986bd68686077e67ac4ffba
10 URL: http://gongolo.usr.dsi.unimi.it/~vigna/fax4CUPS/
11 BuildRequires: cups-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Fax4CUPS - CUPS backend for a serial fax modem.
20 Fax4CUPS - backend CUPS-a do szeregowych fax-modemów.
22 %package -n cups-backend-fax-compat
23 Summary: Compatibility fax backend
24 Summary(pl): Backend faksowy dla kompatybilno¶ci
25 Group: Applications/Communications
26 Requires: %{name} = %{version}
28 %description -n cups-backend-fax-compat
29 Compatibility fax backend.
31 %description -n cups-backend-fax-compat -l pl
32 Backend faksowy dla kompatybilno¶ci.
34 %package -n cups-backend-efax
36 Summary(pl): Backend do efaksa
37 Group: Applications/Communications
38 Requires: %{name} = %{version}
41 %description -n cups-backend-efax
44 %description -n cups-backend-efax -l pl
47 %package -n cups-backend-hylafax
48 Summary: hylafax backend
49 Summary(pl): Backend do hylafaksa
50 Group: Applications/Communications
51 Requires: %{name} = %{version}
52 Requires: hylafax-client
54 %description -n cups-backend-hylafax
57 %description -n cups-backend-hylafax -l pl
64 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT%{_mandir}/man1
67 install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
69 install -d $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
70 install -d $RPM_BUILD_ROOT%(cups-config --datadir)/model
72 install fax efax hylafax $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
73 install *.ppd $RPM_BUILD_ROOT%(cups-config --datadir)/model
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
82 %files -n cups-backend-fax-compat
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %(cups-config --serverbin)/backend/fax
85 %(cups-config --datadir)/model/fax.ppd
87 %files -n cups-backend-efax
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %(cups-config --serverbin)/backend/efax
90 %(cups-config --datadir)/model/efax.ppd
92 %files -n cups-backend-hylafax
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %(cups-config --serverbin)/backend/hylafax
95 %(cups-config --datadir)/model/hylafax.ppd