]>
Commit | Line | Data |
---|---|---|
960629b2 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without static_libs # static libraries | |
4 | %bcond_without perl # Perl module | |
5 | %bcond_without php # PHP extension | |
75fdf098 | 6 | |
bf137972 | 7 | %if 0%{!?php_name:1} |
75fdf098 | 8 | %define php_name php55 |
bf137972 | 9 | %endif |
98eddd8d | 10 | Summary: OpenPrinting CUPS filters and backends |
960629b2 | 11 | Summary(pl.UTF-8): Filtry i backendy CUPS-a z projektu OpenPrinting |
98eddd8d | 12 | Name: cups-filters |
81f7198e | 13 | Version: 1.0.76 |
3e9876fd | 14 | Release: 3 |
98eddd8d JR |
15 | # For a breakdown of the licensing, see COPYING file |
16 | # GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*, | |
17 | # imagetopdf, pstopdf, texttopdf | |
18 | # backends: parallel, serial | |
19 | # GPLv2+: filters: gstopxl, textonly, texttops, imagetops | |
20 | # GPLv3: filters: bannertopdf | |
21 | # GPLv3+: filters: urftopdf | |
22 | # LGPLv2+: utils: cups-browsed | |
23 | # MIT: filters: gstoraster, pdftoijs, pdftoopvp, pdftopdf, pdftoraster | |
960629b2 | 24 | License: GPL v2, GPL v2+, GPL v3, GPL v3+, LGPL v2+, MIT |
98eddd8d JR |
25 | Group: Applications/Printing |
26 | Source0: http://www.openprinting.org/download/cups-filters/%{name}-%{version}.tar.xz | |
81f7198e | 27 | # Source0-md5: 92e14b4f52a320c8d8b8176918bd4a8c |
2f02cc8c JR |
28 | Patch0: %{name}-dbus.patch |
29 | Patch1: %{name}-php.patch | |
98eddd8d | 30 | URL: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters |
960629b2 JB |
31 | BuildRequires: autoconf >= 2.65 |
32 | BuildRequires: automake >= 1:1.11 | |
98eddd8d JR |
33 | BuildRequires: avahi-devel |
34 | BuildRequires: avahi-glib-devel | |
be95c05b | 35 | BuildRequires: cups-devel >= 1:1.6.0 |
98eddd8d | 36 | BuildRequires: dbus-devel |
960629b2 JB |
37 | BuildRequires: fontconfig-devel >= 2.0.0 |
38 | BuildRequires: freetype-devel >= 2 | |
39 | # /usr/bin/gs, for features detection | |
75fdf098 | 40 | %{?with_php:BuildRequires: %{php_name}-devel} |
960629b2 | 41 | BuildRequires: ghostscript |
98eddd8d | 42 | BuildRequires: ghostscript-ijs-devel |
960629b2 JB |
43 | BuildRequires: glib2-devel >= 1:2.30.2 |
44 | BuildRequires: lcms2-devel >= 2 | |
98eddd8d JR |
45 | BuildRequires: libjpeg-devel |
46 | BuildRequires: libpng-devel | |
960629b2 | 47 | BuildRequires: libstdc++-devel |
98eddd8d JR |
48 | BuildRequires: libtiff-devel |
49 | BuildRequires: libtool | |
81f7198e | 50 | BuildRequires: openldap-devel |
960629b2 | 51 | %{?with_perl:BuildRequires: perl-devel} |
960629b2 JB |
52 | BuildRequires: pkgconfig >= 1:0.20 |
53 | # just for cpp/poppler-version.h | |
54 | BuildRequires: poppler-cpp-devel >= 0.18 | |
55 | BuildRequires: poppler-devel >= 0.18 | |
56 | # /usr/bin/pdftops, for features detection | |
57 | BuildRequires: poppler-progs >= 0.18 | |
960629b2 | 58 | BuildRequires: qpdf-devel >= 3.0.2 |
75fdf098 | 59 | BuildRequires: rpmbuild(macros) >= 1.671 |
98eddd8d | 60 | BuildRequires: zlib-devel |
960629b2 JB |
61 | # DejaVuSans.ttf (testing font for test scripts) |
62 | #BuildRequires: fonts-TTF-DejaVu | |
63 | Requires: %{name}-libs = %{version}-%{release} | |
64 | Requires: cups >= 1:1.6.0 | |
65 | Requires: fontconfig >= 2.0.0 | |
c1d35bf4 | 66 | Requires: ghostscript |
960629b2 JB |
67 | Requires: poppler-progs >= 0.18 |
68 | Requires: qpdf-libs >= 3.0.2 | |
75fdf098 | 69 | Suggests: fonts-TTF-freefont |
98eddd8d JR |
70 | # pstopdf |
71 | Requires: bc | |
72 | Requires: grep | |
73 | Requires: sed | |
2f02cc8c | 74 | Provides: cups-filter-foomatic |
98eddd8d | 75 | Provides: ghostscript-cups = 9.08 |
2f02cc8c JR |
76 | Obsoletes: cups-filter-foomatic |
77 | Obsoletes: foomatic-filters | |
98eddd8d | 78 | Obsoletes: ghostscript-cups < 9.08 |
fa8aac5c JR |
79 | Conflicts: cups-backend-hp < 3.13.11-2 |
80 | Conflicts: hplip-ppd < 3.13.11-2 | |
98eddd8d JR |
81 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
82 | ||
b84b8132 | 83 | %define _cups_serverbin %(/usr/bin/cups-config --serverbin) |
98eddd8d | 84 | |
98eddd8d JR |
85 | %description |
86 | Contains backends, filters, and other software that was once part of | |
87 | the core CUPS distribution but is no longer maintained by Apple Inc. | |
88 | In addition it contains additional filters developed independently of | |
89 | Apple, especially filters for the PDF-centric printing workflow | |
90 | introduced by OpenPrinting. | |
91 | ||
960629b2 JB |
92 | %description -l pl.UTF-8 |
93 | Ten pakiet zawiera backendy, filtry i inne oprogramowanie, będące | |
94 | kiedyś częścią CUPS-a, ale nie utrzymywane już przez firmę Apple Inc. | |
95 | Dodatkowo pakiet zawiera dodatkowe filtry stworzone niezależnie od | |
96 | Apple'a, w szczególności filtry dla PDF-ocentrycznego obiegu | |
97 | drukowania wprowadzonego przez OpenPrinting. | |
98 | ||
99 | %package libs | |
100 | Summary: OpenPrinting CUPS filters and backends - cupsfilters and fontembed libraries | |
101 | Summary(pl.UTF-8): Filtry i backendy CUPS-a z projektu OpenPrinting - biblioteki cupsfilters i fontembed | |
102 | # LGPLv2: libcupsfilters | |
103 | # MIT: libfontembed | |
104 | License: LGPL v2, MIT | |
105 | Group: Libraries | |
106 | Requires: cups-lib >= 1:1.6.0 | |
107 | ||
98eddd8d JR |
108 | %description libs |
109 | This package provides cupsfilters and fontembed libraries. | |
110 | ||
960629b2 JB |
111 | %description libs -l pl.UTF-8 |
112 | Ten pakiet udostępnia biblioteki cupsfilters i fontembed. | |
113 | ||
114 | %package devel | |
115 | Summary: OpenPrinting CUPS filters and backends - development environment | |
116 | Summary(pl.UTF-8): Filtry i backendy CUPS-a z projektu OpenPrinting - środowisko programistyczne | |
117 | License: LGPL v2, MIT | |
118 | Group: Development/Libraries | |
119 | Requires: %{name}-libs = %{version}-%{release} | |
120 | Requires: cups-devel >= 1:1.6.0 | |
121 | Requires: libjpeg-devel | |
122 | Requires: libpng-devel | |
123 | Requires: libtiff-devel | |
124 | ||
98eddd8d JR |
125 | %description devel |
126 | This is the development package for OpenPrinting CUPS filters and | |
127 | backends. | |
128 | ||
960629b2 JB |
129 | %description devel -l pl.UTF-8 |
130 | To jest pakiet programistyczny dla filtrów i backendów CUPS-a z | |
131 | projektu OpenPrinting. | |
132 | ||
133 | %package static | |
134 | Summary: OpenPrinting CUPS filters and backends - static cupsfilters and fontembed libraries | |
135 | Summary(pl.UTF-8): Filtry i backendy CUPS-a z projektu OpenPrinting - statyczne biblioteki cupsfilters i fontembed | |
136 | License: LGPL v2, MIT | |
137 | Group: Development/Libraries | |
138 | Requires: %{name}-devel = %{version}-%{release} | |
139 | ||
140 | %description static | |
141 | This package provides static cupsfilters and fontembed libraries. | |
142 | ||
143 | %description static -l pl.UTF-8 | |
144 | Ten pakiet udostępnia statyczne biblioteki cupsfilters i fontembed. | |
145 | ||
98eddd8d JR |
146 | %package -n cups-browsed |
147 | Summary: A daemon for browsing the Bonjour broadcasts of shared, remote CUPS printers | |
960629b2 | 148 | Summary(pl.UTF-8): Demon do przeglądania broadcastów Bonjour współdzielonych, zdalnych drukarek CUPS |
98eddd8d | 149 | Group: Applications/Printing |
960629b2 | 150 | Requires(post,preun): /sbin/chkconfig |
b84b8132 | 151 | Requires(post,preun,postun): systemd-units |
960629b2 | 152 | Requires: glib2 >= 1:2.30.2 |
b84b8132 | 153 | Requires: systemd-units >= 38 |
98eddd8d JR |
154 | |
155 | %description -n cups-browsed | |
75fdf098 ER |
156 | A daemon for browsing the Bonjour broadcasts of shared, remote CUPS |
157 | printers. | |
98eddd8d | 158 | |
960629b2 JB |
159 | %description -n cups-browsed -l pl.UTF-8 |
160 | Demon do przeglądania broadcastów Bonjour współdzielonych, zdalnych | |
161 | drukarek CUPS. | |
162 | ||
163 | %package -n cups-backend-parallel | |
164 | Summary: Parallel port backend for CUPS | |
165 | Summary(pl.UTF-8): Backend CUPS-a obsługujący porty równoległe | |
166 | # must be larger than cups.spec before 1.6.0 | |
167 | Epoch: 2 | |
168 | License: GPL v2 + OpenSSL exception | |
169 | Group: Applications/Printing | |
170 | Requires: cups >= 1:1.6.0 | |
171 | ||
172 | %description -n cups-backend-parallel | |
173 | This package allow CUPS printing on printers connected by parallel | |
174 | ports. | |
175 | ||
176 | %description -n cups-backend-parallel -l pl.UTF-8 | |
177 | Ten pakiet umożliwia drukowanie z poziomu CUPS-a na drukarkach | |
178 | podłączonych do portów równoległych. | |
179 | ||
b84b8132 JR |
180 | %package -n cups-backend-serial |
181 | Summary: Serial port backend for CUPS | |
960629b2 JB |
182 | Summary(pl.UTF-8): Backend CUPS-a obsługujący porty szeregowe |
183 | # must be larger than cups.spec before 1.6.0 | |
b84b8132 | 184 | Epoch: 2 |
960629b2 | 185 | License: GPL v2 + OpenSSL exception |
b84b8132 | 186 | Group: Applications/Printing |
960629b2 | 187 | Requires: cups >= 1:1.6.0 |
b84b8132 JR |
188 | |
189 | %description -n cups-backend-serial | |
190 | This package allow CUPS printing on printers connected by serial | |
191 | ports. | |
192 | ||
193 | %description -n cups-backend-serial -l pl.UTF-8 | |
194 | Ten pakiet umożliwia drukowanie z poziomu CUPS-a na drukarkach | |
195 | podłączonych do portów szeregowych. | |
196 | ||
960629b2 JB |
197 | %package -n perl-cups |
198 | Summary: Perl module for CUPS | |
199 | Summary(pl.UTF-8): Moduł Perla CUPS | |
200 | # must be larger than cups.spec before 1.6.0 | |
b84b8132 | 201 | Epoch: 2 |
960629b2 JB |
202 | License: GPL v2 + OpenSSL exception |
203 | Group: Development/Languages/Perl | |
204 | Requires: cups-lib >= 1:1.6.0 | |
b84b8132 | 205 | |
960629b2 JB |
206 | %description -n perl-cups |
207 | Perl module for Common Unix Printing System. | |
b84b8132 | 208 | |
960629b2 JB |
209 | %description -n perl-cups -l pl.UTF-8 |
210 | Moduł Perla do ogólnego systemu druku dla Uniksa. | |
211 | ||
75fdf098 | 212 | %package -n %{php_name}-cups |
960629b2 JB |
213 | Summary: PHP module for CUPS |
214 | Summary(pl.UTF-8): Moduł PHP CUPS | |
215 | # must be larger than cups.spec before 1.6.0 | |
216 | Epoch: 2 | |
217 | License: GPL v2 + OpenSSL exception | |
218 | Group: Development/Languages/PHP | |
219 | Requires: cups-lib >= 1:1.6.0 | |
220 | %{?requires_php_extension} | |
960629b2 | 221 | |
75fdf098 | 222 | %description -n %{php_name}-cups |
960629b2 JB |
223 | PHP module for Common Unix Printing System. |
224 | ||
75fdf098 | 225 | %description -n %{php_name}-cups -l pl.UTF-8 |
960629b2 | 226 | Moduł PHP do ogólnego systemu druku dla Uniksa. |
b84b8132 JR |
227 | |
228 | # CREATE ANY NEW PACKAGES BEFORE cups-backend-* (EPOCH) | |
229 | ||
98eddd8d JR |
230 | %prep |
231 | %setup -q | |
960629b2 | 232 | %patch0 -p1 |
98eddd8d | 233 | %patch1 -p1 |
98eddd8d JR |
234 | |
235 | %build | |
236 | %{__aclocal} | |
237 | %{__autoconf} | |
238 | %{__automake} | |
239 | ||
240 | %configure \ | |
960629b2 | 241 | --enable-dbus \ |
98eddd8d | 242 | --disable-silent-rules \ |
960629b2 | 243 | %{!?with_static_libs:--disable-static} \ |
960629b2 | 244 | %{?with_php:--with-php} \ |
98eddd8d | 245 | --with-pdftops=hybrid \ |
960629b2 JB |
246 | --with-rcdir=/etc/rc.d/init.d \ |
247 | --with-rclevels= \ | |
248 | --with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf | |
249 | ||
250 | %{__make} | |
251 | ||
252 | %if %{with perl} | |
253 | cd scripting/perl | |
254 | %{__perl} Makefile.PL \ | |
255 | INSTALLDIRS=vendor \ | |
256 | OPTIMIZE="%{rpmcflags}" | |
98eddd8d JR |
257 | |
258 | %{__make} | |
960629b2 JB |
259 | cd ../.. |
260 | %endif | |
98eddd8d JR |
261 | |
262 | %install | |
263 | rm -rf $RPM_BUILD_ROOT | |
264 | install -d $RPM_BUILD_ROOT%{systemdunitdir} | |
98eddd8d JR |
265 | %{__make} install \ |
266 | DESTDIR=$RPM_BUILD_ROOT | |
267 | ||
960629b2 JB |
268 | %if %{with php} |
269 | install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d | |
270 | cat > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/phpcups.ini << 'EOF' | |
271 | ; Enable phpcups extension module | |
272 | extension=libphpcups.so | |
273 | EOF | |
75fdf098 ER |
274 | # dlopened module |
275 | %{__rm} $RPM_BUILD_ROOT%{php_extensiondir}/libphpcups.la | |
960629b2 JB |
276 | %endif |
277 | ||
278 | %if %{with perl} | |
279 | %{__make} -C scripting/perl install \ | |
280 | DESTDIR=$RPM_BUILD_ROOT | |
281 | %endif | |
98eddd8d | 282 | |
cbe62ebd JB |
283 | install -p utils/cups-browsed.service $RPM_BUILD_ROOT%{systemdunitdir} |
284 | ||
960629b2 JB |
285 | # obsoleted by pkg-config |
286 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
960629b2 JB |
287 | # packaged as %doc |
288 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/cups-filters | |
98eddd8d JR |
289 | # Not sure what is this good for. |
290 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/ttfread | |
291 | ||
98eddd8d JR |
292 | %clean |
293 | rm -rf $RPM_BUILD_ROOT | |
294 | ||
960629b2 JB |
295 | %post libs -p /sbin/ldconfig |
296 | %postun libs -p /sbin/ldconfig | |
297 | ||
98eddd8d | 298 | %post -n cups-browsed |
57845ec9 | 299 | if [ "$1" = "1" ]; then |
98eddd8d JR |
300 | # We can remove this after few releases, it's just for the introduction of cups-browsed. |
301 | if [ -f %{_sysconfdir}/cups/cups-browsed.conf ]; then | |
302 | echo -e "\n# NOTE: This file is not part of CUPS. You need to start & enable cups-browsed service." >>%{_sysconfdir}/cups/cups-browsed.conf | |
303 | fi | |
304 | ||
305 | # move BrowsePoll from cupsd.conf to cups-browsed.conf | |
306 | if [ -f %{_sysconfdir}/cups/cupsd.conf ] && grep -iq "^BrowsePoll" %{_sysconfdir}/cups/cupsd.conf; then | |
307 | if ! grep -iq "^BrowsePoll" %{_sysconfdir}/cups/cups-browsed.conf; then | |
308 | echo "# Settings automatically moved from cupsd.conf by RPM package:" >>%{_sysconfdir}/cups/cups-browsed.conf | |
309 | grep -i "^BrowsePoll" %{_sysconfdir}/cups/cupsd.conf >> %{_sysconfdir}/cups/cups-browsed.conf || : | |
310 | fi | |
311 | sed -i -e "s,^BrowsePoll,#BrowsePoll directive moved to cups-browsed.conf\n#BrowsePoll,i" %{_sysconfdir}/cups/cupsd.conf || : | |
312 | fi | |
313 | fi | |
960629b2 JB |
314 | /sbin/chkconfig --add cups-browsed |
315 | %service cups-browsed restart | |
98eddd8d JR |
316 | %systemd_post cups-browsed.service |
317 | ||
318 | %preun -n cups-browsed | |
960629b2 JB |
319 | if [ "$1" = "0" ]; then |
320 | %service cups-browsed stop | |
321 | /sbin/chkconfig --del cups-browsed | |
322 | fi | |
98eddd8d JR |
323 | %systemd_preun cups-browsed.service |
324 | ||
325 | %postun -n cups-browsed | |
326 | %systemd_reload | |
327 | ||
98eddd8d JR |
328 | %files |
329 | %defattr(644,root,root,755) | |
960629b2 | 330 | %doc AUTHORS COPYING NEWS README |
98eddd8d | 331 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fonts/conf.d/99pdftoopvp.conf |
96dc6d6d | 332 | %attr(755,root,root) %{_bindir}/foomatic-rip |
960629b2 JB |
333 | %attr(755,root,root) %{_cups_serverbin}/filter/bannertopdf |
334 | %attr(755,root,root) %{_cups_serverbin}/filter/commandtoescpx | |
335 | %attr(755,root,root) %{_cups_serverbin}/filter/commandtopclx | |
2f02cc8c | 336 | %attr(755,root,root) %{_cups_serverbin}/filter/foomatic-rip |
960629b2 JB |
337 | %attr(755,root,root) %{_cups_serverbin}/filter/gstopxl |
338 | %attr(755,root,root) %{_cups_serverbin}/filter/gstoraster | |
339 | %attr(755,root,root) %{_cups_serverbin}/filter/imagetopdf | |
340 | %attr(755,root,root) %{_cups_serverbin}/filter/imagetops | |
341 | %attr(755,root,root) %{_cups_serverbin}/filter/imagetoraster | |
342 | %attr(755,root,root) %{_cups_serverbin}/filter/pdftoijs | |
960629b2 JB |
343 | %attr(755,root,root) %{_cups_serverbin}/filter/pdftoopvp |
344 | %attr(755,root,root) %{_cups_serverbin}/filter/pdftopdf | |
345 | %attr(755,root,root) %{_cups_serverbin}/filter/pdftops | |
346 | %attr(755,root,root) %{_cups_serverbin}/filter/pdftoraster | |
347 | %attr(755,root,root) %{_cups_serverbin}/filter/pstopdf | |
348 | %attr(755,root,root) %{_cups_serverbin}/filter/rastertoescpx | |
349 | %attr(755,root,root) %{_cups_serverbin}/filter/rastertopclx | |
bf137972 | 350 | %attr(755,root,root) %{_cups_serverbin}/filter/rastertopdf |
27e14967 | 351 | %attr(755,root,root) %{_cups_serverbin}/filter/sys5ippprinter |
960629b2 JB |
352 | %attr(755,root,root) %{_cups_serverbin}/filter/textonly |
353 | %attr(755,root,root) %{_cups_serverbin}/filter/texttopdf | |
354 | %attr(755,root,root) %{_cups_serverbin}/filter/texttops | |
355 | %attr(755,root,root) %{_cups_serverbin}/filter/urftopdf | |
57845ec9 | 356 | %{_datadir}/cups/banners/* |
98eddd8d | 357 | %{_datadir}/cups/charsets |
94049a51 JB |
358 | %{_datadir}/cups/data/classified.pdf |
359 | %{_datadir}/cups/data/confidential.pdf | |
960629b2 JB |
360 | %{_datadir}/cups/data/default.pdf |
361 | %{_datadir}/cups/data/default-testpage.pdf | |
94b3ffe2 JB |
362 | %{_datadir}/cups/data/form_english.pdf |
363 | %{_datadir}/cups/data/form_english_in.odt | |
364 | %{_datadir}/cups/data/form_russian.pdf | |
365 | %{_datadir}/cups/data/form_russian_in.odt | |
94049a51 JB |
366 | %{_datadir}/cups/data/secret.pdf |
367 | %{_datadir}/cups/data/standard.pdf | |
368 | %{_datadir}/cups/data/topsecret.pdf | |
369 | %{_datadir}/cups/data/unclassified.pdf | |
2d4a03cc | 370 | %{_datadir}/cups/data/testprint |
98eddd8d JR |
371 | %{_datadir}/cups/drv/cupsfilters.drv |
372 | %{_datadir}/cups/mime/cupsfilters.types | |
373 | %{_datadir}/cups/mime/cupsfilters.convs | |
960629b2 JB |
374 | # definitions for drivers; pcl.h is used by cupsfilters.drv |
375 | %{_datadir}/cups/ppdc/escp.h | |
376 | %{_datadir}/cups/ppdc/pcl.h | |
98eddd8d | 377 | %{_datadir}/ppd/cupsfilters |
2f02cc8c | 378 | %{_mandir}/man1/foomatic-rip.1* |
98eddd8d JR |
379 | |
380 | %files libs | |
381 | %defattr(644,root,root,755) | |
eed8649d | 382 | %doc fontembed/README |
98eddd8d JR |
383 | %attr(755,root,root) %{_libdir}/libcupsfilters.so.*.*.* |
384 | %attr(755,root,root) %ghost %{_libdir}/libcupsfilters.so.1 | |
385 | %attr(755,root,root) %{_libdir}/libfontembed.so.*.*.* | |
386 | %attr(755,root,root) %ghost %{_libdir}/libfontembed.so.1 | |
387 | ||
388 | %files devel | |
389 | %defattr(644,root,root,755) | |
960629b2 JB |
390 | %attr(755,root,root) %{_libdir}/libcupsfilters.so |
391 | %attr(755,root,root) %{_libdir}/libfontembed.so | |
98eddd8d JR |
392 | %{_includedir}/cupsfilters |
393 | %{_includedir}/fontembed | |
98eddd8d JR |
394 | %{_pkgconfigdir}/libcupsfilters.pc |
395 | %{_pkgconfigdir}/libfontembed.pc | |
960629b2 JB |
396 | |
397 | %files static | |
398 | %defattr(644,root,root,755) | |
399 | %{_libdir}/libcupsfilters.a | |
400 | %{_libdir}/libfontembed.a | |
98eddd8d JR |
401 | |
402 | %files -n cups-browsed | |
403 | %defattr(644,root,root,755) | |
404 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cups/cups-browsed.conf | |
405 | %attr(755,root,root) %{_sbindir}/cups-browsed | |
81f7198e | 406 | %attr(755,root,root) %{_cups_serverbin}/backend/implicitclass |
960629b2 | 407 | %attr(754,root,root) /etc/rc.d/init.d/cups-browsed |
98eddd8d | 408 | %{systemdunitdir}/cups-browsed.service |
98eddd8d | 409 | %{_mandir}/man5/cups-browsed.conf.5* |
960629b2 JB |
410 | %{_mandir}/man8/cups-browsed.8* |
411 | ||
412 | %files -n cups-backend-parallel | |
413 | %defattr(644,root,root,755) | |
414 | %attr(755,root,root) %{_cups_serverbin}/backend/parallel | |
b84b8132 JR |
415 | |
416 | %files -n cups-backend-serial | |
417 | %defattr(644,root,root,755) | |
418 | %attr(755,root,root) %{_cups_serverbin}/backend/serial | |
419 | ||
960629b2 JB |
420 | %if %{with perl} |
421 | %files -n perl-cups | |
b84b8132 | 422 | %defattr(644,root,root,755) |
960629b2 JB |
423 | %doc scripting/perl/README |
424 | %{perl_vendorarch}/CUPS.pm | |
425 | %dir %{perl_vendorarch}/auto/CUPS | |
960629b2 JB |
426 | %{perl_vendorarch}/auto/CUPS/autosplit.ix |
427 | %attr(755,root,root) %{perl_vendorarch}/auto/CUPS/CUPS.so | |
428 | %{_mandir}/man3/CUPS.3pm* | |
429 | %endif | |
430 | ||
431 | %if %{with php} | |
75fdf098 | 432 | %files -n %{php_name}-cups |
960629b2 JB |
433 | %defattr(644,root,root,755) |
434 | %doc scripting/php/README | |
960629b2 | 435 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/phpcups.ini |
75fdf098 | 436 | %attr(755,root,root) %{php_extensiondir}/libphpcups.so |
960629b2 | 437 | %endif |