]> git.pld-linux.org Git - packages/fax4CUPS.git/blob - fax4CUPS.spec
- pass additional options
[packages/fax4CUPS.git] / fax4CUPS.spec
1 Summary:        Fax4CUPS - CUPS backend for a serial fax modem
2 Summary(pl):    Fax4CUPS - backend CUPS-a do szeregowych fax-modemów
3 Name:           fax4CUPS
4 Version:        1.24
5 Release:        1
6 License:        GPL
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
14 Requires:       bash
15 Requires:       cups
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Fax4CUPS - CUPS backend for a serial fax modem.
21
22 %description -l pl
23 Fax4CUPS - backend CUPS-a do szeregowych fax-modemów.
24
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}
30
31 %description -n cups-backend-fax-compat
32 Compatibility fax backend.
33
34 %description -n cups-backend-fax-compat -l pl
35 Backend faksowy dla kompatybilno¶ci.
36
37 %package -n cups-backend-efax
38 Summary:        efax backend
39 Summary(pl):    Backend do efaksa
40 Group:          Applications/Communications
41 Requires:       %{name} = %{version}
42 Requires:       efax
43
44 %description -n cups-backend-efax
45 efax backend.
46
47 %description -n cups-backend-efax -l pl
48 Backend do efaksa.
49
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
56
57 %description -n cups-backend-hylafax
58 hylafax backend.
59
60 %description -n cups-backend-hylafax -l pl
61 Backend do hylafaksa.
62
63 %package -n cups-backend-mgetty
64 Summary:        mgetty backend
65 Summary(pl):    Backend do mgetty
66 Group:          Applications/Communications
67 Requires:       %{name} = %{version}
68 Requires:       mgetty
69
70 %description -n cups-backend-mgetty
71 mgetty backend.
72
73 %description -n cups-backend-mgetty -l pl
74 Backend do mgetty.
75
76 %package -n cups-backend-capisuite
77 Summary:        capisuite backend
78 Summary(pl):    Backend do capisuite
79 Group:          Applications/Communications
80 Requires:       %{name} = %{version}
81
82 %description -n cups-backend-capisuite
83 capisuite backend.
84
85 %description -n cups-backend-capisuite -l pl
86 Backend do capisuite.
87
88 %prep
89 %setup -q
90 %patch0 -p1
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 install -d $RPM_BUILD_ROOT%{_mandir}/man1
96 install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
97
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)
101
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
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files
110 %defattr(644,root,root,755)
111 %{_mandir}/man1/*
112
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
117
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
122
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
128
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
133
134 %files -n cups-backend-capisuite
135 %defattr(644,root,root,755)
136 %(cups-config --datadir)/model/capisuite-fax.ppd
This page took 0.073101 seconds and 3 git commands to generate.