summaryrefslogtreecommitdiff
path: root/packaging/cups.list.in
blob: d674d2ac42c7acf796e28e19d0c7dfe714402d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
#
# ESP Package Manager (EPM) file list for CUPS.
#
# Copyright © 2007-2019 by Apple Inc.
# Copyright © 1997-2007 by Easy Software Products, all rights reserved.
#
# Licensed under Apache License v2.0.  See the file "LICENSE" for more
# information.
#

# Product information
%product CUPS
%copyright 2007-2019 by Apple Inc.
%vendor Apple Inc.
#%license LICENSE
%readme LICENSE
%format rpm
# Red Hat and their epochs...
%version 1:@CUPS_VERSION@
%format !rpm
%version @CUPS_VERSION@
%format all
%description CUPS is the standards-based, open source printing system developed by
%description Apple Inc. for macOS® and other UNIX®-like operating systems.

%format rpm
%provides lpd
%provides lpr
%provides LPRng
%replaces lpd
%replaces lpr
%replaces LPRng
%requires cups-libs 1:@CUPS_VERSION@

# Replace all of the old localization subpackages from CUPS 1.2/1.3
%replaces cups-da
%replaces cups-de
%replaces cups-es
%replaces cups-et
%replaces cups-fi
%replaces cups-fr
%replaces cups-he
%replaces cups-id
%replaces cups-it
%replaces cups-ja
%replaces cups-ko
%replaces cups-nl
%replaces cups-no
%replaces cups-pl
%replaces cups-pt
%replaces cups-ru
%replaces cups-sv
%replaces cups-zh


%format deb
%provides cupsys
%provides cupsys-client
%provides cupsys-bsd
%requires cups-libs

# Replace all of the old localization subpackages from CUPS 1.2/1.3
%replaces cups-da
%replaces cups-de
%replaces cups-es
%replaces cups-et
%replaces cups-fi
%replaces cups-fr
%replaces cups-he
%replaces cups-id
%replaces cups-it
%replaces cups-ja
%replaces cups-ko
%replaces cups-nl
%replaces cups-no
%replaces cups-pl
%replaces cups-pt
%replaces cups-ru
%replaces cups-sv
%replaces cups-zh


%format pkg
%replaces SUNWlpmsg LP Alerts
%replaces SUNWlpr LP Print Service, (Root)
%replaces SUNWlps LP Print Service - Server, (Usr)
%replaces SUNWlpu LP Print Service - Client, (Usr)
%replaces SUNWpsu LP Print Server, (Usr)
%replaces SUNWpsr LP Print Server, (Root)
%replaces SUNWpcu LP Print Client, (Usr)
%replaces SUNWpcr LP Print Client, (Root)
%replaces SUNWppm
%replaces SUNWmp
%replaces SUNWscplp SunOS Print Compatibility

%format inst
%replaces patch*.print_*.* 0 0 1289999999 1289999999
%replaces maint*.print_*.* 0 0 1289999999 1289999999
%replaces print 0 0 1289999999 1289999999
%replaces fw_cups 0 0 1289999999 1289999999
%incompat patch*.print_*.* 0 0 1289999999 1289999999
%incompat maint*.print_*.* 0 0 1289999999 1289999999
%incompat print 0 0 1289999999 1289999999
%incompat fw_cups 0 0 1289999999 1289999999
%requires cups.sw.libs

# Replace all of the old localization subpackages from CUPS 1.2/1.3
%replaces cups.sw.da
%replaces cups.sw.de
%replaces cups.sw.es
%replaces cups.sw.et
%replaces cups.sw.fi
%replaces cups.sw.fr
%replaces cups.sw.he
%replaces cups.sw.id
%replaces cups.sw.it
%replaces cups.sw.ja
%replaces cups.sw.ko
%replaces cups.sw.nl
%replaces cups.sw.no
%replaces cups.sw.pl
%replaces cups.sw.pt
%replaces cups.sw.ru
%replaces cups.sw.sv
%replaces cups.sw.zh

%format portable
%requires cups-libs

# Replace all of the old localization subpackages from CUPS 1.2/1.3
%replaces cups-da
%replaces cups-de
%replaces cups-es
%replaces cups-et
%replaces cups-fi
%replaces cups-fr
%replaces cups-he
%replaces cups-id
%replaces cups-it
%replaces cups-ja
%replaces cups-ko
%replaces cups-nl
%replaces cups-no
%replaces cups-pl
%replaces cups-pt
%replaces cups-ru
%replaces cups-sv
%replaces cups-zh

%format all

%subpackage libs
%description Shared libraries
%format deb
%provides libcups1
%provides libcupsys2
%provides libcupsys2-gnutls10
%provides libcupsimage2
%format all

%subpackage devel
%description Development environment
%format deb
%provides libcupsys2-dev
%provides libcupsimage2-dev
%format all

%subpackage lpd
%description LPD support

%subpackage


#
# GNU variables...
#

$prefix=@prefix@
$exec_prefix=@exec_prefix@
$bindir=@bindir@
$datarootdir=@datarootdir@
$datadir=@datadir@
$includedir=@includedir@
$infodir=@infodir@
$libdir=@libdir@
$libexecdir=@libexecdir@
$localstatedir=@localstatedir@
$mandir=@mandir@
$oldincludedir=@oldincludedir@
$sbindir=@sbindir@
$sharedstatedir=@sharedstatedir@
$srcdir=@srcdir@
$sysconfdir=@sysconfdir@
$top_srcdir=@top_srcdir@

#
# CUPS variables...
#

$AMANDIR=@AMANDIR@
$BINDIR=@bindir@
$CACHEDIR=@CUPS_CACHEDIR@
$DATADIR=@CUPS_DATADIR@
$DOCDIR=@CUPS_DOCROOT@
$INCLUDEDIR=${includedir}
$INITDIR=@INITDIR@
$INITDDIR=@INITDDIR@
$LIBDIR=${libdir}
$LOCALEDIR=@CUPS_LOCALEDIR@
$LOGDIR=@CUPS_LOGDIR@
$MANDIR=@mandir@
$PAMDIR=@PAMDIR@
$PMANDIR=@PMANDIR@
$REQUESTS=@CUPS_REQUESTS@
$SBINDIR=@sbindir@
$SERVERBIN=@CUPS_SERVERBIN@
$SERVERROOT=@CUPS_SERVERROOT@
$STATEDIR=@CUPS_STATEDIR@
$XINETD=@XINETD@
$LIB32DIR=@LIB32DIR@
$LIB64DIR=@LIB64DIR@

$MDNS=@MDNS@

$CUPS_USER=@CUPS_USER@
$CUPS_GROUP=@CUPS_GROUP@
$CUPS_PRIMARY_SYSTEM_GROUP=@CUPS_PRIMARY_SYSTEM_GROUP@
$CUPS_PERM=0@CUPS_CONFIG_FILE_PERM@

$INSTALLSTATIC=@INSTALLSTATIC@

$LIBZ=@LIBZ@
$DSOLIBS=@DSOLIBS@

# Make sure the MD5 password file is now owned by CUPS_USER...
%postinstall if test -f $SERVERROOT/passwd.md5; then
%postinstall chown $CUPS_USER $SERVERROOT/passwd.md5
%postinstall fi

# Make sure the shared libraries are refreshed...
%subpackage libs
%system linux
%postinstall ldconfig
%system all
%subpackage

# Server programs
%system all
# Server files
f 0555 root sys $SBINDIR/cupsd scheduler/cupsd

d 0755 root sys $SERVERBIN -
%system darwin
d 0755 root sys $SERVERBIN/apple -
f 0555 root sys $SERVERBIN/apple/ipp backend/ipp
l 0755 root sys $SERVERBIN/apple/http ipp
l 0755 root sys $SERVERBIN/apple/https ipp
l 0755 root sys $SERVERBIN/apple/ipps ipp
%system all
d 0755 root sys $SERVERBIN/backend -
f 0500 root sys $SERVERBIN/backend/ipp backend/ipp
l 0700 root sys $SERVERBIN/backend/http ipp
l 0700 root sys $SERVERBIN/backend/https ipp
l 0700 root sys $SERVERBIN/backend/ipps ipp
f 0500 root sys $SERVERBIN/backend/lpd backend/lpd
%if DNSSD_BACKEND
f 0500 root sys $SERVERBIN/backend/dnssd backend/dnssd
%system darwin
l 0700 root sys $SERVERBIN/backend/mdns dnssd
%system all
%endif
f 0555 root sys $SERVERBIN/backend/snmp backend/snmp
f 0555 root sys $SERVERBIN/backend/socket backend/socket
f 0555 root sys $SERVERBIN/backend/usb backend/usb
d 0755 root sys $SERVERBIN/cgi-bin -
f 0555 root sys $SERVERBIN/cgi-bin/admin.cgi cgi-bin/admin.cgi
f 0555 root sys $SERVERBIN/cgi-bin/classes.cgi cgi-bin/classes.cgi
f 0555 root sys $SERVERBIN/cgi-bin/help.cgi cgi-bin/help.cgi
f 0555 root sys $SERVERBIN/cgi-bin/jobs.cgi cgi-bin/jobs.cgi
f 0555 root sys $SERVERBIN/cgi-bin/printers.cgi cgi-bin/printers.cgi
d 0755 root sys $SERVERBIN/command -
f 0555 root sys $SERVERBIN/command/ippevepcl tools/ippevepcl
f 0555 root sys $SERVERBIN/command/ippeveps tools/ippeveps
d 0755 root sys $SERVERBIN/daemon -
f 0555 root sys $SERVERBIN/daemon/cups-deviced scheduler/cups-deviced
f 0555 root sys $SERVERBIN/daemon/cups-driverd scheduler/cups-driverd
d 0755 root sys $SERVERBIN/driver -
d 0755 root sys $SERVERBIN/filter -
f 0555 root sys $SERVERBIN/filter/commandtops filter/commandtops
f 0555 root sys $SERVERBIN/filter/gziptoany filter/gziptoany
f 0555 root sys $SERVERBIN/filter/pstops filter/pstops
f 0555 root sys $SERVERBIN/filter/rastertolabel filter/rastertolabel
l 0755 root sys $SERVERBIN/filter/rastertodymo rastertolabel
f 0555 root sys $SERVERBIN/filter/rastertoepson filter/rastertoepson
f 0555 root sys $SERVERBIN/filter/rastertohp filter/rastertohp
f 0555 root sys $SERVERBIN/filter/rastertopwg filter/rastertopwg
d 0755 root sys $SERVERBIN/notifier -
f 0555 root sys $SERVERBIN/notifier/mailto notifier/mailto

%subpackage lpd
d 0755 root sys $SERVERBIN/daemon -
f 0555 root sys $SERVERBIN/daemon/cups-lpd scheduler/cups-lpd
%subpackage

# Admin commands
d 0755 root sys $SBINDIR -
f 0555 root sys $SBINDIR/cupsaccept systemv/cupsaccept
f 0555 root sys $SBINDIR/cupsctl systemv/cupsctl
l 0755 root sys $SBINDIR/cupsdisable cupsaccept
l 0755 root sys $SBINDIR/cupsenable cupsaccept
l 0755 root sys $SBINDIR/cupsreject cupsaccept
f 0555 root sys $SBINDIR/lpadmin systemv/lpadmin
f 0555 root sys $SBINDIR/lpc berkeley/lpc
f 0555 root sys $SBINDIR/lpinfo systemv/lpinfo
f 0555 root sys $SBINDIR/lpmove systemv/lpmove

%system irix
l 0755 root sys /usr/etc/lpc $SBINDIR/lpc
%system all

# User commands
d 0755 root sys $BINDIR -
f 0555 root sys $BINDIR/cancel systemv/cancel
f 0555 root sys $BINDIR/cupstestppd systemv/cupstestppd
f 0555 root sys $BINDIR/ippeveprinter tools/ippeveprinter
%if DNSSD_BACKEND
f 0555 root sys $BINDIR/ippfind tools/ippfind
%endif
f 0555 root sys $BINDIR/ipptool tools/ipptool
f 0555 root sys $BINDIR/lp systemv/lp
f 0555 root sys $BINDIR/lpoptions systemv/lpoptions
f 0555 root sys $BINDIR/lpq berkeley/lpq
f 0555 root sys $BINDIR/lpr berkeley/lpr
f 0555 root sys $BINDIR/lprm berkeley/lprm
f 0555 root sys $BINDIR/lpstat systemv/lpstat

%system irix
l 0755 root sys /usr/bsd/lpq $BINDIR/lpq
l 0755 root sys /usr/bsd/lpr $BINDIR/lpr
l 0755 root sys /usr/bsd/lprm $BINDIR/lprm
%system all

# DSOs
%if DSOLIBS
%subpackage libs
%system darwin
f 0555 root sys $LIBDIR/libcups.2.dylib cups/libcups.2.dylib nostrip()
l 0755 root sys $LIBDIR/libcups.dylib libcups.2.dylib
f 0555 root sys $LIBDIR/libcupsimage.2.dylib cups/libcupsimage.2.dylib nostrip()
l 0755 root sys $LIBDIR/libcupsimage.dylib libcupsimage.2.dylib
%system !darwin
f 0555 root sys $LIBDIR/libcups.so.2 cups/libcups.so.2 nostrip()
l 0755 root sys $LIBDIR/libcups.so libcups.so.2
f 0555 root sys $LIBDIR/libcupsimage.so.2 cups/libcupsimage.so.2 nostrip()
l 0755 root sys $LIBDIR/libcupsimage.so libcupsimage.so.2
%system all
%subpackage
%endif

# Directories
d 0755 root sys $LOGDIR -
d 0710 root $CUPS_GROUP $REQUESTS -
d 1770 root $CUPS_GROUP $REQUESTS/tmp -
d 0775 root $CUPS_GROUP $CACHEDIR -
d 0775 root $CUPS_GROUP $CACHEDIR/rss -
#d 0755 root $CUPS_GROUP $CACHEDIR/ppd -
%system !darwin
d 0755 root $CUPS_GROUP $STATEDIR -
%system all
d 0511 root $CUPS_PRIMARY_SYSTEM_GROUP $STATEDIR/certs -

# Data files
f 0444 root sys $LOCALEDIR/ca/cups_ca.po locale/cups_ca.po
f 0444 root sys $LOCALEDIR/cs/cups_cs.po locale/cups_cs.po
#f 0444 root sys $LOCALEDIR/da/cups_da.po locale/cups_da.po
f 0444 root sys $LOCALEDIR/de/cups_de.po locale/cups_de.po
f 0444 root sys $LOCALEDIR/es/cups_es.po locale/cups_es.po
#f 0444 root sys $LOCALEDIR/et/cups_et.po locale/cups_et.po
#f 0444 root sys $LOCALEDIR/eu/cups_eu.po locale/cups_eu.po
#f 0444 root sys $LOCALEDIR/fi/cups_fi.po locale/cups_fi.po
f 0444 root sys $LOCALEDIR/fr/cups_fr.po locale/cups_fr.po
#f 0444 root sys $LOCALEDIR/he/cups_he.po locale/cups_he.po
#f 0444 root sys $LOCALEDIR/id/cups_id.po locale/cups_id.po
f 0444 root sys $LOCALEDIR/it/cups_it.po locale/cups_it.po
f 0444 root sys $LOCALEDIR/ja/cups_ja.po locale/cups_ja.po
#f 0444 root sys $LOCALEDIR/ko/cups_ko.po locale/cups_ko.po
#f 0444 root sys $LOCALEDIR/nl/cups_nl.po locale/cups_nl.po
#f 0444 root sys $LOCALEDIR/no/cups_no.po locale/cups_no.po
#f 0444 root sys $LOCALEDIR/pl/cups_pl.po locale/cups_pl.po
#f 0444 root sys $LOCALEDIR/pt/cups_pt.po locale/cups_pt.po
f 0444 root sys $LOCALEDIR/pt_BR/cups_pt_BR.po locale/cups_pt_BR.po
f 0444 root sys $LOCALEDIR/ru/cups_ru.po locale/cups_ru.po
#f 0444 root sys $LOCALEDIR/sv/cups_sv.po locale/cups_sv.po
#f 0444 root sys $LOCALEDIR/zh/cups_zh.po locale/cups_zh.po
#f 0444 root sys $LOCALEDIR/zh_TW/cups_zh_TW.po locale/cups_zh_TW.po

d 0755 root sys $DATADIR -

d 0755 root sys $DATADIR/banners -

d 0755 root sys $DATADIR/data -

d 0755 root sys $DATADIR/drv -
f 0444 root sys $DATADIR/drv/sample.drv ppdc/sample.drv

d 0755 root sys $DATADIR/examples -
f 0444 root sys $DATADIR/examples examples/*.drv

d 0755 root sys $DATADIR/ipptool -
f 0444 root sys $DATADIR/ipptool examples/*.jpg
f 0444 root sys $DATADIR/ipptool examples/*.test
f 0444 root sys $DATADIR/ipptool examples/document-*.p*
f 0444 root sys $DATADIR/ipptool examples/onepage-*.p*
f 0444 root sys $DATADIR/ipptool examples/testfile.*

d 0755 root sys $DATADIR/mime -
f 0444 root sys $DATADIR/mime/mime.convs conf/mime.convs
f 0444 root sys $DATADIR/mime/mime.types conf/mime.types

d 0755 root sys $DATADIR/model -

d 0755 root sys $DATADIR/ppdc -
f 0444 root sys $DATADIR/ppdc data/*.defs
f 0444 root sys $DATADIR/ppdc data/*.h

d 0755 root sys $DATADIR/templates -
f 0444 root sys $DATADIR/templates templates/*.tmpl

## Template files
d 0755 root sys $DATADIR/templates/de
f 0444 root sys $DATADIR/templates/de templates/de/*.tmpl

d 0755 root sys $DATADIR/templates/es
f 0444 root sys $DATADIR/templates/es templates/es/*.tmpl

#d 0755 root sys $DATADIR/templates/et
#f 0444 root sys $DATADIR/templates/et templates/et/*.tmpl

#d 0755 root sys $DATADIR/templates/eu
#f 0444 root sys $DATADIR/templates/eu templates/eu/*.tmpl

d 0755 root sys $DATADIR/templates/fr
f 0444 root sys $DATADIR/templates/fr templates/fr/*.tmpl

#d 0755 root sys $DATADIR/templates/he
#f 0444 root sys $DATADIR/templates/he templates/he/*.tmpl

#d 0755 root sys $DATADIR/templates/id
#f 0444 root sys $DATADIR/templates/id templates/id/*.tmpl

#d 0755 root sys $DATADIR/templates/it
#f 0444 root sys $DATADIR/templates/it templates/it/*.tmpl

d 0755 root sys $DATADIR/templates/ja
f 0444 root sys $DATADIR/templates/ja templates/ja/*.tmpl

#d 0755 root sys $DATADIR/templates/pl
#f 0444 root sys $DATADIR/templates/pl templates/pl/*.tmpl

d 0755 root sys $DATADIR/templates/pt_BR
f 0444 root sys $DATADIR/templates/pt_BR templates/pt_BR/*.tmpl

d 0755 root sys $DATADIR/templates/ru
f 0444 root sys $DATADIR/templates/ru templates/ru/*.tmpl

#d 0755 root sys $DATADIR/templates/sv
#f 0444 root sys $DATADIR/templates/sv templates/sv/*.tmpl

#d 0755 root sys $DATADIR/templates/zh_TW
#f 0444 root sys $DATADIR/templates/zh_TW templates/zh_TW/*.tmpl

# Config files
d 0755 root $CUPS_GROUP $SERVERROOT -
d 0755 root $CUPS_GROUP $SERVERROOT/ppd -
d 0700 root $CUPS_GROUP $SERVERROOT/ssl -
c $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cups-files.conf conf/cups-files.conf
f $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cups-files.conf.default conf/cups-files.conf
c $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cupsd.conf conf/cupsd.conf
f $CUPS_PERM root $CUPS_GROUP $SERVERROOT/cupsd.conf.default conf/cupsd.conf
c $CUPS_PERM root $CUPS_GROUP $SERVERROOT/snmp.conf conf/snmp.conf

%if PAMDIR
d 0755 root sys $PAMDIR -
c 0644 root sys $PAMDIR/cups conf/@PAMFILE@
%endif

%subpackage devel
# Developer files
f 0555 root sys $BINDIR/cups-config cups-config
d 0755 root sys $INCLUDEDIR/cups -
f 0444 root sys $INCLUDEDIR/cups/adminutil.h cups/adminutil.h
f 0444 root sys $INCLUDEDIR/cups/array.h cups/array.h
f 0444 root sys $INCLUDEDIR/cups/backend.h cups/backend.h
f 0444 root sys $INCLUDEDIR/cups/cups.h cups/cups.h
f 0444 root sys $INCLUDEDIR/cups/dir.h cups/dir.h
f 0444 root sys $INCLUDEDIR/cups/file.h cups/file.h
f 0444 root sys $INCLUDEDIR/cups/http.h cups/http.h
f 0444 root sys $INCLUDEDIR/cups/ipp.h cups/ipp.h
f 0444 root sys $INCLUDEDIR/cups/language.h cups/language.h
f 0444 root sys $INCLUDEDIR/cups/ppd.h cups/ppd.h
f 0444 root sys $INCLUDEDIR/cups/pwg.h cups/pwg.h
f 0444 root sys $INCLUDEDIR/cups/raster.h cups/raster.h
f 0444 root sys $INCLUDEDIR/cups/sidechannel.h cups/sidechannel.h
f 0444 root sys $INCLUDEDIR/cups/transcode.h cups/transcode.h
f 0444 root sys $INCLUDEDIR/cups/versioning.h cups/versioning.h

%if INSTALLSTATIC
f 0444 root sys $LIBDIR/libcups.a cups/libcups.a
f 0444 root sys $LIBDIR/libcupsimage.a filter/libcupsimage.a
%endif

d 0755 root sys $DOCDIR/help -
f 0444 root sys $DOCDIR/help doc/help/api*.html
f 0444 root sys $DOCDIR/help doc/help/cupspm.*
f 0444 root sys $DOCDIR/help/postscript-driver.html doc/help/postscript-driver.html
f 0444 root sys $DOCDIR/help/ppd-compiler.html doc/help/ppd-compiler.html
f 0444 root sys $DOCDIR/help/raster-driver.html doc/help/raster-driver.html
f 0444 root sys $DOCDIR/help doc/help/spec*.html
%subpackage

# Documentation files
d 0755 root sys $DOCDIR -
f 0444 root sys $DOCDIR doc/*.css
f 0444 root sys $DOCDIR doc/*.html
f 0444 root sys $DOCDIR/apple-touch-icon.png doc/apple-touch-icon.png
d 0755 root sys $DOCDIR/help -
f 0444 root sys $DOCDIR/help/accounting.html doc/help/accounting.html
f 0444 root sys $DOCDIR/help/admin.html doc/help/admin.html
f 0444 root sys $DOCDIR/help/cgi.html doc/help/cgi.html
f 0444 root sys $DOCDIR/help/encryption.html doc/help/encryption.html
f 0444 root sys $DOCDIR/help/firewalls.html doc/help/firewalls.html
f 0444 root sys $DOCDIR/help/glossary.html doc/help/glossary.html
f 0444 root sys $DOCDIR/help/kerberos.html doc/help/kerberos.html
f 0444 root sys $DOCDIR/help/license.html doc/help/license.html
f 0444 root sys $DOCDIR/help/network.html doc/help/network.html
f 0444 root sys $DOCDIR/help/options.html doc/help/options.html
f 0444 root sys $DOCDIR/help/overview.html doc/help/overview.html
f 0444 root sys $DOCDIR/help/policies.html doc/help/policies.html
f 0444 root sys $DOCDIR/help/security.html doc/help/security.html
f 0444 root sys $DOCDIR/help/sharing.html doc/help/sharing.html
f 0444 root sys $DOCDIR/help/translation.html doc/help/translation.html
f 0444 root sys $DOCDIR/help doc/help/man-*.html
f 0444 root sys $DOCDIR/help doc/help/ref-*.html
d 0755 root sys $DOCDIR/images -
f 0444 root sys $DOCDIR/images doc/images/*.gif
f 0444 root sys $DOCDIR/images doc/images/*.jpg
f 0444 root sys $DOCDIR/images doc/images/*.png
f 0444 root sys $DOCDIR/robots.txt doc/robots.txt

# Localized documentation files
d 0755 root sys $DOCDIR/de
f 0444 root sys $DOCDIR/de doc/de/*.html

d 0755 root sys $DOCDIR/es
f 0444 root sys $DOCDIR/es doc/es/*.html

#d 0755 root sys $DOCDIR/et
#f 0444 root sys $DOCDIR/et doc/et/*.html

#d 0755 root sys $DOCDIR/eu
#f 0444 root sys $DOCDIR/eu doc/eu/*.html

#d 0755 root sys $DOCDIR/fr
#f 0444 root sys $DOCDIR/fr doc/fr/*.html

#d 0755 root sys $DOCDIR/he
#f 0444 root sys $DOCDIR/he doc/he/*.html
#f 0444 root sys $DOCDIR/he/cups.css doc/he/cups.css

#d 0755 root sys $DOCDIR/id
#f 0444 root sys $DOCDIR/id doc/id/*.html

#d 0755 root sys $DOCDIR/it
#f 0444 root sys $DOCDIR/it doc/it/*.html

d 0755 root sys $DOCDIR/ja
f 0444 root sys $DOCDIR/ja doc/ja/*.html

#d 0755 root sys $DOCDIR/pl
#f 0444 root sys $DOCDIR/pl doc/pl/*.html

d 0755 root sys $DOCDIR/pt_BR
f 0444 root sys $DOCDIR/pt_BR doc/pt_BR/*.html

d 0755 root sys $DOCDIR/ru
f 0444 root sys $DOCDIR/ru doc/ru/*.html

#d 0755 root sys $DOCDIR/sv
#f 0444 root sys $DOCDIR/sv doc/sv/*.html

#d 0755 root sys $DOCDIR/zh_TW
#f 0444 root sys $DOCDIR/zh_TW doc/zh_TW/*.html

# Man pages
d 0755 root sys $AMANDIR -
d 0755 root sys $AMANDIR/man8 -
d 0755 root sys $MANDIR -
d 0755 root sys $MANDIR/man1 -
d 0755 root sys $MANDIR/man5 -
d 0755 root sys $MANDIR/man7 -

f 0444 root sys $MANDIR/man1/cancel.1 man/cancel.1
f 0444 root sys $MANDIR/man1/cups.1 man/cups.1
f 0444 root sys $MANDIR/man1/cupstestppd.1 man/cupstestppd.1
f 0444 root sys $MANDIR/man1/ippeveprinter.1 man/ippeveprinter.1
f 0444 root sys $MANDIR/man1/ippfind.1 man/ippfind.1
f 0444 root sys $MANDIR/man1/ipptool.1 man/ipptool.1
f 0444 root sys $MANDIR/man1/lp.1 man/lp.1
f 0444 root sys $MANDIR/man1/lpoptions.1 man/lpoptions.1
f 0444 root sys $MANDIR/man1/lpq.1 man/lpq.1
f 0444 root sys $MANDIR/man1/lpr.1 man/lpr.1
f 0444 root sys $MANDIR/man1/lprm.1 man/lprm.1
f 0444 root sys $MANDIR/man1/lpstat.1 man/lpstat.1

f 0444 root sys $MANDIR/man5/classes.conf.5 man/classes.conf.5
f 0444 root sys $MANDIR/man5/client.conf.5 man/client.conf.5
f 0444 root sys $MANDIR/man5/cups-files.conf.5 man/cups-files.conf.5
f 0444 root sys $MANDIR/man5/cups-snmp.conf.5 man/cups-snmp.conf.5
f 0444 root sys $MANDIR/man5/cupsd.conf.5 man/cupsd.conf.5
f 0444 root sys $MANDIR/man5/cupsd-logs.5 man/cupsd-logs.5
f 0444 root sys $MANDIR/man5/ipptoolfile.5 man/ipptoolfile.5
f 0444 root sys $MANDIR/man5/mailto.conf.5 man/mailto.conf.5
f 0444 root sys $MANDIR/man5/mime.convs.5 man/mime.convs.5
f 0444 root sys $MANDIR/man5/mime.types.5 man/mime.types.5
f 0444 root sys $MANDIR/man5/printers.conf.5 man/printers.conf.5

f 0444 root sys $MANDIR/man7/ippevepcl.7 man/ippevepcl.7
l 0644 root sys $MANDIR/man7/ippeveps.7 ippevepcl.7

f 0444 root sys $AMANDIR/man8/cupsaccept.8 man/cupsaccept.8
l 0644 root sys $AMANDIR/man8/cupsreject.8 cupsaccept.8
f 0444 root sys $AMANDIR/man8/cupsctl.8 man/cupsctl.8
f 0444 root sys $AMANDIR/man8/cupsfilter.8 man/cupsfilter.8
f 0444 root sys $AMANDIR/man8/cups-snmp.8 man/cups-snmp.8
f 0444 root sys $AMANDIR/man8/cupsd.8 man/cupsd.8
f 0444 root sys $AMANDIR/man8/cupsd-helper.8 man/cupsd-helper.8
l 0644 root sys $AMANDIR/man8/cupsdisable.8 cupsenable.8
f 0444 root sys $AMANDIR/man8/cupsenable.8 man/cupsenable.8
f 0444 root sys $AMANDIR/man8/lpadmin.8 man/lpadmin.8
f 0444 root sys $AMANDIR/man8/lpc.8 man/lpc.8
f 0444 root sys $AMANDIR/man8/lpinfo.8 man/lpinfo.8
f 0444 root sys $AMANDIR/man8/lpmove.8 man/lpmove.8

%subpackage devel
f 0444 root sys $MANDIR/man1/cups-config.1 man/cups-config.1
f 0444 root sys $MANDIR/man1/ man/ppd*.1
f 0444 root sys $MANDIR/man5/ppdcfile.5 man/ppdcfile.5
f 0444 root sys $MANDIR/man7/backend.7 man/backend.7
f 0444 root sys $MANDIR/man7/filter.7 man/filter.7
f 0444 root sys $MANDIR/man7/notifier.7 man/notifier.7

%subpackage lpd
d 0755 root sys $AMANDIR/man8 -
f 0444 root sys $AMANDIR/man8/cups-lpd.8 man/cups-lpd.8
%subpackage

# Startup scripts
%system darwin
f 0444 root sys /System/Library/LaunchDaemons/org.cups.cupsd.plist scheduler/org.cups.cupsd.plist
%preremove <<EOF
launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist || exit 0
killall cupsd || exit 0
EOF
%preinstall <<EOF
launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist || exit 0
killall cupsd || exit 0
EOF
%postinstall <<EOF
launchctl load -D system /System/Library/LaunchDaemons/org.cups.cupsd.plist
EOF
%subpackage lpd
f 0444 root sys /System/Library/LaunchDaemons/org.cups.cups-lpd.plist scheduler/org.cups.cups-lpd.plist
%preremove <<EOF
launchctl unload /System/Library/LaunchDaemons/org.cups.cups-lpd.plist || exit 0
EOF
%preinstall <<EOF
launchctl unload /System/Library/LaunchDaemons/org.cups.cups-lpd.plist || exit 0
EOF
%postinstall <<EOF
rm -f /etc/xinetd.d/cups-lpd
launchctl load -D system /System/Library/LaunchDaemons/org.cups.cupsd-lpd.plist
EOF
%subpackage

%system !darwin
i 0755 root sys cups scheduler/cups.sh start(@RCSTART@) stop(@RCSTOP) runlevels(@RCLEVELS@)
%subpackage lpd
%if XINETD
f 0444 root sys $XINETD/cups-lpd scheduler/cups-lpd.xinetd
%endif
%subpackage