xref: /aosp_15_r20/external/libcups/packaging/cups.spec (revision 5e7646d21f1134fb0638875d812ef646c12ab91e)
1*5e7646d2SAndroid Build Coastguard Worker#
2*5e7646d2SAndroid Build Coastguard Worker# RPM "spec" file for CUPS.
3*5e7646d2SAndroid Build Coastguard Worker#
4*5e7646d2SAndroid Build Coastguard Worker# Original version by Jason McMullan <[email protected]>.
5*5e7646d2SAndroid Build Coastguard Worker#
6*5e7646d2SAndroid Build Coastguard Worker# Copyright © 2007-2019 by Apple Inc.
7*5e7646d2SAndroid Build Coastguard Worker# Copyright © 1999-2007 by Easy Software Products, all rights reserved.
8*5e7646d2SAndroid Build Coastguard Worker#
9*5e7646d2SAndroid Build Coastguard Worker# Licensed under Apache License v2.0.  See the file "LICENSE" for more
10*5e7646d2SAndroid Build Coastguard Worker# information.
11*5e7646d2SAndroid Build Coastguard Worker#
12*5e7646d2SAndroid Build Coastguard Worker
13*5e7646d2SAndroid Build Coastguard Worker# Conditional build options (--with name/--without name):
14*5e7646d2SAndroid Build Coastguard Worker#
15*5e7646d2SAndroid Build Coastguard Worker#   dbus     - Enable/disable DBUS support (default = enable)
16*5e7646d2SAndroid Build Coastguard Worker#   dnssd    - Enable/disable DNS-SD support (default = enable)
17*5e7646d2SAndroid Build Coastguard Worker#   libusb1  - Enable/disable LIBUSB 1.0 support (default = enable)
18*5e7646d2SAndroid Build Coastguard Worker#   static   - Enable/disable static libraries (default = enable)
19*5e7646d2SAndroid Build Coastguard Worker#   systemd  - Enable/disable systemd support (default = enable)
20*5e7646d2SAndroid Build Coastguard Worker
21*5e7646d2SAndroid Build Coastguard Worker%{!?_with_dbus: %{!?_without_dbus: %define _with_dbus --with-dbus}}
22*5e7646d2SAndroid Build Coastguard Worker%{?_with_dbus: %define _dbus --enable-dbus}
23*5e7646d2SAndroid Build Coastguard Worker%{!?_with_dbus: %define _dbus --disable-dbus}
24*5e7646d2SAndroid Build Coastguard Worker
25*5e7646d2SAndroid Build Coastguard Worker%{!?_with_dnssd: %{!?_without_dnssd: %define _with_dnssd --with-dnssd}}
26*5e7646d2SAndroid Build Coastguard Worker%{?_with_dnssd: %define _dnssd --enable-avahi}
27*5e7646d2SAndroid Build Coastguard Worker%{!?_with_dnssd: %define _dnssd --disable-avahi}
28*5e7646d2SAndroid Build Coastguard Worker
29*5e7646d2SAndroid Build Coastguard Worker%{!?_with_libusb1: %{!?_without_libusb1: %define _with_libusb1 --with-libusb1}}
30*5e7646d2SAndroid Build Coastguard Worker%{?_with_libusb1: %define _libusb1 --enable-libusb}
31*5e7646d2SAndroid Build Coastguard Worker%{!?_with_libusb1: %define _libusb1 --disable-libusb}
32*5e7646d2SAndroid Build Coastguard Worker
33*5e7646d2SAndroid Build Coastguard Worker%{!?_with_static: %{!?_without_static: %define _without_static --without-static}}
34*5e7646d2SAndroid Build Coastguard Worker%{?_with_static: %define _static --enable-static}
35*5e7646d2SAndroid Build Coastguard Worker%{!?_with_static: %define _static --disable-static}
36*5e7646d2SAndroid Build Coastguard Worker
37*5e7646d2SAndroid Build Coastguard Worker%{!?_with_systemd: %{!?_without_systemd: %define _with_systemd --with-systemd}}
38*5e7646d2SAndroid Build Coastguard Worker%{?_with_systemd: %define _systemd --enable-systemd}
39*5e7646d2SAndroid Build Coastguard Worker%{!?_with_systemd: %define _systemd --disable-systemd}
40*5e7646d2SAndroid Build Coastguard Worker
41*5e7646d2SAndroid Build Coastguard WorkerSummary: CUPS
42*5e7646d2SAndroid Build Coastguard WorkerName: cups
43*5e7646d2SAndroid Build Coastguard WorkerVersion: 2.3.3
44*5e7646d2SAndroid Build Coastguard WorkerRelease: 0
45*5e7646d2SAndroid Build Coastguard WorkerEpoch: 1
46*5e7646d2SAndroid Build Coastguard WorkerLicense: GPL
47*5e7646d2SAndroid Build Coastguard WorkerGroup: System Environment/Daemons
48*5e7646d2SAndroid Build Coastguard WorkerSource: https://github.com/apple/cups/releases/download/v2.3.3/cups-2.3.3-source.tar.gz
49*5e7646d2SAndroid Build Coastguard WorkerUrl: http://www.cups.org
50*5e7646d2SAndroid Build Coastguard WorkerPackager: Anonymous <anonymous@example.com>
51*5e7646d2SAndroid Build Coastguard WorkerVendor: Example Corp
52*5e7646d2SAndroid Build Coastguard Worker
53*5e7646d2SAndroid Build Coastguard Worker# Package names are as defined for Red Hat (and clone) distributions
54*5e7646d2SAndroid Build Coastguard WorkerBuildRequires: gnutls-devel, pam-devel
55*5e7646d2SAndroid Build Coastguard Worker
56*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_dbus:1}%{!?_with_dbus:0}
57*5e7646d2SAndroid Build Coastguard WorkerBuildRequires: dbus-devel
58*5e7646d2SAndroid Build Coastguard Worker%endif
59*5e7646d2SAndroid Build Coastguard Worker
60*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_dnssd:1}%{!?_with_dnssd:0}
61*5e7646d2SAndroid Build Coastguard WorkerBuildRequires: avahi-devel
62*5e7646d2SAndroid Build Coastguard Worker%endif
63*5e7646d2SAndroid Build Coastguard Worker
64*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_libusb1:1}%{!?_with_libusb1:0}
65*5e7646d2SAndroid Build Coastguard WorkerBuildRequires: libusb-devel >= 1.0
66*5e7646d2SAndroid Build Coastguard Worker%endif
67*5e7646d2SAndroid Build Coastguard Worker
68*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_systemd:1}%{!?_with_systemd:0}
69*5e7646d2SAndroid Build Coastguard WorkerBuildRequires: systemd-devel
70*5e7646d2SAndroid Build Coastguard Worker%endif
71*5e7646d2SAndroid Build Coastguard Worker
72*5e7646d2SAndroid Build Coastguard Worker# Use buildroot so as not to disturb the version already installed
73*5e7646d2SAndroid Build Coastguard WorkerBuildRoot: /tmp/%{name}-root
74*5e7646d2SAndroid Build Coastguard Worker
75*5e7646d2SAndroid Build Coastguard Worker# Dependencies...
76*5e7646d2SAndroid Build Coastguard WorkerRequires: %{name}-libs = %{epoch}:%{version}
77*5e7646d2SAndroid Build Coastguard WorkerObsoletes: lpd, lpr, LPRng
78*5e7646d2SAndroid Build Coastguard WorkerProvides: lpd, lpr, LPRng
79*5e7646d2SAndroid Build Coastguard WorkerObsoletes: cups-da, cups-de, cups-es, cups-et, cups-fi, cups-fr, cups-he
80*5e7646d2SAndroid Build Coastguard WorkerObsoletes: cups-id, cups-it, cups-ja, cups-ko, cups-nl, cups-no, cups-pl
81*5e7646d2SAndroid Build Coastguard WorkerObsoletes: cups-pt, cups-ru, cups-sv, cups-zh
82*5e7646d2SAndroid Build Coastguard Worker
83*5e7646d2SAndroid Build Coastguard Worker%package devel
84*5e7646d2SAndroid Build Coastguard WorkerSummary: CUPS - development environment
85*5e7646d2SAndroid Build Coastguard WorkerGroup: Development/Libraries
86*5e7646d2SAndroid Build Coastguard WorkerRequires: %{name}-libs = %{epoch}:%{version}
87*5e7646d2SAndroid Build Coastguard Worker
88*5e7646d2SAndroid Build Coastguard Worker%package libs
89*5e7646d2SAndroid Build Coastguard WorkerSummary: CUPS - shared libraries
90*5e7646d2SAndroid Build Coastguard WorkerGroup: System Environment/Libraries
91*5e7646d2SAndroid Build Coastguard WorkerProvides: libcups1
92*5e7646d2SAndroid Build Coastguard Worker
93*5e7646d2SAndroid Build Coastguard Worker%package lpd
94*5e7646d2SAndroid Build Coastguard WorkerSummary: CUPS - LPD support
95*5e7646d2SAndroid Build Coastguard WorkerGroup: System Environment/Daemons
96*5e7646d2SAndroid Build Coastguard WorkerRequires: %{name} = %{epoch}:%{version} xinetd
97*5e7646d2SAndroid Build Coastguard Worker
98*5e7646d2SAndroid Build Coastguard Worker%description
99*5e7646d2SAndroid Build Coastguard WorkerCUPS is the standards-based, open source printing system developed by
100*5e7646d2SAndroid Build Coastguard WorkerApple Inc. for macOS® and other UNIX®-like operating systems.
101*5e7646d2SAndroid Build Coastguard Worker
102*5e7646d2SAndroid Build Coastguard Worker%description devel
103*5e7646d2SAndroid Build Coastguard WorkerThis package provides the CUPS headers and development environment.
104*5e7646d2SAndroid Build Coastguard Worker
105*5e7646d2SAndroid Build Coastguard Worker%description libs
106*5e7646d2SAndroid Build Coastguard WorkerThis package provides the CUPS shared libraries.
107*5e7646d2SAndroid Build Coastguard Worker
108*5e7646d2SAndroid Build Coastguard Worker%description lpd
109*5e7646d2SAndroid Build Coastguard WorkerThis package provides LPD client support.
110*5e7646d2SAndroid Build Coastguard Worker
111*5e7646d2SAndroid Build Coastguard Worker%prep
112*5e7646d2SAndroid Build Coastguard Worker%setup
113*5e7646d2SAndroid Build Coastguard Worker
114*5e7646d2SAndroid Build Coastguard Worker%build
115*5e7646d2SAndroid Build Coastguard WorkerCFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS" \
116*5e7646d2SAndroid Build Coastguard Worker    ./configure %{_dbus} %{_dnssd} %{_libusb1} %{_static} %{_systemd}
117*5e7646d2SAndroid Build Coastguard Worker# If we got this far, all prerequisite libraries must be here.
118*5e7646d2SAndroid Build Coastguard Workermake
119*5e7646d2SAndroid Build Coastguard Worker
120*5e7646d2SAndroid Build Coastguard Worker%install
121*5e7646d2SAndroid Build Coastguard Worker# Make sure the RPM_BUILD_ROOT directory exists.
122*5e7646d2SAndroid Build Coastguard Workerrm -rf $RPM_BUILD_ROOT
123*5e7646d2SAndroid Build Coastguard Worker
124*5e7646d2SAndroid Build Coastguard Workermake BUILDROOT=$RPM_BUILD_ROOT install
125*5e7646d2SAndroid Build Coastguard Workerrm -rf $RPM_BUILD_ROOT/usr/share/cups/banners $RPM_BUILD_ROOT/usr/share/cups/data
126*5e7646d2SAndroid Build Coastguard Worker
127*5e7646d2SAndroid Build Coastguard Worker%post
128*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_systemd:1}%{!?_with_systemd:0}
129*5e7646d2SAndroid Build Coastguard Worker/bin/systemctl enable org.cups.cupsd.service
130*5e7646d2SAndroid Build Coastguard Worker
131*5e7646d2SAndroid Build Coastguard Workerif test $1 -ge 1; then
132*5e7646d2SAndroid Build Coastguard Worker	/bin/systemctl stop org.cups.cupsd.service
133*5e7646d2SAndroid Build Coastguard Worker	/bin/systemctl start org.cups.cupsd.service
134*5e7646d2SAndroid Build Coastguard Workerfi
135*5e7646d2SAndroid Build Coastguard Worker
136*5e7646d2SAndroid Build Coastguard Worker%else
137*5e7646d2SAndroid Build Coastguard Worker/sbin/chkconfig --add cups
138*5e7646d2SAndroid Build Coastguard Worker/sbin/chkconfig cups on
139*5e7646d2SAndroid Build Coastguard Worker
140*5e7646d2SAndroid Build Coastguard Worker# Restart cupsd if we are upgrading...
141*5e7646d2SAndroid Build Coastguard Workerif test $1 -gt 1; then
142*5e7646d2SAndroid Build Coastguard Worker	/sbin/service cups stop
143*5e7646d2SAndroid Build Coastguard Worker	/sbin/service cups start
144*5e7646d2SAndroid Build Coastguard Workerfi
145*5e7646d2SAndroid Build Coastguard Worker%endif
146*5e7646d2SAndroid Build Coastguard Worker
147*5e7646d2SAndroid Build Coastguard Worker%post libs
148*5e7646d2SAndroid Build Coastguard Worker/sbin/ldconfig
149*5e7646d2SAndroid Build Coastguard Worker
150*5e7646d2SAndroid Build Coastguard Worker%preun
151*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_systemd:1}%{!?_with_systemd:0}
152*5e7646d2SAndroid Build Coastguard Workerif test $1 -ge 1; then
153*5e7646d2SAndroid Build Coastguard Worker	/bin/systemctl stop org.cups.cupsd.service
154*5e7646d2SAndroid Build Coastguard Worker	/bin/systemctl disable org.cups.cupsd.service
155*5e7646d2SAndroid Build Coastguard Workerfi
156*5e7646d2SAndroid Build Coastguard Worker
157*5e7646d2SAndroid Build Coastguard Worker%else
158*5e7646d2SAndroid Build Coastguard Workerif test $1 = 0; then
159*5e7646d2SAndroid Build Coastguard Worker	/sbin/service cups stop
160*5e7646d2SAndroid Build Coastguard Worker	/sbin/chkconfig --del cups
161*5e7646d2SAndroid Build Coastguard Workerfi
162*5e7646d2SAndroid Build Coastguard Worker%endif
163*5e7646d2SAndroid Build Coastguard Worker
164*5e7646d2SAndroid Build Coastguard Worker%postun
165*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_systemd:1}%{!?_with_systemd:0}
166*5e7646d2SAndroid Build Coastguard Workerif test $1 -ge 1; then
167*5e7646d2SAndroid Build Coastguard Worker	/bin/systemctl stop org.cups.cupsd.service
168*5e7646d2SAndroid Build Coastguard Worker	/bin/systemctl start org.cups.cupsd.service
169*5e7646d2SAndroid Build Coastguard Workerfi
170*5e7646d2SAndroid Build Coastguard Worker
171*5e7646d2SAndroid Build Coastguard Worker%else
172*5e7646d2SAndroid Build Coastguard Workerif test $1 -ge 1; then
173*5e7646d2SAndroid Build Coastguard Worker	/sbin/service cups stop
174*5e7646d2SAndroid Build Coastguard Worker	/sbin/service cups start
175*5e7646d2SAndroid Build Coastguard Workerfi
176*5e7646d2SAndroid Build Coastguard Worker%endif
177*5e7646d2SAndroid Build Coastguard Worker
178*5e7646d2SAndroid Build Coastguard Worker%postun libs
179*5e7646d2SAndroid Build Coastguard Worker/sbin/ldconfig
180*5e7646d2SAndroid Build Coastguard Worker
181*5e7646d2SAndroid Build Coastguard Worker%clean
182*5e7646d2SAndroid Build Coastguard Workerrm -rf $RPM_BUILD_ROOT
183*5e7646d2SAndroid Build Coastguard Worker
184*5e7646d2SAndroid Build Coastguard Worker%files
185*5e7646d2SAndroid Build Coastguard Worker%docdir /usr/share/doc/cups
186*5e7646d2SAndroid Build Coastguard Worker%defattr(-,root,root)
187*5e7646d2SAndroid Build Coastguard Worker%dir /etc/cups
188*5e7646d2SAndroid Build Coastguard Worker%config(noreplace) /etc/cups/*.conf
189*5e7646d2SAndroid Build Coastguard Worker/etc/cups/cups-files.conf.default
190*5e7646d2SAndroid Build Coastguard Worker/etc/cups/cupsd.conf.default
191*5e7646d2SAndroid Build Coastguard Worker/etc/cups/snmp.conf.default
192*5e7646d2SAndroid Build Coastguard Worker%dir /etc/cups/ppd
193*5e7646d2SAndroid Build Coastguard Worker%attr(0700,root,root) %dir /etc/cups/ssl
194*5e7646d2SAndroid Build Coastguard Worker
195*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_dbus:1}%{!?_with_dbus:0}
196*5e7646d2SAndroid Build Coastguard Worker# DBUS
197*5e7646d2SAndroid Build Coastguard Worker/etc/dbus-1/system.d/*
198*5e7646d2SAndroid Build Coastguard Worker%endif
199*5e7646d2SAndroid Build Coastguard Worker
200*5e7646d2SAndroid Build Coastguard Worker# PAM
201*5e7646d2SAndroid Build Coastguard Worker%dir /etc/pam.d
202*5e7646d2SAndroid Build Coastguard Worker/etc/pam.d/*
203*5e7646d2SAndroid Build Coastguard Worker
204*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_systemd:1}%{!?_with_systemd:0}
205*5e7646d2SAndroid Build Coastguard Worker# SystemD
206*5e7646d2SAndroid Build Coastguard Worker/usr/lib/systemd/system/org.cups.cupsd.*
207*5e7646d2SAndroid Build Coastguard Worker
208*5e7646d2SAndroid Build Coastguard Worker%else
209*5e7646d2SAndroid Build Coastguard Worker# Legacy init support on Linux
210*5e7646d2SAndroid Build Coastguard Worker/etc/init.d/*
211*5e7646d2SAndroid Build Coastguard Worker/etc/rc0.d/*
212*5e7646d2SAndroid Build Coastguard Worker/etc/rc2.d/*
213*5e7646d2SAndroid Build Coastguard Worker/etc/rc3.d/*
214*5e7646d2SAndroid Build Coastguard Worker/etc/rc5.d/*
215*5e7646d2SAndroid Build Coastguard Worker%endif
216*5e7646d2SAndroid Build Coastguard Worker
217*5e7646d2SAndroid Build Coastguard Worker/usr/bin/cancel
218*5e7646d2SAndroid Build Coastguard Worker/usr/bin/cupstestppd
219*5e7646d2SAndroid Build Coastguard Worker/usr/bin/ippeveprinter
220*5e7646d2SAndroid Build Coastguard Worker/usr/bin/ipptool
221*5e7646d2SAndroid Build Coastguard Worker/usr/bin/lp*
222*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups
223*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups/backend
224*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_dnssd:1}%{!?_with_dnssd:0}
225*5e7646d2SAndroid Build Coastguard Worker# DNS-SD
226*5e7646d2SAndroid Build Coastguard Worker/usr/bin/ippfind
227*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/backend/dnssd
228*5e7646d2SAndroid Build Coastguard Worker%endif
229*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/backend/http
230*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/backend/https
231*5e7646d2SAndroid Build Coastguard Worker%attr(0700,root,root) /usr/lib/cups/backend/ipp
232*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/backend/ipps
233*5e7646d2SAndroid Build Coastguard Worker%attr(0700,root,root) /usr/lib/cups/backend/lpd
234*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/backend/snmp
235*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/backend/socket
236*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/backend/usb
237*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups/cgi-bin
238*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/cgi-bin/*
239*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups/command
240*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/command/*
241*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups/daemon
242*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/daemon/cups-deviced
243*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/daemon/cups-driverd
244*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/daemon/cups-exec
245*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups/driver
246*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups/filter
247*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/filter/*
248*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups/monitor
249*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/monitor/*
250*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups/notifier
251*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/notifier/*
252*5e7646d2SAndroid Build Coastguard Worker
253*5e7646d2SAndroid Build Coastguard Worker/usr/sbin/*
254*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/cups
255*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/cups/drv
256*5e7646d2SAndroid Build Coastguard Worker/usr/share/cups/drv/*
257*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/cups/ipptool
258*5e7646d2SAndroid Build Coastguard Worker/usr/share/cups/ipptool/*
259*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/cups/mime
260*5e7646d2SAndroid Build Coastguard Worker/usr/share/cups/mime/*
261*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/cups/model
262*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/cups/ppdc
263*5e7646d2SAndroid Build Coastguard Worker/usr/share/cups/ppdc/*
264*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/cups/templates
265*5e7646d2SAndroid Build Coastguard Worker/usr/share/cups/templates/*
266*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_libusb1:1}%{!?_with_libusb1:0}
267*5e7646d2SAndroid Build Coastguard Worker# LIBUSB quirks files
268*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/cups/usb
269*5e7646d2SAndroid Build Coastguard Worker/usr/share/cups/usb/*
270*5e7646d2SAndroid Build Coastguard Worker%endif
271*5e7646d2SAndroid Build Coastguard Worker
272*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/doc/cups
273*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/*.*
274*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/doc/cups/help
275*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/accounting.html
276*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/admin.html
277*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/cgi.html
278*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/encryption.html
279*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/firewalls.html
280*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/glossary.html
281*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/kerberos.html
282*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/license.html
283*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/man-*.html
284*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/network.html
285*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/options.html
286*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/overview.html
287*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/policies.html
288*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/ref-*.html
289*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/security.html
290*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/sharing.html
291*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/translation.html
292*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/doc/cups/images
293*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/images/*
294*5e7646d2SAndroid Build Coastguard Worker
295*5e7646d2SAndroid Build Coastguard Worker#%dir /usr/share/doc/cups/ca
296*5e7646d2SAndroid Build Coastguard Worker#/usr/share/doc/cups/ca/*
297*5e7646d2SAndroid Build Coastguard Worker#%dir /usr/share/doc/cups/cs
298*5e7646d2SAndroid Build Coastguard Worker#/usr/share/doc/cups/cs/*
299*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/doc/cups/de
300*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/de/*
301*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/doc/cups/es
302*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/es/*
303*5e7646d2SAndroid Build Coastguard Worker#%dir /usr/share/doc/cups/fr
304*5e7646d2SAndroid Build Coastguard Worker#/usr/share/doc/cups/fr/*
305*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/doc/cups/ja
306*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/ja/*
307*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/doc/cups/pt_BR
308*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/pt_BR/*
309*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/doc/cups/ru
310*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/ru/*
311*5e7646d2SAndroid Build Coastguard Worker
312*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/ca
313*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/ca/cups_ca.po
314*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/cs
315*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/cs/cups_cs.po
316*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/de
317*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/de/cups_de.po
318*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/en
319*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/en/cups_en.po
320*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/es
321*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/es/cups_es.po
322*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/fr
323*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/fr/cups_fr.po
324*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/it
325*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/it/cups_it.po
326*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/ja
327*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/ja/cups_ja.po
328*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/pt_BR
329*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/pt_BR/cups_pt_BR.po
330*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/ru
331*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/ru/cups_ru.po
332*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/locale/zh_CN
333*5e7646d2SAndroid Build Coastguard Worker/usr/share/locale/zh_CN/cups_zh_CN.po
334*5e7646d2SAndroid Build Coastguard Worker
335*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/man/man1
336*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/cancel.1.gz
337*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/cups.1.gz
338*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/cupstestppd.1.gz
339*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/ippeveprinter.1.gz
340*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_dnssd:1}%{!?_with_dnssd:0}
341*5e7646d2SAndroid Build Coastguard Worker# DNS-SD
342*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/ippfind.1.gz
343*5e7646d2SAndroid Build Coastguard Worker%endif
344*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/ipptool.1.gz
345*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/lp.1.gz
346*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/lpoptions.1.gz
347*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/lpq.1.gz
348*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/lpr.1.gz
349*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/lprm.1.gz
350*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/lpstat.1.gz
351*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/man/man5
352*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man5/*.conf.5.gz
353*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man5/cupsd-logs.5.gz
354*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man5/ipptoolfile.5.gz
355*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man5/mime.*.5.gz
356*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/man/man7
357*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man7/ippevepcl.7.gz
358*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man7/ippeveps.7.gz
359*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/man/man8
360*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cups-deviced.8.gz
361*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cups-driverd.8.gz
362*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cups-exec.8.gz
363*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cups-snmp.8.gz
364*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cupsaccept.8.gz
365*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cupsctl.8.gz
366*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cupsfilter.8.gz
367*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cupsd.8.gz
368*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cupsd-helper.8.gz
369*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cupsdisable.8.gz
370*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cupsenable.8.gz
371*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cupsreject.8.gz
372*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/lpadmin.8.gz
373*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/lpc.8.gz
374*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/lpinfo.8.gz
375*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/lpmove.8.gz
376*5e7646d2SAndroid Build Coastguard Worker
377*5e7646d2SAndroid Build Coastguard Worker%dir /var/cache/cups
378*5e7646d2SAndroid Build Coastguard Worker%attr(0775,root,sys) %dir /var/cache/cups/rss
379*5e7646d2SAndroid Build Coastguard Worker%dir /var/log/cups
380*5e7646d2SAndroid Build Coastguard Worker%dir /var/run/cups
381*5e7646d2SAndroid Build Coastguard Worker%attr(0711,lp,sys) %dir /var/run/cups/certs
382*5e7646d2SAndroid Build Coastguard Worker%attr(0710,lp,sys) %dir /var/spool/cups
383*5e7646d2SAndroid Build Coastguard Worker%attr(1770,lp,sys) %dir /var/spool/cups/tmp
384*5e7646d2SAndroid Build Coastguard Worker
385*5e7646d2SAndroid Build Coastguard Worker# Desktop files
386*5e7646d2SAndroid Build Coastguard Worker/usr/share/applications/*
387*5e7646d2SAndroid Build Coastguard Worker/usr/share/icons/*
388*5e7646d2SAndroid Build Coastguard Worker
389*5e7646d2SAndroid Build Coastguard Worker%files devel
390*5e7646d2SAndroid Build Coastguard Worker%defattr(-,root,root)
391*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/cups/examples
392*5e7646d2SAndroid Build Coastguard Worker/usr/share/cups/examples/*
393*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/man/man1
394*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/cups-config.1.gz
395*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man1/ppd*.1.gz
396*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/man/man5
397*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man5/ppdcfile.5.gz
398*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man7/backend.7.gz
399*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man7/filter.7.gz
400*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man7/notifier.7.gz
401*5e7646d2SAndroid Build Coastguard Worker
402*5e7646d2SAndroid Build Coastguard Worker/usr/bin/cups-config
403*5e7646d2SAndroid Build Coastguard Worker/usr/bin/ppd*
404*5e7646d2SAndroid Build Coastguard Worker%dir /usr/include/cups
405*5e7646d2SAndroid Build Coastguard Worker/usr/include/cups/*
406*5e7646d2SAndroid Build Coastguard Worker/usr/lib*/*.so
407*5e7646d2SAndroid Build Coastguard Worker
408*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_static:1}%{!?_with_static:0}
409*5e7646d2SAndroid Build Coastguard Worker/usr/lib*/*.a
410*5e7646d2SAndroid Build Coastguard Worker%endif
411*5e7646d2SAndroid Build Coastguard Worker
412*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/doc/cups/help
413*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/api*.html
414*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/cupspm.*
415*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/postscript-driver.html
416*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/ppd-compiler.html
417*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/raster-driver.html
418*5e7646d2SAndroid Build Coastguard Worker/usr/share/doc/cups/help/spec*.html
419*5e7646d2SAndroid Build Coastguard Worker
420*5e7646d2SAndroid Build Coastguard Worker%files libs
421*5e7646d2SAndroid Build Coastguard Worker%defattr(-,root,root)
422*5e7646d2SAndroid Build Coastguard Worker/usr/lib*/*.so.*
423*5e7646d2SAndroid Build Coastguard Worker
424*5e7646d2SAndroid Build Coastguard Worker%files lpd
425*5e7646d2SAndroid Build Coastguard Worker%defattr(-,root,root)
426*5e7646d2SAndroid Build Coastguard Worker%if %{?_with_systemd:1}%{!?_with_systemd:0}
427*5e7646d2SAndroid Build Coastguard Worker# SystemD
428*5e7646d2SAndroid Build Coastguard Worker/usr/lib/systemd/system/org.cups.cups-lpd*
429*5e7646d2SAndroid Build Coastguard Worker%else
430*5e7646d2SAndroid Build Coastguard Worker# Legacy xinetd
431*5e7646d2SAndroid Build Coastguard Worker/etc/xinetd.d/cups-lpd
432*5e7646d2SAndroid Build Coastguard Worker%endif
433*5e7646d2SAndroid Build Coastguard Worker
434*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups
435*5e7646d2SAndroid Build Coastguard Worker%dir /usr/lib/cups/daemon
436*5e7646d2SAndroid Build Coastguard Worker/usr/lib/cups/daemon/cups-lpd
437*5e7646d2SAndroid Build Coastguard Worker%dir /usr/share/man/man8
438*5e7646d2SAndroid Build Coastguard Worker/usr/share/man/man8/cups-lpd.8.gz
439