source: projects/specs/trunk/c/cups/cups-vl.spec @ 12313

Revision 12313, 41.9 KB checked in by tomop, 4 years ago (diff)

reverted commit r12312

Line 
1%define _libexecdir %{_libdir}
2%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
3%define initdir %{_sysconfdir}/rc.d/init.d
4%define use_alternatives 1
5
6%define _unpackaged_files_terminate_build 1
7
8Summary: Common Unix Printing System
9Name: cups
10Version: 2.2.11
11Release: 1%{?_dist_release}
12License: GPL
13Group: System Environment/Daemons
14
15Vendor: Project Vine
16Distribution: Vine Linux
17Packager: daisuke, tomop
18
19Source: https://github.com/apple/cups/releases/download/release-%{version}/cups-%{version}-source.tar.gz
20# Our initscript
21Source1: cups.init
22# Pixmap for desktop file
23Source2: cupsprinter.png
24# udev rules for libusb devices
25Source3: cups-libusb.rules
26# LSPP-required ps->pdf filter
27Source4: pstopdf
28# xinetd config file for cups-lpd service
29Source5: cups-lpd
30# Logrotate configuration
31Source6: cups.logrotate
32# Backend for NCP protocol
33Source7: ncp.backend
34# Cron-based tmpwatch for /var/spool/cups/tmp
35Source8: cups.cron
36# Filter and PPD for textonly printing
37Source9: textonly.filter
38Source10: textonly.ppd
39Source11: macros.cups
40
41Source101: http://www.openprinting.org/download/printing/dnssd
42Source102: pstoraster
43Source103: pstoraster.convs
44Source104: postscript.ppd.gz
45Source105: pdftops.conf
46
47Source201: dvitops
48Source202: dvitops.convs
49Source203: dvitops.types
50Source204: cjktexttops
51Source206: pxlmono.ppd.gz
52Source207: pxlcolor.ppd.gz
53Source208: cups.conf
54
55Patch1: cups-no-gzip-man.patch
56Patch2: cups-system-auth.patch
57Patch3: cups-multilib.patch
58Patch5: cups-banners.patch
59Patch7: cups-no-export-ssllibs.patch
60Patch8: cups-direct-usb.patch
61Patch12: cups-eggcups.patch
62Patch13: cups-driverd-timeout.patch
63Patch15: cups-logrotate.patch
64Patch16: cups-usb-paperout.patch
65Patch19: cups-uri-compat.patch
66Patch22: cups-hp-deviceid-oid.patch
67Patch23: cups-dnssd-deviceid.patch
68Patch24: cups-ricoh-deviceid-oid.patch
69Patch25: cups-systemd-socket.patch
70Patch30: cups-freebind.patch
71Patch35: cups-ipp-multifile.patch
72Patch36: cups-web-devices-timeout.patch
73Patch37: cups-synconclose.patch
74Patch38: cups-ypbind.patch
75
76#Patch100: cups-lspp.patch
77
78# upstream
79Patch9: cups-lpr-help.patch
80Patch18: cups-filter-debug.patch
81Patch29: cups-dymo-deviceid.patch
82
83# vine
84Patch1000: cups-serverbin-compat.patch
85Patch1001: cups-serverbin-compat2.patch
86
87Url: http://www.cups.org/
88BuildRoot: %{_tmppath}/%{name}-root
89Requires(pre): chkconfig initscripts perl alternatives
90Requires: %{name}-libs = %{version}-%{release}
91Requires: tmpwatch
92Requires: ghostscript >= 8.71-4
93%if %use_alternatives
94Provides: /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat
95Requires(pre): alternatives
96%else
97Obsoletes: lpd lpr LPRng printtool
98Provides: lpd lpr LPRng
99%endif
100BuildRequires: aspell-devel
101BuildRequires: avahi-devel >= 0.6.20
102BuildRequires: dbus-devel >= 0.90
103BuildRequires: e2fsprogs-devel
104BuildRequires: gnutls-devel
105BuildRequires: krb5-devel
106BuildRequires: libacl-devel
107BuildRequires: libjpeg-devel
108BuildRequires: libpng-devel
109BuildRequires: libtiff-devel
110BuildRequires: libusb1-devel
111BuildRequires: openldap-devel
112BuildRequires: pam-devel
113BuildRequires: pkgconfig
114BuildRequires: poppler-utils
115BuildRequires: python-cups
116
117
118Requires: avahi >= 0.6.20
119Requires: avahi-tools
120Requires: dbus >= 0.90
121Requires: poppler-utils
122Requires: cups-filters
123
124%package devel
125Summary: Common Unix Printing System - development environment
126Group: Development/Libraries
127Requires: %{name}-libs = %{version}-%{release}
128Requires: e2fsprogs-devel
129Requires: gnutls-devel
130Requires: krb5-devel
131Requires: zlib-devel
132License: LGPL
133
134%package libs
135Summary: Common Unix Printing System - libraries
136Group: System Environment/Libraries
137License: LGPL
138
139%package -n compat32-%{name}-libs
140Summary: Common Unix Printing System - libraries
141Group: System Environment/Libraries
142
143%package -n compat32-%{name}-devel
144Summary: Common Unix Printing System - development environment
145Group: Development/Libraries
146Requires: compat32-%{name}-libs = %{version}-%{release}
147Requires: %{name}-devel = %{version}-%{release}
148Requires: compat32-e2fsprogs-devel
149Requires: compat32-gnutls-devel
150Requires: compat32-krb5-devel
151Requires: compat32-zlib-devel
152
153%description
154The Common UNIX Printing System provides a portable printing layer for
155UNIX. operating systems. It has been developed by Easy Software Products
156to promote a standard printing solution for all UNIX vendors and users.
157CUPS provides the System V and Berkeley command-line interfaces.
158
159If you want to use CUPS on VineLinux, you should rebuild ghostscript package.
160Please read README.vine in your CUPS's document dir.
161#'
162
163%description -l ja
164Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューションを提供するためにEasy Software Productsで開発されました。CUPSはSystem VやBerkeleyコマンドラインなインターフェースを提供します。
165
166%description devel
167The Common UNIX Printing System provides a portable printing layer for
168UNIX. operating systems. This is the development package for creating
169additional printer drivers, and other CUPS services.
170
171%description devel -l ja
172Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発するためのパッケージです。
173
174%description libs
175The Common UNIX Printing System provides a portable printing layer for
176UNIXョ operating systems. It has been developed by Easy Software Products
177to promote a standard printing solution for all UNIX vendors and users.
178CUPS provides the System V and Berkeley command-line interfaces.
179The cups-libs package provides libraries used by applications to use CUPS
180natively, without needing the lp/lpr commands.
181
182%description libs -l ja
183Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューションを提供するためにEasy Software Productsで開発されました。CUPSはSystem VやBerkeleyコマンドラインなインターフェースを提供します。cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプリケーションから使われるライブラリ類です。
184
185%description -n compat32-%{name}-libs
186The Common UNIX Printing System provides a portable printing layer for
187UNIXョ operating systems. It has been developed by Easy Software Products
188to promote a standard printing solution for all UNIX vendors and users.
189CUPS provides the System V and Berkeley command-line interfaces.
190The cups-libs package provides libraries used by applications to use CUPS
191natively, without needing the lp/lpr commands.
192
193%description -n compat32-%{name}-libs -l ja
194Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューションを提供するためにEasy Software Productsで開発されました。CUPSはSystem VやBerkeleyコマンドラインなインターフェースを提供します。cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプリケーションから使われるライブラリ類です。
195
196%description -n compat32-%{name}-devel
197The Common UNIX Printing System provides a portable printing layer for
198UNIX. operating systems. This is the development package for creating
199additional printer drivers, and other CUPS services.
200
201%description -n compat32-%{name}-devel -l ja
202Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発するためのパッケージです。
203
204%prep
205%setup -q -n %{name}-%{version}
206
207# Don't gzip man pages in the Makefile, let rpmbuild do it.
208%patch1 -p1 -b .no-gzip-man
209# Use the system pam configuration.
210%patch2 -p1 -b .system-auth
211# Prevent multilib conflict in cups-config script.
212%patch3 -p1 -b .multilib
213# Ignore rpm save/new files in the banners directory.
214%patch5 -p1 -b .banners
215# Don't export SSLLIBS to cups-config.
216%patch7 -p1 -b .no-export-ssllibs
217# Allow file-based usb device URIs.
218%patch8 -p1 -b .direct-usb
219# Add --help option to lpr.
220%patch9 -p1 -b .lpr-help
221# Fix compilation of peer credentials support.
222#%%patch10 -p1 -b .peercred
223# Maintain a cupsd.pid file.
224#%%patch11 -p1 -b .pid
225# Fix implementation of com.redhat.PrinterSpooler D-Bus object.
226%patch12 -p1 -b .eggcups
227# Increase driverd timeout to 70s to accommodate foomatic (bug #744715).
228%patch13 -p1 -b .driverd-timeout
229# Only enforce maximum PPD line length when in strict mode.
230#%%patch14 -p1 -b .strict-ppd-line-length
231# Re-open the log if it has been logrotated under us.
232%patch15 -p1 -b .logrotate
233# Support for errno==ENOSPACE-based USB paper-out reporting.
234%patch16 -p1 -b .usb-paperout
235# Re-initialise the resolver on failure in httpAddrGetList() (bug #567353).
236#%%patch17 -p1 -b .res_init
237# Log extra debugging information if no filters are available.
238%patch18 -p1 -b .filter-debug
239# Allow the usb backend to understand old-style URI formats.
240%patch19 -p1 -b .uri-compat
241# Fix temporary filename creation.
242#%%patch20 -p1 -b .str3382
243# Use mode 0755 for binaries and libraries where appropriate.
244#%%patch21 -p1 -b .0755
245# Add an SNMP query for HP's device ID OID (STR #3552).
246%patch22 -p1 -b .hp-deviceid-oid
247# Mark DNS-SD Device IDs that have been guessed at with "FZY:1;".
248#%%patch23 -p1 -b .dnssd-deviceid
249# Add an SNMP query for Ricoh's device ID OID (STR #3552).
250%patch24 -p1 -b .ricoh-deviceid-oid
251# Make cups.service Type=notify (bug #1088918).
252%patch25 -p1 -b .systemd-socket
253# Use IP address when resolving DNSSD URIs (bug #948288).
254#%%patch27 -p1 -b .avahi-address
255# Added IEEE 1284 Device ID for a Dymo device (bug #747866).
256%patch29 -p1 -b .dymo-deviceid
257# Use IP_FREEBIND socket option when binding listening sockets (bug #970809).
258%patch30 -p1 -b .freebind
259# Don't link against libgcrypt needlessly.
260#%%patch31 -p1 -b .no-gcry
261# Default to IPP/1.1 for now (bug #977813).
262#%%patch33 -p1 -b .use-ipp1.1
263# Don't use D-Bus from two threads (bug #979748).
264#%%patch34 -p1 -b .avahi-no-threaded
265# Fixes for jobs with multiple files and multiple formats.
266%patch35 -p1 -b .ipp-multifile
267# Increase web interface get-devices timeout to 10s (bug #996664).
268%patch36 -p1 -b .web-devices-timeout
269# Set the default for SyncOnClose to Yes.
270%patch37 -p1 -b .synconclose
271# CUPS may fail to start if NIS groups are used (bug #1494558)
272%patch38 -p1 -b .ypbind
273
274%patch1000 -p1 -b .serverbin-compat
275%patch1001 -p1 -b .serverbin-compat2
276
277# make to use cjktexttops instead texttops.
278perl -pi -e 's/texttops$/cjktexttops/' conf/mime.convs.in
279
280
281perl -pi -e 's,^#(DefaultCharset\s)utf-8,$1notused,' conf/cupsd.conf.in
282perl -pi -e 's,^#(Printcap\s+/etc/printcap),$1,' conf/cupsd.conf.in
283perl -pi -e 's,^#(MaxLogSize\s+0),$1,' conf/cupsd.conf.in
284perl -pi -e 's,exec_prefix/lib/cups,exec_prefix/%{_lib}/cups,' config-scripts/cups-directories.m4
285autoconf
286
287cp %{SOURCE5} cups-lpd.real
288perl -pi -e "s,\@LIBDIR\@,%{_libdir},g" cups-lpd.real
289
290# Add group wheel to SystemGroups (bug #1405669)
291sed -i -e 's,^SystemGroup .*$, SystemGroup sys root wheel,' conf/cups-files.conf.in
292
293# Let's look at the compilation command lines.
294perl -pi -e "s,^.SILENT:,," Makedefs.in
295
296f=CREDITS.md
297mv "$f" "$f"~
298iconv -f MACINTOSH -t UTF-8 "$f"~ > "$f"
299rm "$f"~
300
301# Rebuild configure script for --enable-avahi.
302aclocal -I config-scripts
303autoconf -I config-scripts
304
305%build
306
307export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1"
308# --enable-debug to avoid stripping binaries
309%configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \
310        --with-exe-file-perm=0755 \
311        --with-log-file-perm=0600 \
312        --enable-relro \
313        --with-pdftops=pdftops \
314        --with-dbusdir=%{_sysconfdir}/dbus-1 \
315        --with-php=/usr/bin/php-cgi \
316        --enable-avahi \
317        --enable-threads \
318        --enable-gnutls \
319        --enable-webif \
320        --disable-slp \
321        localedir=%{_datadir}/locale
322
323
324perl -pi -e "s,^DSO     =.*,DSO=gcc -fpic," Makedefs
325
326# If we got this far, all prerequisite libraries must be here.
327make %{?_smp_mflags}
328
329%install
330rm -rf $RPM_BUILD_ROOT
331
332make BUILDROOT=$RPM_BUILD_ROOT install
333
334rm -rf  $RPM_BUILD_ROOT%{initdir} \
335        $RPM_BUILD_ROOT%{_sysconfdir}/init.d \
336        $RPM_BUILD_ROOT%{_sysconfdir}/rc?.d
337mkdir -p $RPM_BUILD_ROOT%{initdir}
338install -m 755 $RPM_SOURCE_DIR/cups.init $RPM_BUILD_ROOT%{initdir}/cups
339
340find $RPM_BUILD_ROOT%{_datadir}/cups/model -name "*.ppd" |xargs gzip -n9f
341
342%if %use_alternatives
343pushd $RPM_BUILD_ROOT%{_bindir}
344for i in cancel lp lpq lpr lprm lpstat; do
345        mv $i $i.cups
346done
347cd $RPM_BUILD_ROOT%{_sbindir}
348mv lpc lpc.cups
349cd $RPM_BUILD_ROOT%{_mandir}/man1
350for i in cancel lp lpq lpr lprm lpstat; do
351        mv $i.1 $i-cups.1
352done
353
354cd $RPM_BUILD_ROOT%{_mandir}/man8
355mv lpc.8 lpc-cups.8
356popd
357%endif
358
359mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps $RPM_BUILD_ROOT%{_sysconfdir}/X11/sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/System $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
360install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
361install -c -m 644 cups-lpd.real $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
362install -c -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups
363install -c -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/cups/backend/ncp
364install -c -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups
365install -c -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libdir}/cups/filter/textonly
366install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/cups/model/textonly.ppd
367
368#install -c -m 644 %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/cups/pdftops.conf
369
370# Ship an rpm macro for where to put driver executables.
371mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
372install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
373
374# Ship a printers.conf file, and a client.conf file.  That way, they get
375# their SELinux file contexts set correctly.
376touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/printers.conf
377touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/classes.conf
378touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
379touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/subscriptions.conf
380
381# This is %%ghost'ed, but needs to be created in %%install anyway.
382touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/lpoptions
383
384# Tell portreserve which port we want it to protect.
385# mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/portreserve
386# echo ipp > $RPM_BUILD_ROOT%{_sysconfdir}/portreserve/%{name}
387
388# LSB 3.2 printer driver directory
389mkdir -p $RPM_BUILD_ROOT%{_datadir}/ppd
390
391# Remove unshipped files.
392rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
393rm -f $RPM_BUILD_ROOT%{_datadir}/applications/cups.desktop
394rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
395
396# Install the udev rules.
397%{__mkdir_p} %{buildroot}/lib/udev/rules.d
398install -m644 %{SOURCE3} \
399        %{buildroot}/lib/udev/rules.d/70-cups-libusb.rules
400
401# there are pdf-banners shipped with cups-filters (#919489)
402rm -rf $RPM_BUILD_ROOT%{_datadir}/cups/banners
403rm -f $RPM_BUILD_ROOT%{_datadir}/cups/data/testprint
404
405# install /etc/tmpfiles.d/cups.conf (bug #656566)
406mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d
407cat > ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d/cups.conf <<EOF
408# See tmpfiles.d(5) for details
409
410d /run/cups 0755 root lp -
411d /run/cups/certs 0511 lp sys -
412
413d /var/spool/cups/tmp - - - 30d
414EOF
415
416# /usr/lib/tmpfiles.d/cups-lp.conf (bug #812641)
417cat > ${RPM_BUILD_ROOT}%{_sysconfdir}/tmpfiles.d/cups-lp.conf <<EOF
418# Legacy parallel port character device nodes, to trigger the
419# auto-loading of the kernel module on access.
420#
421# See tmpfiles.d(5) for details
422
423c /dev/lp0 0660 root lp - 6:0
424c /dev/lp1 0660 root lp - 6:1
425c /dev/lp2 0660 root lp - 6:2
426c /dev/lp3 0660 root lp - 6:3
427EOF
428
429# Ship a PCL XL/PCL 6 filter file from ESP gs-7.07.1
430install -c -m 644 %{SOURCE206} $RPM_BUILD_ROOT%{_datadir}/cups/model
431install -c -m 644 %{SOURCE207} $RPM_BUILD_ROOT%{_datadir}/cups/model
432
433# Ship a dvitops
434install -c -m 755 %{SOURCE201} $RPM_BUILD_ROOT%{_libdir}/cups/filter
435install -c -m 644 %{SOURCE202} $RPM_BUILD_ROOT%{_sysconfdir}/cups
436install -c -m 644 %{SOURCE203} $RPM_BUILD_ROOT%{_sysconfdir}/cups
437
438# Ship a cjktexttops (import from mdv)
439install -c -m 755 %{SOURCE204} $RPM_BUILD_ROOT%{_libdir}/cups/filter/
440
441# disable imagetoraster.
442perl -pi -e 's/^(image.+imagetoraster)/#$1/g' %{buildroot}/usr/share/cups/mime/mime.convs
443
444#install -c -m 644 conf/mime.types $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.types
445#install -c -m 644 conf/mime.convs $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.convs
446
447# create directories for 32bit drivers on x86_64.
448%ifarch x86_64
449mkdir -p %{buildroot}/usr/lib/cups/{backend,cgi-bin,daemon,driver,filter,monitor,notifier}
450%endif
451
452%triggerpostun -- cups < 1.4.8
453%ifarch x86_64
454
455echo "moving 32bit binaries to /usr/lib ..."
456
457if [ "$1" -gt 1 ]; then
458  for f in `find /usr/lib64/cups/ -type f`; do
459    file $f | grep ' ELF 32-bit ' >/dev/null 2>&1
460    if [ "$?" = "0" ]; then
461      DEST=`echo $f | sed -e 's/^\/usr\/lib64/\/usr\/lib/'`
462      mv -f $f $DEST
463    fi
464  done
465fi
466
467%endif
468
469%pre
470%ifarch x86_64
471if [ -L /usr/lib/cups ]; then
472  rm -f /usr/lib/cups
473fi
474%endif
475
476
477%post
478/sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore
479/sbin/chkconfig --add cups || true
480# Remove old-style certs directory; new-style is /var/run
481# (see bug #194581 for why this is necessary).
482/bin/rm -rf /etc/cups/certs
483%if %use_alternatives
484/sbin/update-alternatives --install %{_bindir}/lpr print %{_bindir}/lpr.cups 40 \
485         --slave %{_bindir}/lp print-lp %{_bindir}/lp.cups \
486         --slave %{_bindir}/lpq print-lpq %{_bindir}/lpq.cups \
487         --slave %{_bindir}/lprm print-lprm %{_bindir}/lprm.cups \
488         --slave %{_bindir}/lpstat print-lpstat %{_bindir}/lpstat.cups \
489         --slave %{_bindir}/cancel print-cancel %{_bindir}/cancel.cups \
490         --slave %{_sbindir}/lpc print-lpc %{_sbindir}/lpc.cups \
491         --slave %{_mandir}/man1/cancel.1.gz print-cancelman %{_mandir}/man1/cancel-cups.1.gz \
492         --slave %{_mandir}/man1/lp.1.gz print-lpman %{_mandir}/man1/lp-cups.1.gz \
493         --slave %{_mandir}/man8/lpc.8.gz print-lpcman %{_mandir}/man8/lpc-cups.8.gz \
494         --slave %{_mandir}/man1/lpq.1.gz print-lpqman %{_mandir}/man1/lpq-cups.1.gz \
495         --slave %{_mandir}/man1/lpr.1.gz print-lprman %{_mandir}/man1/lpr-cups.1.gz \
496         --slave %{_mandir}/man1/lprm.1.gz print-lprmman %{_mandir}/man1/lprm-cups.1.gz \
497         --slave %{_mandir}/man1/lpstat.1.gz print-lpstatman %{_mandir}/man1/lpstat-cups.1.gz
498%endif
499if [ $1 -eq 1 ]; then
500  # First install.  Build ppds.dat.
501  /sbin/service cups reload >/dev/null 2>&1 || :
502fi
503exit 0
504
505%post libs -p /sbin/ldconfig
506
507%postun libs -p /sbin/ldconfig
508
509%post -n compat32-%{name}-libs -p /sbin/ldconfig
510
511%postun -n compat32-%{name}-libs -p /sbin/ldconfig
512
513%preun
514if [ "$1" = "0" ]; then
515        /sbin/service cups stop > /dev/null 2>&1
516        /sbin/chkconfig --del cups
517%if %use_alternatives
518        /sbin/update-alternatives --remove print %{_bindir}/lpr.cups
519%endif
520fi
521exit 0
522
523%postun
524if [ "$1" -ge "1" ]; then
525        /sbin/service cups condrestart > /dev/null 2>&1
526fi
527exit 0
528
529%triggerin -- samba-client
530ln -sf ../../../bin/smbspool %{_libdir}/cups/backend/smb || :
531exit 0
532
533%triggerun -- samba-client
534[ $2 = 0 ] || exit 0
535rm -f %{_libdir}/cups/backend/smb
536
537%clean
538rm -rf $RPM_BUILD_ROOT
539
540%files
541%defattr(-,root,root)
542%license LICENSE.txt
543%doc README.md CREDITS.md CHANGES.md
544%attr(0660,root,lp) %dev(char,6,0) /lib/udev/devices/lp0
545%attr(0660,root,lp) %dev(char,6,1) /lib/udev/devices/lp1
546%attr(0660,root,lp) %dev(char,6,2) /lib/udev/devices/lp2
547%attr(0660,root,lp) %dev(char,6,3) /lib/udev/devices/lp3
548/lib/udev/rules.d/70-cups-libusb.rules
549%dir %attr(0755,root,lp) %{_sysconfdir}/cups
550%dir %attr(0755,root,lp) /var/run/cups
551%dir %attr(0511,lp,sys) /var/run/cups/certs
552%config(noreplace) %{_sysconfdir}/tmpfiles.d/cups*.conf
553%config(noreplace) %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf
554%attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf.default
555%config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/classes.conf
556%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/client.conf
557%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/cups-files.conf
558%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/cups-files.conf.default
559#%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/pdftops.conf
560%config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/printers.conf
561%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf
562%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf.default
563%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/subscriptions.conf
564#config(noreplace) %{_sysconfdir}/cups/mime.types
565#config(noreplace) %{_sysconfdir}/cups/mime.convs
566#%config(noreplace) %{_sysconfdir}/cups/pstoraster.convs
567%config(noreplace) %{_sysconfdir}/cups/dvitops.types
568%config(noreplace) %{_sysconfdir}/cups/dvitops.convs
569%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/lpoptions
570%dir %attr(0755,root,lp) %{_sysconfdir}/cups/ppd
571%dir %attr(0700,root,lp) %{_sysconfdir}/cups/ssl
572%config(noreplace) %{_sysconfdir}/pam.d/cups
573%config(noreplace) %{_sysconfdir}/logrotate.d/cups
574%config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
575%config(noreplace) %{initdir}/cups
576%{_bindir}/cupstestppd
577%{_bindir}/cupstestdsc
578%{_bindir}/cancel*
579%{_bindir}/ippfind
580%{_bindir}/ipptool
581%{_bindir}/lp.cups
582%{_bindir}/lpoptions
583%{_bindir}/lpq.cups
584%{_bindir}/lpr.cups
585%{_bindir}/lprm.cups
586%{_bindir}/lpstat.cups
587%{_bindir}/ppd*
588%dir %{_libdir}/cups
589%{_libdir}/cups/backend
590%{_libdir}/cups/cgi-bin
591%dir %{_libdir}/cups/daemon
592%{_libdir}/cups/daemon/cups-exec
593%{_libdir}/cups/daemon/cups-deviced
594%{_libdir}/cups/daemon/cups-driverd
595%{_libdir}/cups/daemon/cups-lpd
596%{_libdir}/cups/notifier
597%{_libdir}/cups/filter
598%{_libdir}/cups/monitor
599%{_libdir}/cups/driver
600%ifarch x86_64
601%dir %{_prefix}/lib/cups
602%dir %{_prefix}/lib/cups/*
603%endif
604%{_mandir}/man1/cancel*
605%{_mandir}/man1/cups.1*
606%{_mandir}/man1/cupstest*
607%{_mandir}/man1/ipp*
608%{_mandir}/man1/lp*
609%{_mandir}/man1/ppd*
610%{_mandir}/man[578]/*
611%{_sbindir}/*
612%{_datadir}/cups
613%{_datadir}/locale/*/*
614%{_datadir}/ppd
615%dir %attr(1770,root,lp) /var/spool/cups/tmp
616%dir %attr(0710,root,lp) /var/spool/cups
617%dir %attr(0755,lp,sys) /var/log/cups
618%{_datadir}/pixmaps/cupsprinter.png
619%{_sysconfdir}/cron.daily/cups
620%config(noreplace) %{_sysconfdir}/dbus-1/system.d/cups.conf
621
622%files libs
623%defattr(-,root,root)
624%doc LICENSE.txt
625%{_libdir}/*.so.*
626
627%files devel
628%defattr(-,root,root)
629%{_bindir}/cups-config
630%{_libdir}/*.so
631%{_includedir}/cups
632%{_mandir}/man1/cups-config.1*
633%{_sysconfdir}/rpm/macros.cups
634
635%if %{build_compat32}
636%files -n compat32-%{name}-devel
637%defattr(-,root,root)
638%{_libdir}/*.so
639
640%files -n compat32-%{name}-libs
641%doc LICENSE.txt
642%defattr(-,root,root)
643%{_libdir}/*.so.*
644%endif
645
646%changelog
647* Wed May 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.11-1
648- new upstream release.
649
650* Thu Jan 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.10-1
651- new upstream release.
652- dropped Patch10-11, 14, 17, 19-20, 27-28, 33-34 and 38.
653
654* Wed Jan 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-1
655- new upstream release.
656- replaced all patches from rawhide.
657- updated Patch102.
658
659* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-2
660- rebuilt with new toolchain.
661
662* Thu Jun 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-1
663- new upstream release.
664
665* Sat May 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-3
666- changed R:openssl-devel in cups-devel to R:gnutls-devel.
667- added R:e2fsprogs-devel to cups-devel.
668
669* Tue May 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-2
670- rebuilt with gnutls.
671
672* Sat Feb  6 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-1
673- new upstream release.
674
675* Thu Dec  3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1
676- new upstream release.
677
678* Wed Dec  2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
679- new upstream release.
680
681* Sun Oct  4 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
682- new upstream release.
683
684* Tue Jun  9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.3-1
685- new upstream release.
686
687* Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.2-1
688- new upstream release.
689
690* Sun Oct  5 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1
691- new upstream release.
692
693* Sun Jun  8 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.3-1
694- new upstream release.
695- removed Patch100 (fixed in upstream).
696
697* Tue Feb 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.1-1
698- new upstream release.
699
700* Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.0-1
701- new upstream release.
702
703* Tue Apr 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-6
704- modified initscript and added Patch104 to deal with wrong drivers.
705
706* Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-5
707- fixed %%changelog.
708
709* Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-4
710- removed /etc/cups/mime.{convs,types}.
711
712* Fri Feb 10 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-3
713- replaced some patches.
714- fixed to print splitted images (BTS:1217).
715
716* Sat Sep 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-2
717- added Patch103 to detect printers with 32bit drivers.
718
719* Thu Sep 08 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-1
720- new upstream release (against CVE-2011-2896).
721- added str3914.patch (against CVE-2011-3170).
722- updated patches.
723
724* Sun May 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-2
725- added Patch101.
726
727* Tue Mar 22 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-1
728- new upstream release.
729- dropped old patches.
730- shipped some patches from fedora development.
731
732* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-6
733- add --disable-slp option in configure
734
735* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-5
736- add Patch340 for fix CVE-2009-2820
737- add Patch350 for fix CVE-2009-3553
738- patch340,350 are from rhel5
739
740* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-4
741- fix changelog typo
742- add Patch310 for fix CVE-2010-0540 (texttop)
743- add Patch320 for fix CVE-2010-0542 (web IF CSRF)
744- add Patch330 for fix CVE-2010-1748 (web IF uninit memory read)
745
746* Sun Mar  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-3
747- setuid 0 to lppasswd binary
748
749* Sat Mar  6 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-2
750- add Patch300 for fix CVE-2010-0393 (lppasswd)
751
752* Fri Jul 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.11-1
753- new upstream release
754
755* Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.10-2
756- Build requires krb5-devel.
757- The devel sub-package requires krb5-devel.
758
759* Thu Jun 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.10-1
760- new upstream release
761- remove LC_ALL from cjktexttops
762
763* Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-4
764- rebuild with openldap-2.4.11
765
766* Mon Mar 23 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-3
767- add /usr/lib/cups for 32bit binary drivers on x86_64.
768
769* Sat Jan 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3.9-2
770- rebuild with gnutls-2.6.3
771
772* Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-1
773- new upstream release
774- renumber fedora patches
775- remove hal patch, hal backend module is now provided by hal-cups-utils
776
777* Mon Apr 21 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-2
778- remove libacl from dependency.
779
780* Fri Apr 18 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-1
781- new upstream release.
782- ship some patches from Fedora development.
783
784* Sun Aug 26 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl13
785- add Patch300 and Patch310 for CVE-2007-0104 and CVE-2007-3387 respectively
786  (same fixes for 1.1.23-0vl7.1 for Vine-4.1)
787
788* Sat May 26 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl12
789- enabled Patch20: cups-gcc4.patch
790
791* Mon May 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl11
792- always do %%configure on all archs (due to autoconf upgrade)
793
794* Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl10
795- rebuild with new openssl
796
797* Thu May 03 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl9
798- added compat32 subpackage for x86_64 arch support.
799
800* Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl8
801- rebuild with dbus-1.0
802
803* Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl7
804- add Patch50, Source20 to support hal backend.
805
806* Thu Jun 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl6
807- add cjktexttops to use mpage for text-ps filter
808  (Source18, Patch210)
809- mark mime.convs and mime.types as config file
810
811* Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl5
812- add Patch43 for dbus support
813- add Patch200 to support UTF-8 ppd files
814
815* Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 1.1.23-0vl4
816- fixed cups-link.patch of missing "-L../cups"
817- added %%configure for x86_64 architecture support
818
819* Sat Jan 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl3
820- import some FC patches
821  - fix several security bugs
822    - CVS-2005-3625,CVS-2005-3626,CVS-2005-3627
823    - CAN-2005-2097
824    - CAN-2004-0888
825    - CAN-2005-0064
826  - apply upstream patches
827
828* Sun Mar 27 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl2
829- added dvitops, dvitops.convs and dvitops.types
830
831* Tue Jan 04 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl1
832- new upstream version(cups-1.1.23)
833- removed unused patches
834
835* Fri Dec 31 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.1rc1
836- added cups-1.1.23rc1-scheduler_client.patch
837        -- special thanks to kmuto@debian.org
838
839* Mon Dec 20 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.0rc1
840- new upstream version (cups-1.1.23rc1)
841
842* Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl1
843- new upstream version (cups-1.1.22)
844        -- updated cups-resource-ja-1.1.22
845
846* Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc2
847- new upstream version (cups-1.1.22rc2)
848
849* Wed Oct 06 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc1
850- new upstream version (cups-1.1.22rc1)
851
852* Thu Sep 16 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl1
853- new upstream version (cups-1.1.21)
854
855* Thu Aug 26 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.1rc2
856- added some txt files in docdir
857
858* Wed Aug 25 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc2
859- new upstream version (cups-1.1.21rc2)
860- updated to cups-1.1.21rc2-makefile.patch(patch11)
861
862* Sun May 30 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc1
863- new upstream version (cups-1.1.21rc1)
864- updated cups-resource-ja-1.1.21.tar.bz2
865- updated ppdsdat.patch
866- dropped system-auth.patch
867
868* Fri Apr 23 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl6
869- updated pstorater to v1.6
870
871* Sun Apr 18 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl5
872- removed README.vine
873
874* Thu Apr 15 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1.20-0vl4
875- rebuild
876
877* Wed Dec 10 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl3
878- fixed DefaultCharset in cupsd.conf
879
880* Mon Dec 08 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl2
881- added PCL XL/PCL 6 PPD and filter from ESP gs-7.07.1
882- updated pstoraster
883
884* Sun Dec 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl1
885- new upstream version (cups-1.1.20)
886        -- fixed resource-ja
887        -- changed DefaultCharset in cupsd.conf
888        -- removed patch100
889- raised update-alternatives's priority to 50
890
891* Sat Nov 15 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl6
892- added Patch11 (cups-1.1.19-makefile.patch)
893        -- fixed makefile
894- added resource-ja (imported from cups-1.2.x)
895- added Patch100(cups-1.1.19-lang-adhoc.patch)
896        -- fixed "DefaultCharset EUC-JP" in cupsd.conf
897        -- Don't fallback to C locale in setlocale()
898
899* Fri Nov 14 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl5
900- merged to 1.1.20rc6 patch
901- dropped patches
902        --cups-idefense-v2.patch, cups-1.1.17-sanity.patch
903- deleted needless dependence in Obsoletes
904
905* Thu Nov 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl4
906- fixed init script for logrotation
907
908* Sun Oct 26 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl3
909- fixed coding system in spec file
910- updated README.vine
911
912* Mon Jul 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl2
913- added cups-1.1.17-sanity.patch
914- added Japanese descriptions
915
916* Fri Jun 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl1
917- fixed spec file
918
919* Thu Jun 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl0.1
920- new upstream vrsion
921- remade spec file
922
923* Sun May 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0.rc5vl1
924        -- disable D-BUS.
925- new upstream version
926- added some fixes. from cups-1.1.19-0.rc5.2
927        -- disable D-BUS.
928        -- Fix option parsing in lpq (bug #90823).
929        -- No longer need error, sigchld patches.
930        -- Ship cupstestppd.
931        -- Mark banners as config files (bug #89069).
932
933* Fri Apr 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl2
934- imported some patches from rawhide (cups-1.1.18-2)
935        -- added cups-idefense-v2.patch
936        -- added cups-1.1.17-pdftops.patch
937        -- added cups-1.1.17-error.patch
938        -- added cups-1.1.17-rcp.patch
939        -- added cups-1.1.17-ppdsdat.patch
940        -- added cups-1.1.17-sigchld.patch
941- Fix translation in the init script
942- Build ppds.dat on first install.
943- Use pkg-config information to find SSL libraries
944- Make 'service cups reload' update the configuration first
945- added README.vine
946
947* Sun Jan 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl1
948- fixed alternative path
949
950* Fri Dec 27 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl0
951- New upstream version
952- dropped patch4 (merged cups-1.1.18)
953- dropped epoch tag
954
955* Thu Dec 26 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.17-3vl0
956- build on Vine Linux
957
958* Tue Dec 10 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-3
959- Fix cupsd startup hang (bug #79346).
960
961* Mon Dec  9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-2
962- Fix parallel backend behaviour when cancelling jobs.
963
964* Mon Dec  9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-1
965- 1.1.17.
966- No longer need libdir patch.
967- Fix logrotate script (bug #76791).
968
969* Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
970- Build requires XFree86-devel (bug #78362).
971
972* Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
973- 1.1.16.
974- Updated system-auth patch.
975- Add ncp backend script.
976
977* Wed Nov 13 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-15
978- Set alternatives priority to 40.
979
980* Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.15-14
981- Buildrequire pam-devel.
982- Patch default PAM config file to remove directory names from module paths,
983  allowing the configuration files to work equally well on multilib systems.
984- Patch default PAM config file to use system-auth, require the file at build-
985  time because that's what data/Makefile checks for.
986
987* Fri Nov  8 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-13
988- Use logrotate for log rotation (bug #76791).
989- No longer need cups.desktop, since redhat-config-printer handles it.
990
991* Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-12
992- Revert to libdir for CUPS_SERVERBIN.
993
994* Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-11
995- Use %%configure for multilib correctness.
996- Use libexec instead of lib for CUPS_SERVERBIN.
997- Ship translated man pages.
998- Remove unshipped files.
999- Fix file list permissions (bug #59021, bug #74738).
1000- Fix messy initscript output (bug #65857).
1001- Add 'reload' to initscript (bug #76114).
1002
1003* Fri Aug 30 2002 Bernhard Rosenkraenzer <bero@redhat.de> 1.1.15-10
1004- Add generic postscript PPD file (#73061)
1005
1006* Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-9
1007- Fix prefix in pstoraster (bug #69573).
1008
1009* Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-8
1010- Disable cups-lpd by default (bug #71712).
1011- No need for fread patch now that glibc is fixed.
1012
1013* Thu Aug 15 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-7
1014- Really add cups-lpd xinetd file (bug #63919).
1015- Ship pstoraster (bug #69573).
1016- Prevent fread from trying to read from beyond EOF (fixes a segfault
1017  with new glibc).
1018
1019* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 1.1.15-6
1020- rebuilt with gcc-3.2 (we hope)
1021
1022* Mon Aug  5 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-5
1023- Add cups-lpd xinetd file (#63919)
1024
1025* Tue Jul 23 2002 Florian La Roche <Florian.LaRoche@redhat.de> 1.1.15-4
1026- add a "exit 0" to postun script
1027
1028* Tue Jul  2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-3
1029- Add a symlink /usr/share/cups/doc -> /usr/share/doc/cups-devel-1.1.15
1030  because some applications expect to find the cups docs in
1031  /usr/share/cups/doc
1032
1033* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
1034- automated rebuild
1035
1036* Fri Jun 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-1
1037- 1.1.15-1
1038- Fix up smb printing trigger (samba-client, not samba-clients)
1039- Start cupsd earlier, apparently it needs to be running before samba
1040  starts up for smb printing to work.
1041
1042* Thu May 23 2002 Tim Powers <timp@redhat.com>
1043- automated rebuild
1044
1045* Tue May  7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-17
1046- Rebuild in current environment
1047- [-16 never existed because of build system breakage]
1048
1049* Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-15
1050- Fix bug #63387
1051
1052* Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14
1053- Fix dangling symlink created by samba-clients trigger
1054
1055* Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13
1056- Add desktop file and icon for CUPS configuration
1057
1058* Wed Apr  3 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12
1059- Support SMB printing (#62407)
1060- Add HTML redirections to doc files to work around users mistaking
1061  /usr/share/doc/cups-1.1.14 for the web frontend (#62405)
1062
1063* Tue Apr  2 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11
1064- fix subsys in initscript (#59206)
1065- don't strip binaries
1066
1067* Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10
1068- Make initscript use killproc instead of killall
1069
1070* Fri Mar  8 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9
1071- use alternatives --initscript support
1072
1073* Mon Mar  4 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8
1074- use the right path for the lpc man page, duh
1075
1076* Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7
1077- lpc man page is alternative too
1078- run ldconfig in -libs %post/%postun, not main
1079- remove alternatives in %preun
1080
1081* Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6
1082- don't source /etc/sysconfig/network in cups.init, we don't use any
1083  values from it
1084
1085* Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4
1086- Fix bugs #60220 and #60352
1087
1088* Thu Feb 21 2002 Tim Powers <timp@redhat.com>
1089- rebuild against correct version of openssl (0.9.6b)
1090
1091* Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2
1092- Add all man pages to alternatives (#59943)
1093- Update to real 1.1.14
1094
1095* Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1
1096- Update to almost-1.1.14
1097
1098* Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5
1099- Move cups-config to cups-devel subpackage
1100- Make alternatives usage a %%define to simplify builds for earlier
1101  releases
1102- Explicitly provide things we're supplying through alternatives
1103  to shut up kdeutils dependencies
1104
1105* Tue Feb  5 2002 Tim Powers <timp@redhat.com>
1106- shut the alternatives stuff up for good
1107
1108* Fri Feb  1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3
1109- Fix alternatives stuff
1110- Don't display error messages in %%post
1111
1112* Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2
1113- alternatives stuff
1114
1115* Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1
1116- 1.1.13
1117- Add patch for koi8-{r,u} and iso8859-8 encodings (#59018)
1118- Rename init scripts so we can safely "killall cupsd" from there
1119
1120* Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1
1121- Initial (conflicting, since alternatives isn't there yet) packaging for
1122  Red Hat Linux
1123
1124* Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com>
1125- 1.1.12
1126
1127* Mon Nov  5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3
1128- Compress PPD files
1129- Fix build with gcc 3.1
1130- Fix init script
1131
1132* Tue Sep  4 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2
1133- Fix URL
1134- Generate printcap
1135- s/Copyright/License/g
1136
1137* Tue Sep  4 2001 Than Ngo <than@redhat.com> 1.1.10-1
1138- update to 1.1.10-1 for ExtraBinge 7.2
1139
1140* Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com>
1141- update to 1.1.8
1142- changed cupsd.conf to generate /etc/printcap
1143
1144* Tue May 15 2001 Than Ngo <than@redhat.com>
1145- update to 1.1.7, bugfixes
1146
1147* Thu Dec 14 2000 Than Ngo <than@redhat.com>
1148- fixed package dependency with lpr and LPRng
1149
1150* Wed Oct 25 2000 Than Ngo <than@redhat.com>
1151- remove man/cat
1152
1153* Tue Oct 24 2000 Than Ngo <than@redhat.com>
1154- don't start cupsd service in level 0, fixed
1155
1156* Thu Oct 19 2000 Than Ngo <than@redhat.com>
1157- update to 1.1.4
1158- fix CUPS_DOCROOT (Bug #18717)
1159
1160* Fri Aug 11 2000 Than Ngo <than@redhat.de>
1161- update to 1.1.2 (Bugfix release)
1162
1163* Fri Aug 4 2000 Than Ngo <than@redhat.de>
1164- fix, cupsd read config file under /etc/cups (Bug #15432)
1165- add missing cups filters
1166
1167* Wed Aug 2 2000 Tim Powers <timp@redhat.com>
1168- rebuilt against libpng-1.0.8
1169
1170* Tue Aug 01 2000 Than Ngo <than@redhat.de>
1171- fix permission, add missing ldconfig in %post and %postun (Bug #14963)
1172
1173* Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1174- 1.1.1 (this has some major bugfixes)
1175- Fix a typo in initscript (it's $?, not ?$)
1176- Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!)
1177- Create the spool dir
1178
1179* Fri Jul 28 2000 Than Ngo <than@redhat.de>
1180- fix unclean code for building against gcc-2.96
1181- add missing restart function in startup script
1182
1183* Fri Jul 28 2000 Tim Powers <timp@redhat.com>
1184- fixed initscript so that conrestart doesn't return 1 if the test fails
1185
1186* Mon Jul 24 2000 Prospector <prospector@redhat.com>
1187- rebuilt
1188
1189* Wed Jul 19 2000 Than Ngo <than@redhat.de>
1190- using service to fire them up
1191- fix Prereq section
1192
1193* Mon Jul 17 2000 Tim Powers <timp@redhat.com>
1194- added defattr to the devel package
1195
1196* Sun Jul 16 2000 Than Ngo <than@redhat.de>
1197- add cups config files
1198
1199* Sat Jul 15 2000 Than Ngo <than@redhat.de>
1200- update to 1.1 release
1201- move back to /etc/rc.d/init.d
1202- fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d
1203- split cups
1204
1205* Wed Jul 12 2000 Than Ngo <than@redhat.de>
1206- rebuilt
1207
1208* Thu Jul 06 2000 Tim Powers <timp@redhat.com>
1209- fixed broken PreReq to now require /etc/init.d
1210
1211* Tue Jun 27 2000 Tim Powers <timp@redhat.com>
1212- PreReq initscripts >= 5.20
1213
1214* Mon Jun 26 2000 Tim Powers <timp@redhat.com>
1215- started changelog
1216- fixed init.d script location
1217- changed script in init.d quite a bit and made more like the rest of our
1218  startup scripts
Note: See TracBrowser for help on using the repository browser.