]>
Commit | Line | Data |
---|---|---|
3540b403 | 1 | # |
7be5c8e8 | 2 | # Conditional build: |
373aff1e | 3 | %bcond_with gnutls # use GNU TLS for SSL/TLS support (instead of OpenSSL) |
ceddaf82 | 4 | %bcond_without dnssd |
84d9a886 JR |
5 | %bcond_without php # don't build PHP extension/support in web interface |
6 | %bcond_without perl # don't build Perl extension/support in web interface | |
84d9a886 | 7 | %bcond_without python # don't build Python support in web interface |
373aff1e | 8 | %bcond_without static_libs # don't build static library |
7be5c8e8 | 9 | # |
7be5c8e8 | 10 | %include /usr/lib/rpm/macros.perl |
ef5fe709 | 11 | %define pdir CUPS |
70ba6cfc | 12 | |
fb3b4f59 ER |
13 | Summary(pl.UTF-8): Ogólny system druku dla Uniksa |
14 | Summary(pt_BR.UTF-8): Sistema Unix de Impressão | |
346112e3 | 15 | Name: cups |
afacd72e AM |
16 | Version: 1.4.0 |
17 | Release: 0.1 | |
e73da052 | 18 | Epoch: 1 |
948a3d9c | 19 | License: LGPL v2 (libraries), GPL v2 (the rest) + openssl exception |
0366ccc3 | 20 | Group: Applications/Printing |
3cb197ff | 21 | Source0: http://ftp.easysw.com/pub/cups/%{version}/%{name}-%{version}-source.tar.bz2 |
afacd72e | 22 | # Source0-md5: bc5e777d4320cecdd1a64de8035171a8 |
168e60c2 | 23 | Source1: %{name}.init |
fd7e4ff1 | 24 | Source2: %{name}.pamd |
fd4436b5 | 25 | Source3: %{name}.logrotate |
60e0cb5a | 26 | Source4: %{name}.mailto.conf |
84d9a886 | 27 | Source5: %{name}-lpd.inetd |
25dfe94f | 28 | Patch0: %{name}-config.patch |
25dfe94f | 29 | Patch2: %{name}-options.patch |
73a0798d | 30 | Patch3: %{name}-man_pages_linking.patch |
f75e41c7 | 31 | Patch4: %{name}-nostrip.patch |
efe7daa3 | 32 | Patch5: %{name}-certs_FHS.patch |
33 | Patch6: %{name}-direct_usb.patch | |
388c735f | 34 | Patch7: %{name}-no-polluted-krb5config.patch |
388c735f JR |
35 | Patch9: %{name}-verbose-compilation.patch |
36 | Patch10: %{name}-peercred.patch | |
fb328468 | 37 | URL: http://www.cups.org/ |
daf27ba0 | 38 | BuildRequires: acl-devel |
e73da052 | 39 | BuildRequires: autoconf |
40 | BuildRequires: automake | |
ceddaf82 | 41 | %{?with_dnssd:BuildRequires: avahi-compat-libdns_sd-devel} |
e809c01b | 42 | BuildRequires: dbus-devel |
ceddaf82 | 43 | BuildRequires: glibc-headers |
373aff1e | 44 | %{?with_gnutls:BuildRequires: gnutls-devel} |
84d9a886 JR |
45 | %{?with_java:BuildRequires: jar} |
46 | %{?with_java:BuildRequires: jdk} | |
1770fa4c | 47 | %{?with_java:BuildRequires: jpackage-utils} |
eabd561c | 48 | BuildRequires: heimdal-devel |
aa509eeb | 49 | BuildRequires: libjpeg-devel |
30d7d426 | 50 | BuildRequires: libpng-devel |
21ee9950 | 51 | BuildRequires: libstdc++-devel |
30d7d426 | 52 | BuildRequires: libtiff-devel |
0577552c | 53 | BuildRequires: openldap-devel |
c7103aaa | 54 | BuildRequires: openslp-devel |
373aff1e | 55 | %{!?with_gnutls:BuildRequires: openssl-devel} |
8bdc526e | 56 | BuildRequires: pam-devel |
752c3387 | 57 | %{?with_php:BuildRequires: php-devel >= 4:5.0.0} |
3219126a | 58 | BuildRequires: pkgconfig |
1770fa4c | 59 | %{?with_java:BuildRequires: rpm-javaprov} |
559b7094 | 60 | BuildRequires: rpm-perlprov |
4fc96bcd | 61 | BuildRequires: rpmbuild(macros) >= 1.344 |
9e9d05b7 | 62 | Requires(post,preun): /sbin/chkconfig |
39956f63 | 63 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
7d1a8fed | 64 | Requires: openssl-tools |
6bd9c7f7 | 65 | Requires: pam >= 0.77.3 |
a73a2669 | 66 | Requires: rc-scripts |
09af927c | 67 | Provides: printingdaemon |
1770fa4c | 68 | Obsoletes: printingdaemon |
a73a2669 | 69 | Conflicts: ghostscript < 7.05.4 |
9e79f779 | 70 | Conflicts: logrotate < 3.7-4 |
d7ee1497 PG |
71 | # pstoraster: |
72 | Suggests: cups-filter-pstoraster | |
73 | # Contains imagetops...: | |
bfcdd2d6 | 74 | Suggests: kde4-kde3support |
d7ee1497 PG |
75 | # pdftops: |
76 | Suggests: poppler-progs | |
77 | # pstops: | |
78 | Suggests: psutils | |
91331aef | 79 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
346112e3 | 80 | |
82f3f074 JK |
81 | %define _ulibdir %{_prefix}/lib |
82 | ||
fb328468 | 83 | %description |
dd843423 | 84 | CUPS provides a portable printing layer for UNIX-based operating |
8bff8fce MP |
85 | systems. It has been developed by Easy Software Products to promote a |
86 | standard printing solution for all UNIX vendors and users. CUPS | |
87 | provides the System V and Berkeley command-line interfaces. CUPS uses | |
88 | the Internet Printing Protocol ("IPP") as the basis for managing print | |
89 | jobs and queues. The Line Printer Daemon ("LPD") Server Message Block | |
90 | ("SMB"), and AppSocket (a.k.a. JetDirect) protocols are also supported | |
91 | with reduced functionality. CUPS adds network printer browsing and | |
92 | PostScript Printer Description ("PPD") based printing options to | |
93 | support real-world printing under UNIX. | |
346112e3 | 94 | |
2f78071d JR |
95 | %description -l pl.UTF-8 |
96 | CUPS dostarcza standardowy poziom drukowania dla systemów uniksowych. | |
97 | CUPS używa protokołu IPP - Internet Printint Protocol jako podstawy do | |
98 | zarządzania zadaniami i kolejkami druku. W ograniczonym zakresie | |
99 | obsługiwane są także protokoły LPD (Line Printer Daemon), SMB (Server | |
100 | Message Block) i AppSocket (znany także jako JetDirect). CUPS | |
101 | udostępnia przeglądanie drukarek sieciowych i opcje drukowania oparte | |
102 | na PPD (PostScript Printer Description) do obsługi rzeczywistych | |
bc9f5ffe | 103 | drukarek. |
30d7d426 | 104 | |
2f78071d JR |
105 | %description -l pt_BR.UTF-8 |
106 | O sistema Unix de impressão (CUPS) fornece uma camada de impressão | |
107 | portável para os sistemas operacionais baseados no UNIX®. | |
4644dd52 | 108 | |
6ebf74dd | 109 | %package lib |
fd7e4ff1 | 110 | Summary: Common Unix Printing System Libraries |
fb3b4f59 ER |
111 | Summary(pl.UTF-8): Biblioteki dla CUPS |
112 | Summary(pt_BR.UTF-8): Sistema Unix de Impressão - bibliotecas para uso em clientes cups | |
948a3d9c | 113 | License: LGPL v2 + openssl exception |
52835768 | 114 | Group: Libraries |
6ebf74dd | 115 | Provides: %{name}-libs = %{epoch}:%{version}-%{release} |
a73a2669 | 116 | Obsoletes: cups-libs |
bf6c7747 | 117 | Obsoletes: libcups1 |
fd7e4ff1 | 118 | |
6ebf74dd | 119 | %description lib |
9625f17f JB |
120 | Common Unix Printing System Libraries. |
121 | ||
2f78071d | 122 | %description lib -l pl.UTF-8 |
9625f17f | 123 | Biblioteki dla CUPS. |
fd7e4ff1 | 124 | |
2f78071d | 125 | %description lib -l pt_BR.UTF-8 |
6ebf74dd AF |
126 | Bibliotecas CUPS requeridas pelos clientes CUPS. |
127 | ||
2da56f05 SZ |
128 | %package clients |
129 | Summary: Common Unix Printing System Clients | |
fb3b4f59 | 130 | Summary(pl.UTF-8): Aplikacje klienckie dla CUPS |
948a3d9c | 131 | License: GPL v2 + openssl exception |
2da56f05 | 132 | Group: Applications/Printing |
e055e440 | 133 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
09af927c | 134 | Provides: printingclient |
1770fa4c | 135 | Obsoletes: printingclient |
2da56f05 SZ |
136 | |
137 | %description clients | |
138 | Common Unix Printing System Clients. | |
139 | ||
2f78071d | 140 | %description clients -l pl.UTF-8 |
2da56f05 SZ |
141 | Aplikacje klienckie dla CUPS. |
142 | ||
6ebf74dd AF |
143 | %package image-lib |
144 | Summary: Common Unix Printing System Libraries - images manipulation | |
fb3b4f59 ER |
145 | Summary(pl.UTF-8): Biblioteki dla CUPS - obsługa formatów graficznych |
146 | Summary(pt_BR.UTF-8): Sistema Unix de Impressão - bibliotecas para uso em clientes cups | |
948a3d9c | 147 | License: LGPL v2 + openssl exception |
52835768 | 148 | Group: Libraries |
039c735c | 149 | Requires: %{name}-lib = %{epoch}:%{version}-%{release} |
6ebf74dd AF |
150 | Obsoletes: libcups1 |
151 | ||
152 | %description image-lib | |
257636d7 | 153 | Common Unix Printing System Libraries - images manipalation. |
6ebf74dd | 154 | |
2f78071d JR |
155 | %description image-lib -l pl.UTF-8 |
156 | Biblioteki dla CUPS - obsługa formatów graficznych. | |
6ebf74dd | 157 | |
2f78071d | 158 | %description image-lib -l pt_BR.UTF-8 |
4644dd52 | 159 | Bibliotecas CUPS requeridas pelos clientes CUPS. |
160 | ||
980a97fe | 161 | %package devel |
162 | Summary: Common Unix Printing System development files | |
fb3b4f59 ER |
163 | Summary(pl.UTF-8): Ogólny system druku dla Uniksa - pliki nagłówkowe |
164 | Summary(pt_BR.UTF-8): Sistema Unix de Impressão - ambiente de desenvolvimento | |
948a3d9c | 165 | License: LGPL v2 + openssl exception |
980a97fe | 166 | Group: Development/Libraries |
cd99fdf9 JB |
167 | Requires: %{name}-image-lib = %{epoch}:%{version}-%{release} |
168 | Requires: %{name}-lib = %{epoch}:%{version}-%{release} | |
3e2caa76 | 169 | # for libcups |
950cc25f | 170 | %{?with_gnutls:Requires: gnutls-devel} |
eabd561c | 171 | Requires: heimdal-devel |
950cc25f | 172 | %{!?with_gnutls:Requires: openssl-devel} |
717a8d25 | 173 | Requires: zlib-devel |
3e2caa76 JB |
174 | # for libcupsimage |
175 | Requires: libjpeg-devel | |
176 | Requires: libpng-devel | |
177 | Requires: libtiff-devel | |
bf6c7747 | 178 | Obsoletes: libcups1-devel |
980a97fe | 179 | |
180 | %description devel | |
9625f17f | 181 | Common Unix Printing System development files. |
980a97fe | 182 | |
2f78071d JR |
183 | %description devel -l pl.UTF-8 |
184 | Ogólny system druku dla Uniksa - pliki nagłówkowe. | |
8bdc526e | 185 | |
2f78071d JR |
186 | %description devel -l pt_BR.UTF-8 |
187 | Este pacote é um adicional que contem um ambiente de desenvolvimento | |
188 | para a criação de suporte a novas impressoras e novos serviços ao | |
4644dd52 | 189 | CUPS. |
190 | ||
980a97fe | 191 | %package static |
192 | Summary: Common Unix Printing System static libraries | |
fb3b4f59 ER |
193 | Summary(pl.UTF-8): Ogólny system druku dla Uniksa - biblioteki statyczne |
194 | Summary(pt_BR.UTF-8): Common Unix Printing System - bibliotecas estáticas | |
948a3d9c | 195 | License: LGPL v2 + openssl exception |
980a97fe | 196 | Group: Development/Libraries |
cd99fdf9 | 197 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
980a97fe | 198 | |
199 | %description static | |
8bdc526e | 200 | Common Unix Printing System static libraries. |
980a97fe | 201 | |
2f78071d JR |
202 | %description static -l pl.UTF-8 |
203 | Ogólny system druku dla Uniksa - biblioteki statyczne. | |
8bdc526e | 204 | |
2f78071d JR |
205 | %description static -l pt_BR.UTF-8 |
206 | Bibliotecas estáticas para desenvolvimento de programas que usam as | |
4644dd52 | 207 | bibliotecas do CUPS. |
208 | ||
2e2308c6 | 209 | %package -n perl-cups |
7be5c8e8 | 210 | Summary: Perl module for CUPS |
fb3b4f59 | 211 | Summary(pl.UTF-8): Moduł Perla CUPS |
948a3d9c | 212 | License: GPL v2 + openssl exception |
7be5c8e8 | 213 | Group: Development/Languages/Perl |
cd99fdf9 | 214 | Requires: %{name}-lib = %{epoch}:%{version}-%{release} |
2e2308c6 AF |
215 | |
216 | %description -n perl-cups | |
7be5c8e8 JB |
217 | Perl module for Common Unix Printing System. |
218 | ||
2f78071d JR |
219 | %description -n perl-cups -l pl.UTF-8 |
220 | Moduł Perla do ogólnego systemu druku dla Uniksa. | |
2e2308c6 AF |
221 | |
222 | %package -n php-cups | |
223 | Summary: PHP module for CUPS | |
fb3b4f59 | 224 | Summary(pl.UTF-8): Moduł PHP CUPS |
948a3d9c | 225 | License: GPL v2 + openssl exception |
7be5c8e8 | 226 | Group: Development/Languages/PHP |
cd99fdf9 | 227 | Requires: %{name}-lib = %{epoch}:%{version}-%{release} |
ed486845 | 228 | %{?requires_php_extension} |
786665a9 | 229 | Requires: /etc/php/conf.d |
752c3387 | 230 | Requires: php-common >= 4:5.0.0 |
2e2308c6 AF |
231 | |
232 | %description -n php-cups | |
233 | PHP module for Common Unix Printing System. | |
234 | ||
2f78071d JR |
235 | %description -n php-cups -l pl.UTF-8 |
236 | Moduł PHP do ogólnego systemu druku dla Uniksa. | |
7be5c8e8 | 237 | |
84d9a886 JR |
238 | %package -n java-cups |
239 | Summary: CUPS java classes | |
240 | Summary(pl.UTF-8): Klasy javy CUPS | |
948a3d9c | 241 | License: GPL v2 + openssl exception |
35e2cf44 | 242 | Group: Libraries/Java |
1770fa4c | 243 | Requires: jpackage-utils |
84d9a886 JR |
244 | |
245 | %description -n java-cups | |
246 | Common Unix Printing System Java classes. | |
247 | ||
248 | %description -n java-cups -l pl.UTF-8 | |
249 | Klasy javy do ogólnego systemu druku dla Uniksa. | |
250 | ||
1770fa4c ER |
251 | %package -n java-cups-javadoc |
252 | Summary: Online manual for %{name} | |
253 | Summary(pl.UTF-8): Dokumentacja online do %{name} | |
948a3d9c | 254 | License: GPL v2 + openssl exception |
1770fa4c ER |
255 | Group: Documentation |
256 | Requires: jpackage-utils | |
257 | ||
258 | %description -n java-cups-javadoc | |
259 | Documentation for %{name}. | |
260 | ||
261 | %description -n java-cups-javadoc -l pl.UTF-8 | |
262 | Dokumentacja do %{name}. | |
263 | ||
264 | %description -n java-cups-javadoc -l fr.UTF-8 | |
265 | Javadoc pour %{name}. | |
266 | ||
25aeafb8 | 267 | %package backend-usb |
0f8ac12d | 268 | Summary: USB backend for CUPS |
fb3b4f59 | 269 | Summary(pl.UTF-8): Backend USB dla CUPS-a |
948a3d9c | 270 | License: GPL v2 + openssl exception |
0f8ac12d | 271 | Group: Applications/Printing |
cd99fdf9 | 272 | Requires: %{name} = %{epoch}:%{version}-%{release} |
0f8ac12d AF |
273 | |
274 | %description backend-usb | |
275 | This package allow CUPS printing on USB printers. | |
276 | ||
2f78071d JR |
277 | %description backend-usb -l pl.UTF-8 |
278 | Ten pakiet umożliwia drukowanie z poziomu CUPS-a na drukarkach USB. | |
71ac0ea6 | 279 | |
25aeafb8 | 280 | %package backend-serial |
71ac0ea6 | 281 | Summary: Serial port backend for CUPS |
fb3b4f59 | 282 | Summary(pl.UTF-8): Backend obsługujący porty szeregowe dla CUPS-a |
948a3d9c | 283 | License: GPL v2 + openssl exception |
0f8ac12d | 284 | Group: Applications/Printing |
cd99fdf9 | 285 | Requires: %{name} = %{epoch}:%{version}-%{release} |
0f8ac12d AF |
286 | |
287 | %description backend-serial | |
71ac0ea6 JB |
288 | This package allow CUPS printing on printers connected by serial |
289 | ports. | |
290 | ||
2f78071d JR |
291 | %description backend-serial -l pl.UTF-8 |
292 | Ten pakiet umożliwia drukowanie z poziomu CUPS-a na drukarkach | |
293 | podłączonych do portów szeregowych. | |
0f8ac12d | 294 | |
25aeafb8 | 295 | %package backend-parallel |
71ac0ea6 | 296 | Summary: Parallel port backend for CUPS |
fb3b4f59 | 297 | Summary(pl.UTF-8): Backend obsługujący porty równoległe dla CUPS-a |
948a3d9c | 298 | License: GPL v2 + openssl exception |
0f8ac12d | 299 | Group: Applications/Printing |
cd99fdf9 | 300 | Requires: %{name} = %{epoch}:%{version}-%{release} |
0f8ac12d AF |
301 | |
302 | %description backend-parallel | |
71ac0ea6 JB |
303 | This package allow CUPS printing on printers connected by parallel |
304 | ports. | |
305 | ||
2f78071d JR |
306 | %description backend-parallel -l pl.UTF-8 |
307 | Ten pakiet umożliwia drukowanie z poziomu CUPS-a na drukarkach | |
308 | podłączonych do portów równoległych. | |
0f8ac12d | 309 | |
84d9a886 JR |
310 | %package lpd |
311 | Summary: LPD compatibility support for CUPS print server | |
312 | Summary(pl.UTF-8): Wsparcie dla LPD w serwerze wydruków CUPS | |
948a3d9c | 313 | License: GPL v2 + openssl exception |
84d9a886 | 314 | Group: Applications/Printing |
84d9a886 | 315 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1770fa4c | 316 | Requires: rc-inetd |
84d9a886 JR |
317 | |
318 | %description lpd | |
319 | LPD compatibility support for CUPS print server. | |
320 | ||
321 | %description lpd -l pl.UTF-8 | |
322 | Wsparcie dla LPD w serwerze wydruków CUPS. | |
323 | ||
346112e3 | 324 | %prep |
735a5048 | 325 | %setup -q |
73a0798d | 326 | %patch0 -p1 |
25dfe94f | 327 | %patch2 -p1 |
73a0798d | 328 | %patch3 -p1 |
f75e41c7 | 329 | %patch4 -p1 |
653cdc22 | 330 | %patch5 -p1 |
428f33ff | 331 | %patch6 -p1 |
388c735f | 332 | %patch7 -p1 |
84d9a886 | 333 | %patch9 -p1 |
948a3d9c | 334 | %patch10 -p1 |
8bdc526e | 335 | |
346112e3 | 336 | %build |
daf27ba0 | 337 | %{__aclocal} -I config-scripts |
0b9d4622 | 338 | %{__autoconf} |
c6f4ebff | 339 | %configure \ |
82f3f074 | 340 | --libdir=%{_ulibdir} \ |
5aac26ac KK |
341 | --disable-cdsassl \ |
342 | --enable-dbus \ | |
8d2025a2 | 343 | --enable-shared \ |
5aac26ac KK |
344 | --enable-ssl \ |
345 | %{?debug:--enable-debug} \ | |
346 | --%{!?with_dnssd:dis}%{?with_dnssd:en}able-dnssd \ | |
347 | --%{!?with_gnutls:dis}%{?with_gnutls:en}able-gnutls \ | |
348 | --%{?with_gnutls:dis}%{!?with_gnutls:en}able-openssl \ | |
349 | %{?with_static_libs:--enable-static} \ | |
ceddaf82 | 350 | --with-cups-user=lp \ |
32eff1a9 | 351 | --with-cups-group=lp \ |
ceddaf82 AM |
352 | --with-system-groups=sys \ |
353 | --with-printcap=/etc/printcap \ | |
5aac26ac | 354 | --with-dbusdir=/etc/dbus-1 \ |
373aff1e | 355 | --with-docdir=%{_ulibdir}/%{name}/cgi-bin \ |
ceddaf82 AM |
356 | --with-config-file-perm=0640 \ |
357 | --with-log-file-perm=0640 \ | |
5aac26ac | 358 | --with-optim=-Wno-format-y2k \ |
ceddaf82 AM |
359 | %{?with_dnssd:--with-dnssd-libs=x} \ |
360 | %{?with_dnssd:--with-dnssd-includes=x} \ | |
afacd72e | 361 | --with-java=%{_bindir}/java \ |
5aac26ac KK |
362 | %{?with_perl:--with-perl} \ |
363 | %{?with_php:--with-php} \ | |
84d9a886 | 364 | %{?with_python:--with-python} |
373aff1e | 365 | |
346112e3 | 366 | %{__make} |
7be5c8e8 | 367 | |
cad7b106 | 368 | %{__perl} -pi -e 's#-I\.\.\/\.\.#-I../.. -I../../cups#g' scripting/php/Makefile |
e809c01b | 369 | %{?with_php:%{__make} -C scripting/php PHPCONFIG=%{_bindir}/php-config} |
7be5c8e8 | 370 | |
f07e6182 | 371 | %if %{with perl} |
2e2308c6 | 372 | cd scripting/perl |
7be5c8e8 JB |
373 | %{__perl} -pi -e 's@-lcups@-L../../cups $1@' Makefile.PL |
374 | %{__perl} Makefile.PL \ | |
375 | INSTALLDIRS=vendor \ | |
376 | OPTIMIZE="%{rpmcflags} -I../.." | |
377 | # avoid rpaths generated by MakeMaker | |
cad7b106 | 378 | %{__perl} -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' Makefile |
7be5c8e8 JB |
379 | |
380 | %{__make} | |
2e2308c6 AF |
381 | cd ../.. |
382 | %endif | |
346112e3 | 383 | |
384 | %install | |
385 | rm -rf $RPM_BUILD_ROOT | |
84d9a886 | 386 | install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,logrotate.d,security,sysconfig/rc-inetd} \ |
428f33ff | 387 | $RPM_BUILD_ROOT/var/run/cups \ |
38f5ddf3 | 388 | $RPM_BUILD_ROOT/var/log/{,archive/}cups |
fd7e4ff1 | 389 | |
6133c494 | 390 | %{__make} install \ |
e827011a AM |
391 | BUILDROOT=$RPM_BUILD_ROOT \ |
392 | CUPS_USER=$(id -u) \ | |
393 | CUPS_GROUP=$(id -g) | |
fd7e4ff1 | 394 | |
82f3f074 JK |
395 | if [ "%{_lib}" != "lib" ] ; then |
396 | install -d $RPM_BUILD_ROOT%{_libdir} | |
397 | mv $RPM_BUILD_ROOT%{_ulibdir}/*.so* $RPM_BUILD_ROOT%{_libdir} | |
8a37ac1d | 398 | %if %{with static_libs} |
e3bfc8b9 | 399 | mv $RPM_BUILD_ROOT%{_ulibdir}/*.a $RPM_BUILD_ROOT%{_libdir} |
8a37ac1d | 400 | %endif |
82f3f074 JK |
401 | fi |
402 | ||
f07e6182 | 403 | %if %{with php} |
2e2308c6 | 404 | %{__make} -C scripting/php install \ |
4fc96bcd ER |
405 | PHPDIR=$RPM_BUILD_ROOT%{php_extensiondir} |
406 | install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d | |
1770fa4c | 407 | cat > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/phpcups.ini << 'EOF' |
e809c01b | 408 | ; Enable phpcups extension module |
752c3387 ER |
409 | extension=phpcups.so |
410 | EOF | |
2e2308c6 AF |
411 | %endif |
412 | ||
f07e6182 | 413 | %if %{with perl} |
653cdc22 | 414 | %{__make} -C scripting/perl install \ |
6133c494 | 415 | DESTDIR=$RPM_BUILD_ROOT |
2e2308c6 AF |
416 | %endif |
417 | ||
cad7b106 | 418 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
419 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/%{name} | |
420 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} | |
1770fa4c | 421 | install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/cups/mailto.conf |
84d9a886 | 422 | sed -e 's|__ULIBDIR__|%{_ulibdir}|g' %{SOURCE5} > $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/cups-lpd |
45a67ab9 | 423 | |
4d897458 | 424 | touch $RPM_BUILD_ROOT/var/log/cups/{access_log,error_log,page_log} |
cad7b106 | 425 | touch $RPM_BUILD_ROOT/etc/security/blacklist.cups |
8d2025a2 | 426 | touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/{classes,printers,client}.conf |
679be76f | 427 | |
ef5fe709 ER |
428 | # windows drivers can be put there. |
429 | install -d $RPM_BUILD_ROOT%{_datadir}/cups/drivers | |
430 | ||
748a0bf9 ER |
431 | # dirs for gimp-print-cups-4.2.7-1 |
432 | install -d $RPM_BUILD_ROOT%{_datadir}/cups/model/{C,da,en_GB,fr,nb,pl,sv} | |
433 | ||
daf27ba0 | 434 | touch $RPM_BUILD_ROOT/var/cache/cups/help.index |
6139e54a | 435 | touch $RPM_BUILD_ROOT/var/cache/cups/{job,remote}.cache |
68e5a032 | 436 | touch $RPM_BUILD_ROOT/var/cache/cups/ppds.dat |
748a0bf9 | 437 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/cups/ssl |
ef5fe709 | 438 | |
eea94f34 | 439 | # links to enable/disable (compatibility!) |
748a0bf9 ER |
440 | ln -s accept $RPM_BUILD_ROOT%{_sbindir}/enable |
441 | ln -s accept $RPM_BUILD_ROOT%{_sbindir}/disable | |
eea94f34 | 442 | |
4e75f969 JB |
443 | # fix/update locale names |
444 | install -d $RPM_BUILD_ROOT%{_datadir}/locale/{nb,zh_CN} | |
445 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no/cups_no.po,nb/cups_nb.po} | |
446 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{zh/cups_zh.po,zh_CN/cups_zh_CN.po} | |
447 | ||
2e2308c6 | 448 | # check-files cleanup |
0ce3cd57 | 449 | rm -rf $RPM_BUILD_ROOT%{_mandir}/{,es/,fr/}cat? |
748a0bf9 | 450 | rm -rf $RPM_BUILD_ROOT/''etc/{init.d,rc?.d}/* |
54906e64 | 451 | rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cupsd.conf.default |
679be76f | 452 | |
9625f17f JB |
453 | %clean |
454 | rm -rf $RPM_BUILD_ROOT | |
455 | ||
168e60c2 | 456 | %post |
8a24ec7f | 457 | /sbin/chkconfig --add cups |
a73a2669 | 458 | %service cups restart "cups daemon" |
fb328468 | 459 | |
168e60c2 | 460 | %preun |
fd7e4ff1 | 461 | if [ "$1" = "0" ]; then |
a73a2669 | 462 | %service cups stop |
fd7e4ff1 | 463 | /sbin/chkconfig --del cups |
464 | fi | |
168e60c2 | 465 | |
19e8d1ed | 466 | %post lib -p /sbin/ldconfig |
467 | %postun lib -p /sbin/ldconfig | |
468 | %post image-lib -p /sbin/ldconfig | |
469 | %postun image-lib -p /sbin/ldconfig | |
8bdc526e | 470 | |
752c3387 | 471 | %post -n php-cups |
572f9a81 | 472 | %php_webserver_restart |
752c3387 ER |
473 | |
474 | %postun -n php-cups | |
475 | if [ "$1" = 0 ]; then | |
572f9a81 | 476 | %php_webserver_restart |
752c3387 ER |
477 | fi |
478 | ||
84d9a886 JR |
479 | %post lpd |
480 | %service -q rc-inetd reload | |
481 | ||
482 | %postun lpd | |
483 | if [ "$1" = 0 ]; then | |
484 | %service -q rc-inetd reload | |
485 | fi | |
486 | ||
fd7e4ff1 | 487 | %files |
346112e3 | 488 | %defattr(644,root,root,755) |
05d8dec5 | 489 | #%doc *.gz doc/*.html doc/*.css doc/images |
4c209b1f | 490 | %doc *.txt |
39956f63 | 491 | %attr(640,root,root) %config %verify(not md5 mtime size) /etc/pam.d/* |
8bdc526e | 492 | %attr(754,root,root) /etc/rc.d/init.d/cups |
e809c01b | 493 | /etc/dbus-1/system.d/cups.conf |
6139e54a | 494 | %attr(600,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/classes.conf |
39956f63 | 495 | %attr(640,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/cupsd.conf |
daf27ba0 | 496 | %attr(600,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/printers.conf |
60e0cb5a | 497 | %attr(600,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/mailto.conf |
3cb197ff | 498 | %attr(600,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/snmp.conf |
afacd72e AM |
499 | #%attr(640,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.convs |
500 | #%attr(640,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.types | |
cd29fb20 | 501 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.cups |
4017839a | 502 | %dir %attr(700,root,lp) %{_sysconfdir}/%{name}/ssl |
934a05d8 | 503 | %dir %{_sysconfdir}/%{name}/interfaces |
6139e54a | 504 | %dir %attr(755,root,lp) %{_sysconfdir}/%{name}/ppd |
39956f63 | 505 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name} |
fd7e4ff1 | 506 | %attr(4755,lp,root) %{_bindir}/lppasswd |
3ddab923 | 507 | %attr(755,root,root) %{_bindir}/cupstestppd |
e809c01b | 508 | %attr(755,root,root) %{_bindir}/cupstestdsc |
ceddaf82 | 509 | %attr(755,root,root) %{_sbindir}/cupsctl |
daf27ba0 | 510 | %attr(755,root,root) %{_sbindir}/cupsd |
ceddaf82 | 511 | %attr(755,root,root) %{_sbindir}/cupsfilter |
daf27ba0 | 512 | |
82f3f074 JK |
513 | %dir %{_ulibdir}/cups |
514 | %dir %{_ulibdir}/cups/* | |
daf27ba0 KK |
515 | %{_ulibdir}/cups/cgi-bin/help |
516 | %{_ulibdir}/cups/cgi-bin/images | |
517 | %attr(755,root,root) %{_ulibdir}/cups/cgi-bin/*.cgi | |
518 | %{_ulibdir}/cups/cgi-bin/*.css | |
519 | %{_ulibdir}/cups/cgi-bin/*.html | |
afacd72e | 520 | #%{_ulibdir}/cups/cgi-bin/*.ico |
daf27ba0 | 521 | %{_ulibdir}/cups/cgi-bin/*.txt |
21212dc8 | 522 | %lang(de) %{_ulibdir}/cups/cgi-bin/de |
daf27ba0 | 523 | %lang(es) %{_ulibdir}/cups/cgi-bin/es |
afacd72e AM |
524 | %lang(eu) %{_ulibdir}/cups/cgi-bin/eu |
525 | #%lang(fr) %{_ulibdir}/cups/cgi-bin/fr | |
526 | #%lang(he) %{_ulibdir}/cups/cgi-bin/he | |
527 | #%lang(id) %{_ulibdir}/cups/cgi-bin/id | |
528 | #%lang(it) %{_ulibdir}/cups/cgi-bin/it | |
daf27ba0 KK |
529 | %lang(ja) %{_ulibdir}/cups/cgi-bin/ja |
530 | %lang(pl) %{_ulibdir}/cups/cgi-bin/pl | |
afacd72e AM |
531 | %lang(ru) %{_ulibdir}/cups/cgi-bin/ru |
532 | #%lang(zh_TW) %{_ulibdir}/cups/cgi-bin/zh_TW | |
daf27ba0 | 533 | |
82f3f074 JK |
534 | %exclude %{_ulibdir}/cups/backend/usb |
535 | %exclude %{_ulibdir}/cups/backend/serial | |
536 | %exclude %{_ulibdir}/cups/backend/parallel | |
daf27ba0 | 537 | %attr(755,root,root) %{_ulibdir}/cups/backend/* |
84d9a886 JR |
538 | %attr(755,root,root) %{_ulibdir}/cups/daemon/cups-deviced |
539 | %attr(755,root,root) %{_ulibdir}/cups/daemon/cups-driverd | |
540 | %attr(755,root,root) %{_ulibdir}/cups/daemon/cups-polld | |
daf27ba0 KK |
541 | %attr(755,root,root) %{_ulibdir}/cups/filter/* |
542 | %attr(755,root,root) %{_ulibdir}/cups/monitor/* | |
543 | %attr(755,root,root) %{_ulibdir}/cups/notifier/* | |
544 | ||
54906e64 | 545 | %{_datadir}/cups/banners |
54906e64 ER |
546 | %{_datadir}/cups/charsets |
547 | %{_datadir}/cups/data | |
6139e54a | 548 | %{_datadir}/cups/drivers |
54906e64 | 549 | %{_datadir}/cups/fonts |
748a0bf9 | 550 | %dir %{_datadir}/cups/model |
afacd72e | 551 | #%{_datadir}/cups/model/*.ppd.gz |
748a0bf9 ER |
552 | # dirs for gimp-print-cups-4.2.7-1 |
553 | %dir %{_datadir}/cups/model/C | |
554 | %lang(da) %dir %{_datadir}/cups/model/da | |
555 | %lang(en_GB) %dir %{_datadir}/cups/model/en_GB | |
556 | %lang(fr) %dir %{_datadir}/cups/model/fr | |
557 | %lang(nb) %dir %{_datadir}/cups/model/nb | |
558 | %lang(pl) %dir %{_datadir}/cups/model/pl | |
559 | %lang(sv) %dir %{_datadir}/cups/model/sv | |
560 | ||
54906e64 ER |
561 | %dir %{_datadir}/cups/templates |
562 | %{_datadir}/cups/templates/*.tmpl | |
21212dc8 | 563 | %lang(de) %{_datadir}/cups/templates/de |
54906e64 | 564 | %lang(es) %{_datadir}/cups/templates/es |
afacd72e AM |
565 | %lang(eu) %{_datadir}/cups/templates/eu |
566 | #%lang(fr) %{_datadir}/cups/templates/fr | |
567 | #%lang(he) %{_datadir}/cups/templates/he | |
568 | #%lang(id) %{_datadir}/cups/templates/id | |
569 | #%lang(it) %{_datadir}/cups/templates/it | |
54906e64 ER |
570 | %lang(ja) %{_datadir}/cups/templates/ja |
571 | %lang(pl) %{_datadir}/cups/templates/pl | |
afacd72e AM |
572 | %lang(ru) %{_datadir}/cups/templates/ru |
573 | #%lang(zh_TW) %{_datadir}/cups/templates/zh_TW | |
c1555e94 | 574 | %{_mandir}/man1/cupstestppd.1* |
e809c01b | 575 | %{_mandir}/man1/cupstestdsc.1* |
0366ccc3 | 576 | %{_mandir}/man1/lppasswd.1* |
4e75f969 JB |
577 | %{_mandir}/man7/backend.7* |
578 | %{_mandir}/man7/filter.7* | |
84d9a886 JR |
579 | %{_mandir}/man5/* |
580 | %{_mandir}/man8/accept.8* | |
581 | %{_mandir}/man8/cups-deviced.8* | |
582 | %{_mandir}/man8/cups-driverd.8* | |
583 | %{_mandir}/man8/cups-polld.8* | |
584 | %{_mandir}/man8/cupsaddsmb.8* | |
585 | %{_mandir}/man8/cupsctl.8* | |
586 | %{_mandir}/man8/cupsd.8* | |
587 | %{_mandir}/man8/cupsenable.8* | |
588 | %{_mandir}/man8/cupsfilter.8* | |
589 | %{_mandir}/man8/lp* | |
daf27ba0 KK |
590 | |
591 | %dir %attr(775,root,lp) /var/cache/cups | |
428f33ff KK |
592 | %dir %attr(755,root,lp) /var/lib/cups |
593 | %dir %attr(511,lp,sys) /var/lib/cups/certs | |
6139e54a | 594 | %dir %attr(755,root,lp) /var/run/cups |
daf27ba0 KK |
595 | %dir %attr(710,root,lp) /var/spool/cups |
596 | %dir %attr(1770,root,lp) /var/spool/cups/tmp | |
68e5a032 | 597 | %attr(600,lp,lp) %ghost /var/cache/cups/help.index |
6139e54a | 598 | %attr(640,root,lp) %ghost /var/cache/cups/job.cache |
68e5a032 | 599 | %attr(600,lp,lp) %ghost /var/cache/cups/ppds.dat |
6139e54a | 600 | %attr(640,root,lp) %ghost /var/cache/cups/remote.cache |
081a50cb | 601 | %attr(750,root,logs) %dir /var/log/archive/cups |
40183055 JK |
602 | %attr(750,root,logs) %dir /var/log/cups |
603 | %attr(640,root,logs) %ghost /var/log/cups/access_log | |
604 | %attr(640,root,logs) %ghost /var/log/cups/error_log | |
605 | %attr(640,root,logs) %ghost /var/log/cups/page_log | |
980a97fe | 606 | |
6ebf74dd AF |
607 | %files lib |
608 | %defattr(644,root,root,755) | |
3c247a25 | 609 | %dir %attr(755,root,lp) %{_sysconfdir}/%{name} |
6ebf74dd | 610 | %attr(755,root,root) %{_libdir}/libcups.so.* |
a57fa410 KK |
611 | %dir %{_datadir}/cups |
612 | %{_datadir}/cups/charmaps | |
613 | %lang(da) %{_datadir}/locale/da/cups_da.po | |
614 | %lang(de) %{_datadir}/locale/de/cups_de.po | |
615 | %lang(es) %{_datadir}/locale/es/cups_es.po | |
afacd72e | 616 | %lang(eu) %{_datadir}/locale/eu/cups_eu.po |
a57fa410 KK |
617 | %lang(fi) %{_datadir}/locale/fi/cups_fi.po |
618 | %lang(fr) %{_datadir}/locale/fr/cups_fr.po | |
afacd72e AM |
619 | #%lang(he) %{_datadir}/locale/he/cups_he.po |
620 | #%lang(id) %{_datadir}/locale/id/cups_id.po | |
a57fa410 KK |
621 | %lang(it) %{_datadir}/locale/it/cups_it.po |
622 | %lang(ko) %{_datadir}/locale/ko/cups_ko.po | |
623 | %lang(ja) %{_datadir}/locale/ja/cups_ja.po | |
624 | %lang(nl) %{_datadir}/locale/nl/cups_nl.po | |
4e75f969 | 625 | %lang(nb) %{_datadir}/locale/nb/cups_nb.po |
a57fa410 KK |
626 | %lang(pl) %{_datadir}/locale/pl/cups_pl.po |
627 | %lang(pt) %{_datadir}/locale/pt/cups_pt.po | |
628 | %lang(pt_BR) %{_datadir}/locale/pt_BR/cups_pt_BR.po | |
a57fa410 KK |
629 | %lang(ru) %{_datadir}/locale/ru/cups_ru.po |
630 | %lang(sv) %{_datadir}/locale/sv/cups_sv.po | |
4e75f969 | 631 | %lang(zh_CN) %{_datadir}/locale/zh_CN/cups_zh_CN.po |
a57fa410 | 632 | %lang(zh_TW) %{_datadir}/locale/zh_TW/cups_zh_TW.po |
6ebf74dd | 633 | |
2da56f05 SZ |
634 | %files clients |
635 | %defattr(644,root,root,755) | |
8d2025a2 | 636 | %attr(644,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/client.conf |
2da56f05 | 637 | %attr(755,root,root) %{_bindir}/cancel |
2da56f05 SZ |
638 | %attr(755,root,root) %{_bindir}/lp |
639 | %attr(755,root,root) %{_bindir}/lpoptions | |
640 | %attr(755,root,root) %{_bindir}/lpq | |
641 | %attr(755,root,root) %{_bindir}/lpr | |
642 | %attr(755,root,root) %{_bindir}/lprm | |
643 | %attr(755,root,root) %{_bindir}/lpstat | |
501ef07e AM |
644 | %attr(755,root,root) %{_sbindir}/accept |
645 | %attr(755,root,root) %{_sbindir}/cupsaddsmb | |
eea94f34 | 646 | %attr(755,root,root) %{_sbindir}/cupsenable |
647 | %attr(755,root,root) %{_sbindir}/cupsdisable | |
648 | %attr(755,root,root) %{_sbindir}/disable | |
649 | %attr(755,root,root) %{_sbindir}/enable | |
501ef07e AM |
650 | %attr(755,root,root) %{_sbindir}/lpadmin |
651 | %attr(755,root,root) %{_sbindir}/lpc | |
652 | %attr(755,root,root) %{_sbindir}/lpinfo | |
653 | %attr(755,root,root) %{_sbindir}/lpmove | |
654 | %attr(755,root,root) %{_sbindir}/reject | |
1770fa4c ER |
655 | %{_desktopdir}/cups.desktop |
656 | %{_iconsdir}/hicolor/*/apps/cups.png | |
93040bdf | 657 | %{_mandir}/man1/cancel.1* |
0366ccc3 AF |
658 | %{_mandir}/man1/lp.1* |
659 | %{_mandir}/man1/lpoptions.1* | |
660 | %{_mandir}/man1/lpq.1* | |
661 | %{_mandir}/man1/lpr.1* | |
662 | %{_mandir}/man1/lprm.1* | |
663 | %{_mandir}/man1/lpstat.1* | |
e809c01b AM |
664 | #%lang(fr) %{_mandir}/fr/man1/cancel.1* |
665 | #%lang(fr) %{_mandir}/fr/man1/lp.1* | |
666 | #%lang(fr) %{_mandir}/fr/man1/lpoptions.1* | |
667 | #%lang(fr) %{_mandir}/fr/man1/lpq.1* | |
668 | #%lang(fr) %{_mandir}/fr/man1/lpr.1* | |
669 | #%lang(fr) %{_mandir}/fr/man1/lprm.1* | |
670 | #%lang(fr) %{_mandir}/fr/man1/lpstat.1* | |
671 | #%lang(es) %{_mandir}/es/man1/lp.1* | |
672 | #%lang(es) %{_mandir}/es/man1/lpoptions.1* | |
673 | #%lang(es) %{_mandir}/es/man1/lpq.1* | |
674 | #%lang(es) %{_mandir}/es/man1/lpr.1* | |
675 | #%lang(es) %{_mandir}/es/man1/lprm.1* | |
676 | #%lang(es) %{_mandir}/es/man1/lpstat.1* | |
2da56f05 | 677 | |
6ebf74dd | 678 | %files image-lib |
fd7e4ff1 | 679 | %defattr(644,root,root,755) |
6ebf74dd | 680 | %attr(755,root,root) %{_libdir}/libcupsimage.so.* |
fd7e4ff1 | 681 | |
980a97fe | 682 | %files devel |
683 | %defattr(644,root,root,755) | |
6e2c2519 | 684 | %attr(755,root,root) %{_bindir}/cups-config |
4e75f969 JB |
685 | %attr(755,root,root) %{_libdir}/libcups.so |
686 | %attr(755,root,root) %{_libdir}/libcupsimage.so | |
980a97fe | 687 | %{_includedir}/cups |
4e75f969 JB |
688 | %{_mandir}/man1/cups-config.1* |
689 | #%lang(fr) %{_mandir}/fr/man1/cups-config.1* | |
690 | #%lang(es) %{_mandir}/es/man1/cups-config.1* | |
980a97fe | 691 | |
373aff1e | 692 | %if %{with static_libs} |
8d2025a2 AM |
693 | %files static |
694 | %defattr(644,root,root,755) | |
4e75f969 JB |
695 | %{_libdir}/libcups.a |
696 | %{_libdir}/libcupsimage.a | |
373aff1e | 697 | %endif |
2e2308c6 | 698 | |
f07e6182 | 699 | %if %{with perl} |
2e2308c6 AF |
700 | %files -n perl-cups |
701 | %defattr(644,root,root,755) | |
4e75f969 | 702 | %{perl_vendorarch}/CUPS.pm |
2e2308c6 | 703 | %dir %{perl_vendorarch}/auto/CUPS |
4e75f969 | 704 | %{perl_vendorarch}/auto/CUPS/CUPS.bs |
2e2308c6 | 705 | %{perl_vendorarch}/auto/CUPS/autosplit.ix |
4e75f969 JB |
706 | %attr(755,root,root) %{perl_vendorarch}/auto/CUPS/CUPS.so |
707 | %{_mandir}/man3/CUPS.3pm* | |
83bc4a43 | 708 | %endif |
2e2308c6 | 709 | |
f07e6182 | 710 | %if %{with php} |
2e2308c6 AF |
711 | %files -n php-cups |
712 | %defattr(644,root,root,755) | |
44b3e11b | 713 | %doc scripting/php/README |
4e75f969 | 714 | %attr(755,root,root) %{php_extensiondir}/phpcups.so |
4fc96bcd | 715 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/phpcups.ini |
83bc4a43 | 716 | %endif |
0f8ac12d AF |
717 | |
718 | %files backend-usb | |
719 | %defattr(644,root,root,755) | |
82f3f074 | 720 | %attr(755,root,root) %{_ulibdir}/cups/backend/usb |
0f8ac12d AF |
721 | |
722 | %files backend-serial | |
723 | %defattr(644,root,root,755) | |
82f3f074 | 724 | %attr(755,root,root) %{_ulibdir}/cups/backend/serial |
0f8ac12d AF |
725 | |
726 | %files backend-parallel | |
727 | %defattr(644,root,root,755) | |
82f3f074 | 728 | %attr(755,root,root) %{_ulibdir}/cups/backend/parallel |
84d9a886 JR |
729 | |
730 | %files lpd | |
731 | %defattr(644,root,root,755) | |
732 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/* | |
733 | %attr(755,root,root) %{_ulibdir}/cups/daemon/cups-lpd | |
734 | %{_mandir}/man8/cups-lpd.8* |