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://vigna.dsi.unimi.it/fax4CUPS/%{name}-%{version}.tar.gz
9 # Source0-md5: 42b1a28bba0d91b2e5bd2390fc956abb
10 Source1: %{name}-hylafax.config
11 Patch0: %{name}-hylafax.patch
12 URL: http://vigna.dsi.unimi.it/fax4CUPS/
13 BuildRequires: cups-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Fax4CUPS - CUPS backend for a serial fax modem.
23 Fax4CUPS - backend CUPS-a do szeregowych fax-modemów.
25 %package -n cups-backend-fax-compat
26 Summary: Compatibility fax backend
27 Summary(pl): Backend faksowy dla kompatybilno¶ci
28 Group: Applications/Communications
29 Requires: %{name} = %{version}
31 %description -n cups-backend-fax-compat
32 Compatibility fax backend.
34 %description -n cups-backend-fax-compat -l pl
35 Backend faksowy dla kompatybilno¶ci.
37 %package -n cups-backend-efax
39 Summary(pl): Backend do efaksa
40 Group: Applications/Communications
41 Requires: %{name} = %{version}
44 %description -n cups-backend-efax
47 %description -n cups-backend-efax -l pl
50 %package -n cups-backend-hylafax
51 Summary: hylafax backend
52 Summary(pl): Backend do hylafaksa
53 Group: Applications/Communications
54 Requires: %{name} = %{version}
55 Requires: hylafax-client
57 %description -n cups-backend-hylafax
60 %description -n cups-backend-hylafax -l pl
63 %package -n cups-backend-mgetty
64 Summary: mgetty backend
65 Summary(pl): Backend do mgetty
66 Group: Applications/Communications
67 Requires: %{name} = %{version}
70 %description -n cups-backend-mgetty
73 %description -n cups-backend-mgetty -l pl
76 %package -n cups-backend-capisuite
77 Summary: capisuite backend
78 Summary(pl): Backend do capisuite
79 Group: Applications/Communications
80 Requires: %{name} = %{version}
82 %description -n cups-backend-capisuite
85 %description -n cups-backend-capisuite -l pl
93 rm -rf $RPM_BUILD_ROOT
95 install -d $RPM_BUILD_ROOT%{_mandir}/man1
96 install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
98 install -d $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
99 install -d $RPM_BUILD_ROOT%(cups-config --datadir)/model
100 install -d $RPM_BUILD_ROOT%(cups-config --serverroot)
102 install fax efax hylafax mgetty-fax $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
103 install *.ppd $RPM_BUILD_ROOT%(cups-config --datadir)/model
104 install %{SOURCE1} $RPM_BUILD_ROOT%(cups-config --serverroot)/hylafax
107 rm -rf $RPM_BUILD_ROOT
110 %defattr(644,root,root,755)
113 %files -n cups-backend-fax-compat
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %(cups-config --serverbin)/backend/fax
116 %(cups-config --datadir)/model/fax.ppd
118 %files -n cups-backend-efax
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %(cups-config --serverbin)/backend/efax
121 %(cups-config --datadir)/model/efax.ppd
123 %files -n cups-backend-hylafax
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %(cups-config --serverbin)/backend/hylafax
126 %(cups-config --datadir)/model/hylafax.ppd
127 %attr(644,root,root) %config(noreplace) %verify(not %(cups-config --serverroot md5) mtime size)/hylafax
129 %files -n cups-backend-mgetty
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %(cups-config --serverbin)/backend/mgetty-fax
132 %(cups-config --datadir)/model/mgetty-fax.ppd
134 %files -n cups-backend-capisuite
135 %defattr(644,root,root,755)
136 %(cups-config --datadir)/model/capisuite-fax.ppd