]> git.pld-linux.org Git - packages/fax4CUPS.git/blame_incremental - fax4CUPS.spec
- tabs in preamble
[packages/fax4CUPS.git] / fax4CUPS.spec
... / ...
CommitLineData
1Summary: Fax4CUPS - CUPS backend for a serial fax modem
2Summary(pl.UTF-8): Fax4CUPS - backend CUPS-a do szeregowych fax-modemów
3Name: fax4CUPS
4Version: 1.24
5Release: 1
6License: GPL
7Group: Applications/Communications
8Source0: http://vigna.dsi.unimi.it/fax4CUPS/%{name}-%{version}.tar.gz
9# Source0-md5: 42b1a28bba0d91b2e5bd2390fc956abb
10Source1: %{name}-hylafax.config
11Patch0: %{name}-hylafax.patch
12URL: http://vigna.dsi.unimi.it/fax4CUPS/
13BuildRequires: cups-devel
14Requires: bash
15Requires: cups
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Fax4CUPS - CUPS backend for a serial fax modem.
21
22%description -l pl.UTF-8
23Fax4CUPS - backend CUPS-a do szeregowych fax-modemów.
24
25%package -n cups-backend-fax-compat
26Summary: Compatibility fax backend
27Summary(pl.UTF-8): Backend faksowy dla kompatybilności
28Group: Applications/Communications
29Requires: %{name} = %{version}-%{release}
30
31%description -n cups-backend-fax-compat
32Compatibility fax backend.
33
34%description -n cups-backend-fax-compat -l pl.UTF-8
35Backend faksowy dla kompatybilności.
36
37%package -n cups-backend-efax
38Summary: efax backend
39Summary(pl.UTF-8): Backend do efaksa
40Group: Applications/Communications
41Requires: %{name} = %{version}-%{release}
42Requires: efax
43
44%description -n cups-backend-efax
45efax backend.
46
47%description -n cups-backend-efax -l pl.UTF-8
48Backend do efaksa.
49
50%package -n cups-backend-hylafax
51Summary: hylafax backend
52Summary(pl.UTF-8): Backend do hylafaksa
53Group: Applications/Communications
54Requires: %{name} = %{version}-%{release}
55Requires: hylafax-client
56
57%description -n cups-backend-hylafax
58hylafax backend.
59
60%description -n cups-backend-hylafax -l pl.UTF-8
61Backend do hylafaksa.
62
63%package -n cups-backend-mgetty
64Summary: mgetty backend
65Summary(pl.UTF-8): Backend do mgetty
66Group: Applications/Communications
67Requires: %{name} = %{version}-%{release}
68Requires: mgetty
69
70%description -n cups-backend-mgetty
71mgetty backend.
72
73%description -n cups-backend-mgetty -l pl.UTF-8
74Backend do mgetty.
75
76%package -n cups-backend-capisuite
77Summary: capisuite backend
78Summary(pl.UTF-8): Backend do capisuite
79Group: Applications/Communications
80Requires: %{name} = %{version}-%{release}
81
82%description -n cups-backend-capisuite
83capisuite backend.
84
85%description -n cups-backend-capisuite -l pl.UTF-8
86Backend do capisuite.
87
88%prep
89%setup -q
90%patch0 -p1
91
92%install
93rm -rf $RPM_BUILD_ROOT
94
95install -d $RPM_BUILD_ROOT%{_mandir}/man1
96install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
97
98install -d $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
99install -d $RPM_BUILD_ROOT%(cups-config --datadir)/model
100install -d $RPM_BUILD_ROOT%(cups-config --serverroot)
101
102install fax efax hylafax mgetty-fax $RPM_BUILD_ROOT%(cups-config --serverbin)/backend
103install *.ppd $RPM_BUILD_ROOT%(cups-config --datadir)/model
104install %{SOURCE1} $RPM_BUILD_ROOT%(cups-config --serverroot)/hylafax
105
106%clean
107rm -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%config(noreplace) %verify(not md5 mtime size) %(cups-config --serverroot)/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.092858 seconds and 4 git commands to generate.