]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
e0660879 | 2 | # ESP Package Manager (EPM) file list for CUPS. |
ef416fc2 | 3 | # |
f20ce462 | 4 | # Copyright © 2007-2019 by Apple Inc. |
53f8d64f | 5 | # Copyright © 1997-2007 by Easy Software Products, all rights reserved. |
ef416fc2 | 6 | # |
53f8d64f MS |
7 | # Licensed under Apache License v2.0. See the file "LICENSE" for more |
8 | # information. | |
ef416fc2 | 9 | # |
10 | ||
11 | # Product information | |
9aff70cc | 12 | %product CUPS |
f20ce462 | 13 | %copyright 2007-2019 by Apple Inc. |
bc44d920 | 14 | %vendor Apple Inc. |
53f8d64f MS |
15 | #%license LICENSE |
16 | %readme LICENSE | |
07725fee | 17 | %format rpm |
18 | # Red Hat and their epochs... | |
19 | %version 1:@CUPS_VERSION@ | |
20 | %format !rpm | |
ef416fc2 | 21 | %version @CUPS_VERSION@ |
07725fee | 22 | %format all |
9aff70cc | 23 | %description CUPS is the standards-based, open source printing system developed by |
8072030b | 24 | %description Apple Inc. for macOS® and other UNIX®-like operating systems. |
ef416fc2 | 25 | |
26 | %format rpm | |
2abf387c | 27 | %provides lpd |
28 | %provides lpr | |
29 | %provides LPRng | |
30 | %replaces lpd | |
31 | %replaces lpr | |
32 | %replaces LPRng | |
33 | %requires cups-libs 1:@CUPS_VERSION@ | |
ef416fc2 | 34 | |
75bd9771 MS |
35 | # Replace all of the old localization subpackages from CUPS 1.2/1.3 |
36 | %replaces cups-da | |
37 | %replaces cups-de | |
38 | %replaces cups-es | |
39 | %replaces cups-et | |
40 | %replaces cups-fi | |
41 | %replaces cups-fr | |
42 | %replaces cups-he | |
43 | %replaces cups-id | |
44 | %replaces cups-it | |
45 | %replaces cups-ja | |
46 | %replaces cups-ko | |
47 | %replaces cups-nl | |
48 | %replaces cups-no | |
49 | %replaces cups-pl | |
50 | %replaces cups-pt | |
51 | %replaces cups-ru | |
52 | %replaces cups-sv | |
53 | %replaces cups-zh | |
54 | ||
55 | ||
ef416fc2 | 56 | %format deb |
57 | %provides cupsys | |
58 | %provides cupsys-client | |
59 | %provides cupsys-bsd | |
2abf387c | 60 | %requires cups-libs |
ef416fc2 | 61 | |
75bd9771 MS |
62 | # Replace all of the old localization subpackages from CUPS 1.2/1.3 |
63 | %replaces cups-da | |
64 | %replaces cups-de | |
65 | %replaces cups-es | |
66 | %replaces cups-et | |
67 | %replaces cups-fi | |
68 | %replaces cups-fr | |
69 | %replaces cups-he | |
70 | %replaces cups-id | |
71 | %replaces cups-it | |
72 | %replaces cups-ja | |
73 | %replaces cups-ko | |
74 | %replaces cups-nl | |
75 | %replaces cups-no | |
76 | %replaces cups-pl | |
77 | %replaces cups-pt | |
78 | %replaces cups-ru | |
79 | %replaces cups-sv | |
80 | %replaces cups-zh | |
81 | ||
82 | ||
ef416fc2 | 83 | %format pkg |
84 | %replaces SUNWlpmsg LP Alerts | |
85 | %replaces SUNWlpr LP Print Service, (Root) | |
86 | %replaces SUNWlps LP Print Service - Server, (Usr) | |
87 | %replaces SUNWlpu LP Print Service - Client, (Usr) | |
88 | %replaces SUNWpsu LP Print Server, (Usr) | |
89 | %replaces SUNWpsr LP Print Server, (Root) | |
90 | %replaces SUNWpcu LP Print Client, (Usr) | |
91 | %replaces SUNWpcr LP Print Client, (Root) | |
92 | %replaces SUNWppm | |
93 | %replaces SUNWmp | |
94 | %replaces SUNWscplp SunOS Print Compatibility | |
95 | ||
96 | %format inst | |
97 | %replaces patch*.print_*.* 0 0 1289999999 1289999999 | |
98 | %replaces maint*.print_*.* 0 0 1289999999 1289999999 | |
99 | %replaces print 0 0 1289999999 1289999999 | |
100 | %replaces fw_cups 0 0 1289999999 1289999999 | |
101 | %incompat patch*.print_*.* 0 0 1289999999 1289999999 | |
102 | %incompat maint*.print_*.* 0 0 1289999999 1289999999 | |
103 | %incompat print 0 0 1289999999 1289999999 | |
104 | %incompat fw_cups 0 0 1289999999 1289999999 | |
2abf387c | 105 | %requires cups.sw.libs |
106 | ||
75bd9771 MS |
107 | # Replace all of the old localization subpackages from CUPS 1.2/1.3 |
108 | %replaces cups.sw.da | |
109 | %replaces cups.sw.de | |
110 | %replaces cups.sw.es | |
111 | %replaces cups.sw.et | |
112 | %replaces cups.sw.fi | |
113 | %replaces cups.sw.fr | |
114 | %replaces cups.sw.he | |
115 | %replaces cups.sw.id | |
116 | %replaces cups.sw.it | |
117 | %replaces cups.sw.ja | |
118 | %replaces cups.sw.ko | |
119 | %replaces cups.sw.nl | |
120 | %replaces cups.sw.no | |
121 | %replaces cups.sw.pl | |
122 | %replaces cups.sw.pt | |
123 | %replaces cups.sw.ru | |
124 | %replaces cups.sw.sv | |
125 | %replaces cups.sw.zh | |
126 | ||
2abf387c | 127 | %format portable |
128 | %requires cups-libs | |
ef416fc2 | 129 | |
75bd9771 MS |
130 | # Replace all of the old localization subpackages from CUPS 1.2/1.3 |
131 | %replaces cups-da | |
132 | %replaces cups-de | |
133 | %replaces cups-es | |
134 | %replaces cups-et | |
135 | %replaces cups-fi | |
136 | %replaces cups-fr | |
137 | %replaces cups-he | |
138 | %replaces cups-id | |
139 | %replaces cups-it | |
140 | %replaces cups-ja | |
141 | %replaces cups-ko | |
142 | %replaces cups-nl | |
143 | %replaces cups-no | |
144 | %replaces cups-pl | |
145 | %replaces cups-pt | |
146 | %replaces cups-ru | |
147 | %replaces cups-sv | |
148 | %replaces cups-zh | |
149 | ||
ef416fc2 | 150 | %format all |
151 | ||
152 | %subpackage libs | |
2abf387c | 153 | %description Shared libraries |
ef416fc2 | 154 | %format deb |
155 | %provides libcups1 | |
156 | %provides libcupsys2 | |
157 | %provides libcupsys2-gnutls10 | |
158 | %provides libcupsimage2 | |
159 | %format all | |
160 | ||
161 | %subpackage devel | |
2abf387c | 162 | %description Development environment |
ef416fc2 | 163 | %format deb |
164 | %provides libcupsys2-dev | |
165 | %provides libcupsimage2-dev | |
166 | %format all | |
167 | ||
168 | %subpackage lpd | |
2abf387c | 169 | %description LPD support |
ef416fc2 | 170 | |
171 | %subpackage | |
172 | ||
173 | ||
174 | # | |
175 | # GNU variables... | |
176 | # | |
177 | ||
178 | $prefix=@prefix@ | |
179 | $exec_prefix=@exec_prefix@ | |
180 | $bindir=@bindir@ | |
d09495fa | 181 | $datarootdir=@datarootdir@ |
ef416fc2 | 182 | $datadir=@datadir@ |
183 | $includedir=@includedir@ | |
184 | $infodir=@infodir@ | |
185 | $libdir=@libdir@ | |
186 | $libexecdir=@libexecdir@ | |
187 | $localstatedir=@localstatedir@ | |
188 | $mandir=@mandir@ | |
189 | $oldincludedir=@oldincludedir@ | |
190 | $sbindir=@sbindir@ | |
191 | $sharedstatedir=@sharedstatedir@ | |
192 | $srcdir=@srcdir@ | |
193 | $sysconfdir=@sysconfdir@ | |
194 | $top_srcdir=@top_srcdir@ | |
195 | ||
196 | # | |
197 | # ESP variables... | |
198 | # | |
199 | ||
200 | $AMANDIR=@AMANDIR@ | |
201 | $BINDIR=@bindir@ | |
202 | $CACHEDIR=@CUPS_CACHEDIR@ | |
203 | $DATADIR=@CUPS_DATADIR@ | |
204 | $DOCDIR=@CUPS_DOCROOT@ | |
205 | $INCLUDEDIR=${includedir} | |
206 | $INITDIR=@INITDIR@ | |
207 | $INITDDIR=@INITDDIR@ | |
208 | $LIBDIR=${libdir} | |
209 | $LOCALEDIR=@CUPS_LOCALEDIR@ | |
210 | $LOGDIR=@CUPS_LOGDIR@ | |
211 | $MANDIR=@mandir@ | |
212 | $PAMDIR=@PAMDIR@ | |
213 | $PMANDIR=@PMANDIR@ | |
214 | $REQUESTS=@CUPS_REQUESTS@ | |
215 | $SBINDIR=@sbindir@ | |
216 | $SERVERBIN=@CUPS_SERVERBIN@ | |
217 | $SERVERROOT=@CUPS_SERVERROOT@ | |
218 | $STATEDIR=@CUPS_STATEDIR@ | |
d09495fa | 219 | $XINETD=@XINETD@ |
e1d6a774 | 220 | $LIB32DIR=@LIB32DIR@ |
221 | $LIB64DIR=@LIB64DIR@ | |
222 | ||
7a14d768 | 223 | $MDNS=@MDNS@ |
e1d6a774 | 224 | |
ef416fc2 | 225 | $CUPS_USER=@CUPS_USER@ |
226 | $CUPS_GROUP=@CUPS_GROUP@ | |
bd7854cb | 227 | $CUPS_PRIMARY_SYSTEM_GROUP=@CUPS_PRIMARY_SYSTEM_GROUP@ |
228 | $CUPS_PERM=0@CUPS_CONFIG_FILE_PERM@ | |
ef416fc2 | 229 | |
d6ae789d | 230 | $INSTALLSTATIC=@INSTALLSTATIC@ |
231 | ||
ef416fc2 | 232 | $MAN1EXT=@MAN1EXT@ |
ac884b6a | 233 | $MAN3EXT=@MAN3EXT@ |
ef416fc2 | 234 | $MAN5EXT=@MAN5EXT@ |
a74454a7 | 235 | $MAN7EXT=@MAN7EXT@ |
8ca02f3c | 236 | $MAN8EXT=@MAN8EXT@ |
ef416fc2 | 237 | $MAN8DIR=@MAN8DIR@ |
238 | ||
83e08001 | 239 | $LIBZ=@LIBZ@ |
ef416fc2 | 240 | $DSOLIBS=@DSOLIBS@ |
241 | ||
242 | # Make sure the MD5 password file is now owned by CUPS_USER... | |
243 | %postinstall if test -f $SERVERROOT/passwd.md5; then | |
244 | %postinstall chown $CUPS_USER $SERVERROOT/passwd.md5 | |
245 | %postinstall fi | |
246 | ||
247 | # Make sure the shared libraries are refreshed... | |
248 | %subpackage libs | |
249 | %system linux | |
250 | %postinstall ldconfig | |
251 | %system all | |
252 | %subpackage | |
253 | ||
254 | # Server programs | |
255 | %system all | |
256 | # Server files | |
f701418f | 257 | f 0555 root sys $SBINDIR/cupsd scheduler/cupsd |
ef416fc2 | 258 | |
259 | d 0755 root sys $SERVERBIN - | |
eac3a0a0 MS |
260 | %system darwin |
261 | d 0755 root sys $SERVERBIN/apple - | |
262 | f 0555 root sys $SERVERBIN/apple/ipp backend/ipp | |
263 | l 0755 root sys $SERVERBIN/apple/http ipp | |
264 | l 0755 root sys $SERVERBIN/apple/https ipp | |
265 | l 0755 root sys $SERVERBIN/apple/ipps ipp | |
266 | %system all | |
ef416fc2 | 267 | d 0755 root sys $SERVERBIN/backend - |
f701418f | 268 | f 0500 root sys $SERVERBIN/backend/ipp backend/ipp |
89d46774 | 269 | l 0700 root sys $SERVERBIN/backend/http ipp |
eac3a0a0 MS |
270 | l 0700 root sys $SERVERBIN/backend/https ipp |
271 | l 0700 root sys $SERVERBIN/backend/ipps ipp | |
f701418f | 272 | f 0500 root sys $SERVERBIN/backend/lpd backend/lpd |
c5571a1d | 273 | %if DNSSD_BACKEND |
f701418f | 274 | f 0500 root sys $SERVERBIN/backend/dnssd backend/dnssd |
f3c17241 | 275 | %system darwin |
c5571a1d | 276 | l 0700 root sys $SERVERBIN/backend/mdns dnssd |
f3c17241 | 277 | %system all |
7a14d768 | 278 | %endif |
f701418f MS |
279 | f 0555 root sys $SERVERBIN/backend/snmp backend/snmp |
280 | f 0555 root sys $SERVERBIN/backend/socket backend/socket | |
281 | f 0555 root sys $SERVERBIN/backend/usb backend/usb | |
ef416fc2 | 282 | d 0755 root sys $SERVERBIN/cgi-bin - |
f701418f MS |
283 | f 0555 root sys $SERVERBIN/cgi-bin/admin.cgi cgi-bin/admin.cgi |
284 | f 0555 root sys $SERVERBIN/cgi-bin/classes.cgi cgi-bin/classes.cgi | |
285 | f 0555 root sys $SERVERBIN/cgi-bin/help.cgi cgi-bin/help.cgi | |
286 | f 0555 root sys $SERVERBIN/cgi-bin/jobs.cgi cgi-bin/jobs.cgi | |
287 | f 0555 root sys $SERVERBIN/cgi-bin/printers.cgi cgi-bin/printers.cgi | |
ef416fc2 | 288 | d 0755 root sys $SERVERBIN/daemon - |
f701418f MS |
289 | f 0555 root sys $SERVERBIN/daemon/cups-deviced scheduler/cups-deviced |
290 | f 0555 root sys $SERVERBIN/daemon/cups-driverd scheduler/cups-driverd | |
ef416fc2 | 291 | d 0755 root sys $SERVERBIN/driver - |
292 | d 0755 root sys $SERVERBIN/filter - | |
f701418f MS |
293 | f 0555 root sys $SERVERBIN/filter/commandtops filter/commandtops |
294 | f 0555 root sys $SERVERBIN/filter/gziptoany filter/gziptoany | |
f701418f | 295 | f 0555 root sys $SERVERBIN/filter/pstops filter/pstops |
f701418f | 296 | f 0555 root sys $SERVERBIN/filter/rastertolabel filter/rastertolabel |
ef416fc2 | 297 | l 0755 root sys $SERVERBIN/filter/rastertodymo rastertolabel |
f701418f MS |
298 | f 0555 root sys $SERVERBIN/filter/rastertoepson filter/rastertoepson |
299 | f 0555 root sys $SERVERBIN/filter/rastertohp filter/rastertohp | |
07ed0e9a | 300 | f 0555 root sys $SERVERBIN/filter/rastertopwg filter/rastertopwg |
f20ce462 MS |
301 | d 0755 root sys $SERVERBIN/ippeveprinter - |
302 | f 0555 root sys $SERVERBIN/ippeveprinter/ippevepcl test/ippevepcl | |
303 | f 0555 root sys $SERVERBIN/ippeveprinter/ippeveps test/ippeveps | |
ef416fc2 | 304 | d 0755 root sys $SERVERBIN/notifier - |
f701418f | 305 | f 0555 root sys $SERVERBIN/notifier/mailto notifier/mailto |
ef416fc2 | 306 | |
307 | %subpackage lpd | |
308 | d 0755 root sys $SERVERBIN/daemon - | |
f701418f | 309 | f 0555 root sys $SERVERBIN/daemon/cups-lpd scheduler/cups-lpd |
ef416fc2 | 310 | %subpackage |
311 | ||
312 | # Admin commands | |
313 | d 0755 root sys $BINDIR - | |
1f6f3dbc MS |
314 | l 0755 root sys $BINDIR/enable $SBINDIR/cupsaccept |
315 | l 0755 root sys $BINDIR/disable $SBINDIR/cupsaccept | |
ef416fc2 | 316 | d 0755 root sys $LIBDIR - |
1f6f3dbc | 317 | l 0755 root sys $LIBDIR/accept $SBINDIR/cupsaccept |
ef416fc2 | 318 | l 0755 root sys $LIBDIR/lpadmin $SBINDIR/lpadmin |
1f6f3dbc | 319 | l 0755 root sys $LIBDIR/reject $SBINDIR/cupsaccept |
49d87452 | 320 | d 0755 root sys $SBINDIR - |
1f6f3dbc | 321 | l 0755 root sys $SBINDIR/accept cupsaccept |
f701418f | 322 | f 0555 root sys $SBINDIR/cupsaccept systemv/cupsaccept |
f701418f | 323 | f 0555 root sys $SBINDIR/cupsctl systemv/cupsctl |
49d87452 MS |
324 | l 0755 root sys $SBINDIR/cupsdisable accept |
325 | l 0755 root sys $SBINDIR/cupsenable accept | |
326 | l 0755 root sys $SBINDIR/cupsreject accept | |
f701418f MS |
327 | f 0555 root sys $SBINDIR/lpadmin systemv/lpadmin |
328 | f 0555 root sys $SBINDIR/lpc berkeley/lpc | |
329 | f 0555 root sys $SBINDIR/lpinfo systemv/lpinfo | |
330 | f 0555 root sys $SBINDIR/lpmove systemv/lpmove | |
1f6f3dbc | 331 | l 0755 root sys $SBINDIR/reject cupsaccept |
ef416fc2 | 332 | |
333 | %system irix | |
334 | l 0755 root sys /usr/etc/lpc $SBINDIR/lpc | |
335 | %system all | |
336 | ||
337 | # User commands | |
338 | d 0755 root sys $BINDIR - | |
f701418f | 339 | f 0555 root sys $BINDIR/cancel systemv/cancel |
f701418f | 340 | f 0555 root sys $BINDIR/cupstestppd systemv/cupstestppd |
f20ce462 MS |
341 | f 0555 root sys $BINDIR/ippeveprinter test/ippeveprinter |
342 | %if DNSSD_BACKEND | |
343 | f 0555 root sys $BINDIR/ippfind test/ippfind | |
344 | %endif | |
aaf19ab0 | 345 | f 0555 root sys $BINDIR/ipptool test/ipptool |
f701418f MS |
346 | f 0555 root sys $BINDIR/lp systemv/lp |
347 | f 0555 root sys $BINDIR/lpoptions systemv/lpoptions | |
f701418f MS |
348 | f 0555 root sys $BINDIR/lpq berkeley/lpq |
349 | f 0555 root sys $BINDIR/lpr berkeley/lpr | |
350 | f 0555 root sys $BINDIR/lprm berkeley/lprm | |
351 | f 0555 root sys $BINDIR/lpstat systemv/lpstat | |
ef416fc2 | 352 | |
353 | %system irix | |
354 | l 0755 root sys /usr/bsd/lpq $BINDIR/lpq | |
355 | l 0755 root sys /usr/bsd/lpr $BINDIR/lpr | |
356 | l 0755 root sys /usr/bsd/lprm $BINDIR/lprm | |
357 | %system all | |
358 | ||
359 | # DSOs | |
360 | %if DSOLIBS | |
361 | %subpackage libs | |
362 | %system hpux | |
f701418f | 363 | f 0555 root sys $LIBDIR/libcups.sl.2 cups/libcups.sl.2 nostrip() |
ef416fc2 | 364 | l 0755 root sys $LIBDIR/libcups.sl libcups.sl.2 |
f701418f | 365 | f 0555 root sys $LIBDIR/libcupsimage.sl.2 filter/libcupsimage.sl.2 nostrip() |
ef416fc2 | 366 | l 0755 root sys $LIBDIR/libcupsimage.sl libcupsimage.sl.2 |
367 | %system aix | |
f701418f | 368 | f 0555 root sys $LIBDIR/libcups_s.a cups/libcups_s.a nostrip() |
f701418f | 369 | f 0555 root sys $LIBDIR/libcupsimage_s.a filter/libcupsimage_s.a nostrip() |
ef416fc2 | 370 | %system darwin |
f701418f | 371 | f 0555 root sys $LIBDIR/libcups.2.dylib cups/libcups.2.dylib nostrip() |
ef416fc2 | 372 | l 0755 root sys $LIBDIR/libcups.dylib libcups.2.dylib |
f701418f | 373 | f 0555 root sys $LIBDIR/libcupsimage.2.dylib filter/libcupsimage.2.dylib nostrip() |
ef416fc2 | 374 | l 0755 root sys $LIBDIR/libcupsimage.dylib libcupsimage.2.dylib |
375 | %system !hpux !aix !darwin | |
f701418f | 376 | f 0555 root sys $LIBDIR/libcups.so.2 cups/libcups.so.2 nostrip() |
ef416fc2 | 377 | l 0755 root sys $LIBDIR/libcups.so libcups.so.2 |
f701418f | 378 | f 0555 root sys $LIBDIR/libcupsimage.so.2 filter/libcupsimage.so.2 nostrip() |
ef416fc2 | 379 | l 0755 root sys $LIBDIR/libcupsimage.so libcupsimage.so.2 |
380 | %system all | |
381 | %subpackage | |
382 | %endif | |
383 | ||
384 | # Directories | |
385 | d 0755 root sys $LOGDIR - | |
bd7854cb | 386 | d 0710 root $CUPS_GROUP $REQUESTS - |
387 | d 1770 root $CUPS_GROUP $REQUESTS/tmp - | |
388 | d 0775 root $CUPS_GROUP $CACHEDIR - | |
f7deaa1a | 389 | d 0775 root $CUPS_GROUP $CACHEDIR/rss - |
bd7854cb | 390 | #d 0755 root $CUPS_GROUP $CACHEDIR/ppd - |
3dd9c340 | 391 | %system !darwin |
bd7854cb | 392 | d 0755 root $CUPS_GROUP $STATEDIR - |
3dd9c340 | 393 | %system all |
bd7854cb | 394 | d 0511 root $CUPS_PRIMARY_SYSTEM_GROUP $STATEDIR/certs - |
ef416fc2 | 395 | |
396 | # Data files | |
3980a9c1 MS |
397 | f 0444 root sys $LOCALEDIR/ca/cups_ca.po locale/cups_ca.po |
398 | f 0444 root sys $LOCALEDIR/cs/cups_cs.po locale/cups_cs.po | |
f3c17241 | 399 | #f 0444 root sys $LOCALEDIR/da/cups_da.po locale/cups_da.po |
3980a9c1 MS |
400 | f 0444 root sys $LOCALEDIR/de/cups_de.po locale/cups_de.po |
401 | f 0444 root sys $LOCALEDIR/es/cups_es.po locale/cups_es.po | |
f701418f | 402 | #f 0444 root sys $LOCALEDIR/et/cups_et.po locale/cups_et.po |
f3c17241 MS |
403 | #f 0444 root sys $LOCALEDIR/eu/cups_eu.po locale/cups_eu.po |
404 | #f 0444 root sys $LOCALEDIR/fi/cups_fi.po locale/cups_fi.po | |
3980a9c1 | 405 | f 0444 root sys $LOCALEDIR/fr/cups_fr.po locale/cups_fr.po |
f701418f | 406 | #f 0444 root sys $LOCALEDIR/he/cups_he.po locale/cups_he.po |
f3c17241 | 407 | #f 0444 root sys $LOCALEDIR/id/cups_id.po locale/cups_id.po |
3980a9c1 MS |
408 | f 0444 root sys $LOCALEDIR/it/cups_it.po locale/cups_it.po |
409 | f 0444 root sys $LOCALEDIR/ja/cups_ja.po locale/cups_ja.po | |
f3c17241 MS |
410 | #f 0444 root sys $LOCALEDIR/ko/cups_ko.po locale/cups_ko.po |
411 | #f 0444 root sys $LOCALEDIR/nl/cups_nl.po locale/cups_nl.po | |
412 | #f 0444 root sys $LOCALEDIR/no/cups_no.po locale/cups_no.po | |
413 | #f 0444 root sys $LOCALEDIR/pl/cups_pl.po locale/cups_pl.po | |
414 | #f 0444 root sys $LOCALEDIR/pt/cups_pt.po locale/cups_pt.po | |
3980a9c1 MS |
415 | f 0444 root sys $LOCALEDIR/pt_BR/cups_pt_BR.po locale/cups_pt_BR.po |
416 | f 0444 root sys $LOCALEDIR/ru/cups_ru.po locale/cups_ru.po | |
f3c17241 MS |
417 | #f 0444 root sys $LOCALEDIR/sv/cups_sv.po locale/cups_sv.po |
418 | #f 0444 root sys $LOCALEDIR/zh/cups_zh.po locale/cups_zh.po | |
419 | #f 0444 root sys $LOCALEDIR/zh_TW/cups_zh_TW.po locale/cups_zh_TW.po | |
ef416fc2 | 420 | |
421 | d 0755 root sys $DATADIR - | |
422 | ||
423 | d 0755 root sys $DATADIR/banners - | |
ef416fc2 | 424 | |
ef416fc2 | 425 | d 0755 root sys $DATADIR/data - |
ef416fc2 | 426 | |
634763e8 | 427 | d 0755 root sys $DATADIR/drv - |
f701418f | 428 | f 0444 root sys $DATADIR/drv/sample.drv ppdc/sample.drv |
634763e8 | 429 | |
28b9d139 | 430 | d 0755 root sys $DATADIR/examples - |
f701418f | 431 | f 0444 root sys $DATADIR/examples examples/*.drv |
28b9d139 | 432 | |
aaf19ab0 MS |
433 | d 0755 root sys $DATADIR/ipptool - |
434 | f 0444 root sys $DATADIR/ipptool/create-printer-subscription.test test/create-printer-subscription.test | |
435 | f 0444 root sys $DATADIR/ipptool/get-completed-jobs.test test/get-completed-jobs.test | |
436 | f 0444 root sys $DATADIR/ipptool/get-jobs.test test/get-jobs.test | |
f3c17241 MS |
437 | f 0444 root sys $DATADIR/ipptool/get-printer-attributes.test test/get-printer-attributes.test |
438 | f 0444 root sys $DATADIR/ipptool/print-job.test test/print-job.test | |
439 | f 0444 root sys $DATADIR/ipptool test/document-*.p* | |
aaf19ab0 | 440 | f 0444 root sys $DATADIR/ipptool test/ipp-*.test |
f3c17241 | 441 | f 0444 root sys $DATADIR/ipptool test/onepage-*.p* |
a29fd7dd | 442 | f 0444 root sys $DATADIR/ipptool test/testfile.* |
f3c17241 MS |
443 | f 0444 root sys $DATADIR/ipptool/color.jpg test/color.jpg |
444 | f 0444 root sys $DATADIR/ipptool/gray.jpg test/gray.jpg | |
f8b3a85b | 445 | |
dd1abb6b | 446 | d 0755 root sys $DATADIR/mime - |
f701418f MS |
447 | f 0444 root sys $DATADIR/mime/mime.convs conf/mime.convs |
448 | f 0444 root sys $DATADIR/mime/mime.types conf/mime.types | |
dd1abb6b | 449 | |
ef416fc2 | 450 | d 0755 root sys $DATADIR/model - |
ef416fc2 | 451 | |
ac884b6a | 452 | d 0755 root sys $DATADIR/ppdc - |
f701418f MS |
453 | f 0444 root sys $DATADIR/ppdc data/*.defs |
454 | f 0444 root sys $DATADIR/ppdc data/*.h | |
ac884b6a | 455 | |
ef416fc2 | 456 | d 0755 root sys $DATADIR/templates - |
f701418f | 457 | f 0444 root sys $DATADIR/templates templates/*.tmpl |
ef416fc2 | 458 | |
a41f09e2 | 459 | ## Template files |
3a16bd9c MS |
460 | d 0755 root sys $DATADIR/templates/de |
461 | f 0444 root sys $DATADIR/templates/de templates/de/*.tmpl | |
634763e8 | 462 | |
3a16bd9c MS |
463 | d 0755 root sys $DATADIR/templates/es |
464 | f 0444 root sys $DATADIR/templates/es templates/es/*.tmpl | |
634763e8 | 465 | |
a41f09e2 | 466 | #d 0755 root sys $DATADIR/templates/et |
f701418f MS |
467 | #f 0444 root sys $DATADIR/templates/et templates/et/*.tmpl |
468 | ||
f3c17241 MS |
469 | #d 0755 root sys $DATADIR/templates/eu |
470 | #f 0444 root sys $DATADIR/templates/eu templates/eu/*.tmpl | |
634763e8 | 471 | |
3a16bd9c MS |
472 | d 0755 root sys $DATADIR/templates/fr |
473 | f 0444 root sys $DATADIR/templates/fr templates/fr/*.tmpl | |
634763e8 | 474 | |
a41f09e2 | 475 | #d 0755 root sys $DATADIR/templates/he |
f701418f | 476 | #f 0444 root sys $DATADIR/templates/he templates/he/*.tmpl |
634763e8 | 477 | |
f3c17241 MS |
478 | #d 0755 root sys $DATADIR/templates/id |
479 | #f 0444 root sys $DATADIR/templates/id templates/id/*.tmpl | |
f8b3a85b | 480 | |
f3c17241 MS |
481 | #d 0755 root sys $DATADIR/templates/it |
482 | #f 0444 root sys $DATADIR/templates/it templates/it/*.tmpl | |
634763e8 | 483 | |
3a16bd9c MS |
484 | d 0755 root sys $DATADIR/templates/ja |
485 | f 0444 root sys $DATADIR/templates/ja templates/ja/*.tmpl | |
634763e8 | 486 | |
f3c17241 MS |
487 | #d 0755 root sys $DATADIR/templates/pl |
488 | #f 0444 root sys $DATADIR/templates/pl templates/pl/*.tmpl | |
b9faaae1 | 489 | |
3a16bd9c MS |
490 | d 0755 root sys $DATADIR/templates/pt_BR |
491 | f 0444 root sys $DATADIR/templates/pt_BR templates/pt_BR/*.tmpl | |
492 | ||
493 | d 0755 root sys $DATADIR/templates/ru | |
494 | f 0444 root sys $DATADIR/templates/ru templates/ru/*.tmpl | |
634763e8 | 495 | |
a41f09e2 | 496 | #d 0755 root sys $DATADIR/templates/sv |
f701418f | 497 | #f 0444 root sys $DATADIR/templates/sv templates/sv/*.tmpl |
634763e8 | 498 | |
a41f09e2 | 499 | #d 0755 root sys $DATADIR/templates/zh_TW |
f701418f | 500 | #f 0444 root sys $DATADIR/templates/zh_TW templates/zh_TW/*.tmpl |
bd7854cb | 501 | |
ef416fc2 | 502 | # Config files |
3dd9c340 | 503 | d 0755 root $CUPS_GROUP $SERVERROOT - |
bd7854cb | 504 | d 0755 root $CUPS_GROUP $SERVERROOT/ppd - |
8ca02f3c | 505 | d 0700 root $CUPS_GROUP $SERVERROOT/ssl - |
c41769ff MS |
506 | c $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cups-files.conf conf/cups-files.conf |
507 | f $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cups-files.conf.default conf/cups-files.conf | |
83e08001 | 508 | c $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cupsd.conf conf/cupsd.conf |
bd7854cb | 509 | f $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cupsd.conf.default conf/cupsd.conf |
83e08001 | 510 | c $CUPS_PERM root $CUPS_GROUP $SERVERROOT/snmp.conf conf/snmp.conf |
ef416fc2 | 511 | |
512 | %if PAMDIR | |
513 | d 0755 root sys $PAMDIR - | |
514 | c 0644 root sys $PAMDIR/cups conf/@PAMFILE@ | |
515 | %endif | |
516 | ||
517 | %subpackage devel | |
518 | # Developer files | |
f701418f | 519 | f 0555 root sys $BINDIR/cups-config cups-config |
ef416fc2 | 520 | d 0755 root sys $INCLUDEDIR/cups - |
f701418f MS |
521 | f 0444 root sys $INCLUDEDIR/cups/adminutil.h cups/adminutil.h |
522 | f 0444 root sys $INCLUDEDIR/cups/array.h cups/array.h | |
523 | f 0444 root sys $INCLUDEDIR/cups/backend.h cups/backend.h | |
524 | f 0444 root sys $INCLUDEDIR/cups/cups.h cups/cups.h | |
525 | f 0444 root sys $INCLUDEDIR/cups/dir.h cups/dir.h | |
f701418f MS |
526 | f 0444 root sys $INCLUDEDIR/cups/file.h cups/file.h |
527 | f 0444 root sys $INCLUDEDIR/cups/http.h cups/http.h | |
f701418f | 528 | f 0444 root sys $INCLUDEDIR/cups/ipp.h cups/ipp.h |
f701418f MS |
529 | f 0444 root sys $INCLUDEDIR/cups/language.h cups/language.h |
530 | f 0444 root sys $INCLUDEDIR/cups/ppd.h cups/ppd.h | |
63c5db7d | 531 | f 0444 root sys $INCLUDEDIR/cups/pwg.h cups/pwg.h |
f701418f | 532 | f 0444 root sys $INCLUDEDIR/cups/raster.h cups/raster.h |
f3c17241 | 533 | f 0444 root sys $INCLUDEDIR/cups/sidechannel.h cups/sidechannel.h |
f701418f | 534 | f 0444 root sys $INCLUDEDIR/cups/transcode.h cups/transcode.h |
f3c17241 | 535 | f 0444 root sys $INCLUDEDIR/cups/versioning.h cups/versioning.h |
ef416fc2 | 536 | |
e53920b9 | 537 | %if INSTALLSTATIC |
f701418f | 538 | f 0444 root sys $LIBDIR/libcups.a cups/libcups.a |
f701418f | 539 | f 0444 root sys $LIBDIR/libcupsimage.a filter/libcupsimage.a |
d6ae789d | 540 | %endif |
ef416fc2 | 541 | |
542 | d 0755 root sys $DOCDIR/help - | |
f701418f | 543 | f 0444 root sys $DOCDIR/help doc/help/api*.html |
798d6e29 | 544 | f 0444 root sys $DOCDIR/help/cupspm.html doc/help/cupspm.html |
f701418f MS |
545 | f 0444 root sys $DOCDIR/help/postscript-driver.html doc/help/postscript-driver.html |
546 | f 0444 root sys $DOCDIR/help/ppd-compiler.html doc/help/ppd-compiler.html | |
547 | f 0444 root sys $DOCDIR/help/raster-driver.html doc/help/raster-driver.html | |
548 | f 0444 root sys $DOCDIR/help doc/help/spec*.html | |
ef416fc2 | 549 | %subpackage |
550 | ||
551 | # Documentation files | |
552 | d 0755 root sys $DOCDIR - | |
f701418f MS |
553 | f 0444 root sys $DOCDIR doc/*.css |
554 | f 0444 root sys $DOCDIR doc/*.html | |
63c5db7d | 555 | f 0444 root sys $DOCDIR/apple-touch-icon.png doc/apple-touch-icon.png |
ef416fc2 | 556 | d 0755 root sys $DOCDIR/help - |
f701418f MS |
557 | f 0444 root sys $DOCDIR/help/accounting.html doc/help/accounting.html |
558 | f 0444 root sys $DOCDIR/help/cgi.html doc/help/cgi.html | |
0ebe8e7c | 559 | f 0444 root sys $DOCDIR/help/encryption.html doc/help/encryption.html |
f701418f MS |
560 | f 0444 root sys $DOCDIR/help/glossary.html doc/help/glossary.html |
561 | f 0444 root sys $DOCDIR/help/kerberos.html doc/help/kerberos.html | |
562 | f 0444 root sys $DOCDIR/help/license.html doc/help/license.html | |
563 | f 0444 root sys $DOCDIR/help/network.html doc/help/network.html | |
564 | f 0444 root sys $DOCDIR/help/options.html doc/help/options.html | |
565 | f 0444 root sys $DOCDIR/help/overview.html doc/help/overview.html | |
566 | f 0444 root sys $DOCDIR/help/policies.html doc/help/policies.html | |
567 | f 0444 root sys $DOCDIR/help/security.html doc/help/security.html | |
568 | f 0444 root sys $DOCDIR/help/sharing.html doc/help/sharing.html | |
f701418f | 569 | f 0444 root sys $DOCDIR/help/translation.html doc/help/translation.html |
f701418f MS |
570 | f 0444 root sys $DOCDIR/help doc/help/man-*.html |
571 | f 0444 root sys $DOCDIR/help doc/help/ref-*.html | |
ef416fc2 | 572 | d 0755 root sys $DOCDIR/images - |
f701418f MS |
573 | f 0444 root sys $DOCDIR/images doc/images/*.gif |
574 | f 0444 root sys $DOCDIR/images doc/images/*.jpg | |
575 | f 0444 root sys $DOCDIR/images doc/images/*.png | |
576 | f 0444 root sys $DOCDIR/robots.txt doc/robots.txt | |
ef416fc2 | 577 | |
e1d6a774 | 578 | # Localized documentation files |
63c5db7d MS |
579 | d 0755 root sys $DOCDIR/de |
580 | f 0444 root sys $DOCDIR/de doc/de/*.html | |
634763e8 | 581 | |
63c5db7d MS |
582 | d 0755 root sys $DOCDIR/es |
583 | f 0444 root sys $DOCDIR/es doc/es/*.html | |
634763e8 | 584 | |
0a682745 | 585 | #d 0755 root sys $DOCDIR/et |
f701418f MS |
586 | #f 0444 root sys $DOCDIR/et doc/et/*.html |
587 | ||
f3c17241 MS |
588 | #d 0755 root sys $DOCDIR/eu |
589 | #f 0444 root sys $DOCDIR/eu doc/eu/*.html | |
634763e8 | 590 | |
0a682745 | 591 | #d 0755 root sys $DOCDIR/fr |
f701418f | 592 | #f 0444 root sys $DOCDIR/fr doc/fr/*.html |
634763e8 | 593 | |
0a682745 | 594 | #d 0755 root sys $DOCDIR/he |
f701418f MS |
595 | #f 0444 root sys $DOCDIR/he doc/he/*.html |
596 | #f 0444 root sys $DOCDIR/he/cups.css doc/he/cups.css | |
634763e8 | 597 | |
f3c17241 MS |
598 | #d 0755 root sys $DOCDIR/id |
599 | #f 0444 root sys $DOCDIR/id doc/id/*.html | |
f8b3a85b | 600 | |
f3c17241 MS |
601 | #d 0755 root sys $DOCDIR/it |
602 | #f 0444 root sys $DOCDIR/it doc/it/*.html | |
634763e8 | 603 | |
63c5db7d MS |
604 | d 0755 root sys $DOCDIR/ja |
605 | f 0444 root sys $DOCDIR/ja doc/ja/*.html | |
b9faaae1 | 606 | |
f3c17241 MS |
607 | #d 0755 root sys $DOCDIR/pl |
608 | #f 0444 root sys $DOCDIR/pl doc/pl/*.html | |
634763e8 | 609 | |
63c5db7d MS |
610 | d 0755 root sys $DOCDIR/pt_BR |
611 | f 0444 root sys $DOCDIR/pt_BR doc/pt_BR/*.html | |
612 | ||
613 | d 0755 root sys $DOCDIR/ru | |
614 | f 0444 root sys $DOCDIR/ru doc/ru/*.html | |
634763e8 | 615 | |
0a682745 | 616 | #d 0755 root sys $DOCDIR/sv |
f701418f | 617 | #f 0444 root sys $DOCDIR/sv doc/sv/*.html |
634763e8 | 618 | |
0a682745 | 619 | #d 0755 root sys $DOCDIR/zh_TW |
f701418f | 620 | #f 0444 root sys $DOCDIR/zh_TW doc/zh_TW/*.html |
bd7854cb | 621 | |
ef416fc2 | 622 | # Man pages |
623 | d 0755 root sys $AMANDIR - | |
624 | d 0755 root sys $AMANDIR/man$MAN8DIR - | |
625 | d 0755 root sys $MANDIR - | |
626 | d 0755 root sys $MANDIR/man1 - | |
627 | d 0755 root sys $MANDIR/man5 - | |
bd7854cb | 628 | d 0755 root sys $MANDIR/man7 - |
ef416fc2 | 629 | |
f701418f | 630 | f 0444 root sys $MANDIR/man1/cancel.$MAN1EXT man/cancel.$MAN1EXT |
63c5db7d | 631 | f 0444 root sys $MANDIR/man1/cups.$MAN1EXT man/cups.$MAN1EXT |
f701418f | 632 | f 0444 root sys $MANDIR/man1/cupstestppd.$MAN1EXT man/cupstestppd.$MAN1EXT |
f20ce462 | 633 | f 0444 root sys $MANDIR/man1/ippeveprinter.$MAN1EXT man/ippeveprinter.$MAN1EXT |
63c5db7d | 634 | f 0444 root sys $MANDIR/man1/ippfind.$MAN1EXT man/ippfind.$MAN1EXT |
aaf19ab0 | 635 | f 0444 root sys $MANDIR/man1/ipptool.$MAN1EXT man/ipptool.$MAN1EXT |
63c5db7d | 636 | f 0444 root sys $MANDIR/man1/lp.$MAN1EXT man/lp.$MAN1EXT |
f701418f | 637 | f 0444 root sys $MANDIR/man1/lpoptions.$MAN1EXT man/lpoptions.$MAN1EXT |
f701418f | 638 | f 0444 root sys $MANDIR/man1/lpq.$MAN1EXT man/lpq.$MAN1EXT |
f701418f | 639 | f 0444 root sys $MANDIR/man1/lpr.$MAN1EXT man/lpr.$MAN1EXT |
63c5db7d | 640 | f 0444 root sys $MANDIR/man1/lprm.$MAN1EXT man/lprm.$MAN1EXT |
f701418f | 641 | f 0444 root sys $MANDIR/man1/lpstat.$MAN1EXT man/lpstat.$MAN1EXT |
f701418f MS |
642 | |
643 | f 0444 root sys $MANDIR/man5/classes.conf.$MAN5EXT man/classes.conf.$MAN5EXT | |
63c5db7d MS |
644 | f 0444 root sys $MANDIR/man5/client.conf.$MAN5EXT man/client.conf.$MAN5EXT |
645 | f 0444 root sys $MANDIR/man5/cups-files.conf.$MAN5EXT man/cups-files.conf.$MAN5EXT | |
f3c17241 | 646 | f 0444 root sys $MANDIR/man5/cups-snmp.conf.$MAN5EXT man/cups-snmp.conf.$MAN5EXT |
f701418f | 647 | f 0444 root sys $MANDIR/man5/cupsd.conf.$MAN5EXT man/cupsd.conf.$MAN5EXT |
63c5db7d | 648 | f 0444 root sys $MANDIR/man5/cupsd-logs.$MAN5EXT man/cupsd-logs.$MAN5EXT |
aaf19ab0 | 649 | f 0444 root sys $MANDIR/man5/ipptoolfile.$MAN5EXT man/ipptoolfile.$MAN5EXT |
f701418f MS |
650 | f 0444 root sys $MANDIR/man5/mailto.conf.$MAN5EXT man/mailto.conf.$MAN5EXT |
651 | f 0444 root sys $MANDIR/man5/mime.convs.$MAN5EXT man/mime.convs.$MAN5EXT | |
652 | f 0444 root sys $MANDIR/man5/mime.types.$MAN5EXT man/mime.types.$MAN5EXT | |
653 | f 0444 root sys $MANDIR/man5/printers.conf.$MAN5EXT man/printers.conf.$MAN5EXT | |
654 | ||
f20ce462 MS |
655 | f 0444 root sys $MANDIR/man7/ippevepcl.$MAN7EXT man/ippevepcl.$MAN7EXT |
656 | l 0644 root sys $MANDIR/man7/ippeveps.$MAN7EXT ippevepcl.$MAN7EXT | |
657 | ||
1f6f3dbc | 658 | l 0644 root sys $AMANDIR/man$MAN8DIR/accept.$MAN8EXT cupsaccept.$MAN8EXT |
f701418f | 659 | f 0444 root sys $AMANDIR/man$MAN8DIR/cupsaccept.$MAN8EXT man/cupsaccept.$MAN8EXT |
63c5db7d | 660 | l 0644 root sys $AMANDIR/man$MAN8DIR/cupsreject.$MAN8EXT cupsaccept.$MAN8EXT |
f701418f MS |
661 | f 0444 root sys $AMANDIR/man$MAN8DIR/cupsctl.$MAN8EXT man/cupsctl.$MAN8EXT |
662 | f 0444 root sys $AMANDIR/man$MAN8DIR/cupsfilter.$MAN8EXT man/cupsfilter.$MAN8EXT | |
f3c17241 | 663 | f 0444 root sys $AMANDIR/man$MAN8DIR/cups-snmp.$MAN8EXT man/cups-snmp.$MAN8EXT |
f701418f | 664 | f 0444 root sys $AMANDIR/man$MAN8DIR/cupsd.$MAN8EXT man/cupsd.$MAN8EXT |
63c5db7d | 665 | f 0444 root sys $AMANDIR/man$MAN8DIR/cupsd-helper.$MAN8EXT man/cupsd-helper.$MAN8EXT |
ef416fc2 | 666 | l 0644 root sys $AMANDIR/man$MAN8DIR/cupsdisable.$MAN8EXT cupsenable.$MAN8EXT |
63c5db7d | 667 | f 0444 root sys $AMANDIR/man$MAN8DIR/cupsenable.$MAN8EXT man/cupsenable.$MAN8EXT |
1f6f3dbc MS |
668 | l 0644 root sys $AMANDIR/man$MAN8DIR/disable.$MAN8EXT cupsenable.$MAN8EXT |
669 | l 0644 root sys $AMANDIR/man$MAN8DIR/enable.$MAN8EXT cupsenable.$MAN8EXT | |
f701418f MS |
670 | f 0444 root sys $AMANDIR/man$MAN8DIR/lpadmin.$MAN8EXT man/lpadmin.$MAN8EXT |
671 | f 0444 root sys $AMANDIR/man$MAN8DIR/lpc.$MAN8EXT man/lpc.$MAN8EXT | |
672 | f 0444 root sys $AMANDIR/man$MAN8DIR/lpinfo.$MAN8EXT man/lpinfo.$MAN8EXT | |
673 | f 0444 root sys $AMANDIR/man$MAN8DIR/lpmove.$MAN8EXT man/lpmove.$MAN8EXT | |
1f6f3dbc | 674 | l 0644 root sys $AMANDIR/man$MAN8DIR/reject.$MAN8EXT cupsaccept.$MAN8EXT |
ef416fc2 | 675 | |
676 | %subpackage devel | |
f701418f MS |
677 | f 0444 root sys $MANDIR/man1/cups-config.$MAN1EXT man/cups-config.$MAN1EXT |
678 | f 0444 root sys $MANDIR/man1/ man/ppd*.$MAN1EXT | |
679 | f 0444 root sys $MANDIR/man5/ppdcfile.$MAN5EXT man/ppdcfile.$MAN5EXT | |
680 | f 0444 root sys $MANDIR/man7/backend.$MAN7EXT man/backend.$MAN7EXT | |
681 | f 0444 root sys $MANDIR/man7/filter.$MAN7EXT man/filter.$MAN7EXT | |
682 | f 0444 root sys $MANDIR/man7/notifier.$MAN7EXT man/notifier.$MAN7EXT | |
ef416fc2 | 683 | |
684 | %subpackage lpd | |
685 | d 0755 root sys $AMANDIR/man$MAN8DIR - | |
f701418f | 686 | f 0444 root sys $AMANDIR/man$MAN8DIR/cups-lpd.$MAN8EXT man/cups-lpd.$MAN8EXT |
ef416fc2 | 687 | %subpackage |
688 | ||
d09495fa | 689 | # Startup scripts |
690 | %system darwin | |
ef55b745 | 691 | f 0444 root sys /System/Library/LaunchDaemons/org.cups.cupsd.plist scheduler/org.cups.cupsd.plist |
3d8365b8 | 692 | %preremove <<EOF |
d09495fa | 693 | launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist || exit 0 |
bc44d920 | 694 | killall cupsd || exit 0 |
3d8365b8 | 695 | EOF |
bc44d920 | 696 | %preinstall <<EOF |
3d8365b8 | 697 | launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist || exit 0 |
bc44d920 | 698 | killall cupsd || exit 0 |
699 | EOF | |
700 | %postinstall <<EOF | |
701 | launchctl load -D system /System/Library/LaunchDaemons/org.cups.cupsd.plist | |
d09495fa | 702 | EOF |
703 | %subpackage lpd | |
ef55b745 | 704 | f 0444 root sys /System/Library/LaunchDaemons/org.cups.cups-lpd.plist scheduler/org.cups.cups-lpd.plist |
3d8365b8 | 705 | %preremove <<EOF |
706 | launchctl unload /System/Library/LaunchDaemons/org.cups.cups-lpd.plist || exit 0 | |
707 | EOF | |
bc44d920 | 708 | %preinstall <<EOF |
709 | launchctl unload /System/Library/LaunchDaemons/org.cups.cups-lpd.plist || exit 0 | |
710 | EOF | |
d09495fa | 711 | %postinstall <<EOF |
712 | rm -f /etc/xinetd.d/cups-lpd | |
bc44d920 | 713 | launchctl load -D system /System/Library/LaunchDaemons/org.cups.cupsd-lpd.plist |
d09495fa | 714 | EOF |
715 | %subpackage | |
716 | ||
717 | %system !darwin | |
ef55b745 | 718 | i 0755 root sys cups scheduler/cups.sh start(@RCSTART@) stop(@RCSTOP) runlevels(@RCLEVELS@) |
d09495fa | 719 | %subpackage lpd |
720 | %if XINETD | |
ef55b745 | 721 | f 0444 root sys $XINETD/cups-lpd scheduler/cups-lpd.xinetd |
d09495fa | 722 | %endif |
723 | %subpackage |