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

Revision 12021, 41.8 KB checked in by tomop, 5 years ago (diff)

cups-2.2.10-1

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.10
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* Thu Jan 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.10-1
648- new upstream release.
649- dropped Patch10-11, 14, 17, 19-20, 27-28, 33-34 and 38.
650
651* Wed Jan 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-1
652- new upstream release.
653- replaced all patches from rawhide.
654- updated Patch102.
655
656* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-2
657- rebuilt with new toolchain.
658
659* Thu Jun 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-1
660- new upstream release.
661
662* Sat May 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-3
663- changed R:openssl-devel in cups-devel to R:gnutls-devel.
664- added R:e2fsprogs-devel to cups-devel.
665
666* Tue May 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-2
667- rebuilt with gnutls.
668
669* Sat Feb  6 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-1
670- new upstream release.
671
672* Thu Dec  3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1
673- new upstream release.
674
675* Wed Dec  2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
676- new upstream release.
677
678* Sun Oct  4 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
679- new upstream release.
680
681* Tue Jun  9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.3-1
682- new upstream release.
683
684* Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.2-1
685- new upstream release.
686
687* Sun Oct  5 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1
688- new upstream release.
689
690* Sun Jun  8 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.3-1
691- new upstream release.
692- removed Patch100 (fixed in upstream).
693
694* Tue Feb 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.1-1
695- new upstream release.
696
697* Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.0-1
698- new upstream release.
699
700* Tue Apr 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-6
701- modified initscript and added Patch104 to deal with wrong drivers.
702
703* Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-5
704- fixed %%changelog.
705
706* Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-4
707- removed /etc/cups/mime.{convs,types}.
708
709* Fri Feb 10 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-3
710- replaced some patches.
711- fixed to print splitted images (BTS:1217).
712
713* Sat Sep 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-2
714- added Patch103 to detect printers with 32bit drivers.
715
716* Thu Sep 08 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-1
717- new upstream release (against CVE-2011-2896).
718- added str3914.patch (against CVE-2011-3170).
719- updated patches.
720
721* Sun May 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-2
722- added Patch101.
723
724* Tue Mar 22 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-1
725- new upstream release.
726- dropped old patches.
727- shipped some patches from fedora development.
728
729* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-6
730- add --disable-slp option in configure
731
732* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-5
733- add Patch340 for fix CVE-2009-2820
734- add Patch350 for fix CVE-2009-3553
735- patch340,350 are from rhel5
736
737* Sun Jul  4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-4
738- fix changelog typo
739- add Patch310 for fix CVE-2010-0540 (texttop)
740- add Patch320 for fix CVE-2010-0542 (web IF CSRF)
741- add Patch330 for fix CVE-2010-1748 (web IF uninit memory read)
742
743* Sun Mar  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-3
744- setuid 0 to lppasswd binary
745
746* Sat Mar  6 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-2
747- add Patch300 for fix CVE-2010-0393 (lppasswd)
748
749* Fri Jul 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.11-1
750- new upstream release
751
752* Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.10-2
753- Build requires krb5-devel.
754- The devel sub-package requires krb5-devel.
755
756* Thu Jun 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.10-1
757- new upstream release
758- remove LC_ALL from cjktexttops
759
760* Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-4
761- rebuild with openldap-2.4.11
762
763* Mon Mar 23 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-3
764- add /usr/lib/cups for 32bit binary drivers on x86_64.
765
766* Sat Jan 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3.9-2
767- rebuild with gnutls-2.6.3
768
769* Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-1
770- new upstream release
771- renumber fedora patches
772- remove hal patch, hal backend module is now provided by hal-cups-utils
773
774* Mon Apr 21 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-2
775- remove libacl from dependency.
776
777* Fri Apr 18 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-1
778- new upstream release.
779- ship some patches from Fedora development.
780
781* Sun Aug 26 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl13
782- add Patch300 and Patch310 for CVE-2007-0104 and CVE-2007-3387 respectively
783  (same fixes for 1.1.23-0vl7.1 for Vine-4.1)
784
785* Sat May 26 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl12
786- enabled Patch20: cups-gcc4.patch
787
788* Mon May 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl11
789- always do %%configure on all archs (due to autoconf upgrade)
790
791* Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl10
792- rebuild with new openssl
793
794* Thu May 03 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl9
795- added compat32 subpackage for x86_64 arch support.
796
797* Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl8
798- rebuild with dbus-1.0
799
800* Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl7
801- add Patch50, Source20 to support hal backend.
802
803* Thu Jun 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl6
804- add cjktexttops to use mpage for text-ps filter
805  (Source18, Patch210)
806- mark mime.convs and mime.types as config file
807
808* Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl5
809- add Patch43 for dbus support
810- add Patch200 to support UTF-8 ppd files
811
812* Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 1.1.23-0vl4
813- fixed cups-link.patch of missing "-L../cups"
814- added %%configure for x86_64 architecture support
815
816* Sat Jan 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl3
817- import some FC patches
818  - fix several security bugs
819    - CVS-2005-3625,CVS-2005-3626,CVS-2005-3627
820    - CAN-2005-2097
821    - CAN-2004-0888
822    - CAN-2005-0064
823  - apply upstream patches
824
825* Sun Mar 27 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl2
826- added dvitops, dvitops.convs and dvitops.types
827
828* Tue Jan 04 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl1
829- new upstream version(cups-1.1.23)
830- removed unused patches
831
832* Fri Dec 31 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.1rc1
833- added cups-1.1.23rc1-scheduler_client.patch
834        -- special thanks to kmuto@debian.org
835
836* Mon Dec 20 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.0rc1
837- new upstream version (cups-1.1.23rc1)
838
839* Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl1
840- new upstream version (cups-1.1.22)
841        -- updated cups-resource-ja-1.1.22
842
843* Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc2
844- new upstream version (cups-1.1.22rc2)
845
846* Wed Oct 06 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc1
847- new upstream version (cups-1.1.22rc1)
848
849* Thu Sep 16 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl1
850- new upstream version (cups-1.1.21)
851
852* Thu Aug 26 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.1rc2
853- added some txt files in docdir
854
855* Wed Aug 25 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc2
856- new upstream version (cups-1.1.21rc2)
857- updated to cups-1.1.21rc2-makefile.patch(patch11)
858
859* Sun May 30 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc1
860- new upstream version (cups-1.1.21rc1)
861- updated cups-resource-ja-1.1.21.tar.bz2
862- updated ppdsdat.patch
863- dropped system-auth.patch
864
865* Fri Apr 23 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl6
866- updated pstorater to v1.6
867
868* Sun Apr 18 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl5
869- removed README.vine
870
871* Thu Apr 15 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1.20-0vl4
872- rebuild
873
874* Wed Dec 10 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl3
875- fixed DefaultCharset in cupsd.conf
876
877* Mon Dec 08 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl2
878- added PCL XL/PCL 6 PPD and filter from ESP gs-7.07.1
879- updated pstoraster
880
881* Sun Dec 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl1
882- new upstream version (cups-1.1.20)
883        -- fixed resource-ja
884        -- changed DefaultCharset in cupsd.conf
885        -- removed patch100
886- raised update-alternatives's priority to 50
887
888* Sat Nov 15 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl6
889- added Patch11 (cups-1.1.19-makefile.patch)
890        -- fixed makefile
891- added resource-ja (imported from cups-1.2.x)
892- added Patch100(cups-1.1.19-lang-adhoc.patch)
893        -- fixed "DefaultCharset EUC-JP" in cupsd.conf
894        -- Don't fallback to C locale in setlocale()
895
896* Fri Nov 14 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl5
897- merged to 1.1.20rc6 patch
898- dropped patches
899        --cups-idefense-v2.patch, cups-1.1.17-sanity.patch
900- deleted needless dependence in Obsoletes
901
902* Thu Nov 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl4
903- fixed init script for logrotation
904
905* Sun Oct 26 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl3
906- fixed coding system in spec file
907- updated README.vine
908
909* Mon Jul 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl2
910- added cups-1.1.17-sanity.patch
911- added Japanese descriptions
912
913* Fri Jun 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl1
914- fixed spec file
915
916* Thu Jun 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl0.1
917- new upstream vrsion
918- remade spec file
919
920* Sun May 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0.rc5vl1
921        -- disable D-BUS.
922- new upstream version
923- added some fixes. from cups-1.1.19-0.rc5.2
924        -- disable D-BUS.
925        -- Fix option parsing in lpq (bug #90823).
926        -- No longer need error, sigchld patches.
927        -- Ship cupstestppd.
928        -- Mark banners as config files (bug #89069).
929
930* Fri Apr 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl2
931- imported some patches from rawhide (cups-1.1.18-2)
932        -- added cups-idefense-v2.patch
933        -- added cups-1.1.17-pdftops.patch
934        -- added cups-1.1.17-error.patch
935        -- added cups-1.1.17-rcp.patch
936        -- added cups-1.1.17-ppdsdat.patch
937        -- added cups-1.1.17-sigchld.patch
938- Fix translation in the init script
939- Build ppds.dat on first install.
940- Use pkg-config information to find SSL libraries
941- Make 'service cups reload' update the configuration first
942- added README.vine
943
944* Sun Jan 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl1
945- fixed alternative path
946
947* Fri Dec 27 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl0
948- New upstream version
949- dropped patch4 (merged cups-1.1.18)
950- dropped epoch tag
951
952* Thu Dec 26 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.17-3vl0
953- build on Vine Linux
954
955* Tue Dec 10 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-3
956- Fix cupsd startup hang (bug #79346).
957
958* Mon Dec  9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-2
959- Fix parallel backend behaviour when cancelling jobs.
960
961* Mon Dec  9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-1
962- 1.1.17.
963- No longer need libdir patch.
964- Fix logrotate script (bug #76791).
965
966* Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
967- Build requires XFree86-devel (bug #78362).
968
969* Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
970- 1.1.16.
971- Updated system-auth patch.
972- Add ncp backend script.
973
974* Wed Nov 13 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-15
975- Set alternatives priority to 40.
976
977* Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.15-14
978- Buildrequire pam-devel.
979- Patch default PAM config file to remove directory names from module paths,
980  allowing the configuration files to work equally well on multilib systems.
981- Patch default PAM config file to use system-auth, require the file at build-
982  time because that's what data/Makefile checks for.
983
984* Fri Nov  8 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-13
985- Use logrotate for log rotation (bug #76791).
986- No longer need cups.desktop, since redhat-config-printer handles it.
987
988* Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-12
989- Revert to libdir for CUPS_SERVERBIN.
990
991* Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-11
992- Use %%configure for multilib correctness.
993- Use libexec instead of lib for CUPS_SERVERBIN.
994- Ship translated man pages.
995- Remove unshipped files.
996- Fix file list permissions (bug #59021, bug #74738).
997- Fix messy initscript output (bug #65857).
998- Add 'reload' to initscript (bug #76114).
999
1000* Fri Aug 30 2002 Bernhard Rosenkraenzer <bero@redhat.de> 1.1.15-10
1001- Add generic postscript PPD file (#73061)
1002
1003* Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-9
1004- Fix prefix in pstoraster (bug #69573).
1005
1006* Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-8
1007- Disable cups-lpd by default (bug #71712).
1008- No need for fread patch now that glibc is fixed.
1009
1010* Thu Aug 15 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-7
1011- Really add cups-lpd xinetd file (bug #63919).
1012- Ship pstoraster (bug #69573).
1013- Prevent fread from trying to read from beyond EOF (fixes a segfault
1014  with new glibc).
1015
1016* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 1.1.15-6
1017- rebuilt with gcc-3.2 (we hope)
1018
1019* Mon Aug  5 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-5
1020- Add cups-lpd xinetd file (#63919)
1021
1022* Tue Jul 23 2002 Florian La Roche <Florian.LaRoche@redhat.de> 1.1.15-4
1023- add a "exit 0" to postun script
1024
1025* Tue Jul  2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-3
1026- Add a symlink /usr/share/cups/doc -> /usr/share/doc/cups-devel-1.1.15
1027  because some applications expect to find the cups docs in
1028  /usr/share/cups/doc
1029
1030* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
1031- automated rebuild
1032
1033* Fri Jun 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-1
1034- 1.1.15-1
1035- Fix up smb printing trigger (samba-client, not samba-clients)
1036- Start cupsd earlier, apparently it needs to be running before samba
1037  starts up for smb printing to work.
1038
1039* Thu May 23 2002 Tim Powers <timp@redhat.com>
1040- automated rebuild
1041
1042* Tue May  7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-17
1043- Rebuild in current environment
1044- [-16 never existed because of build system breakage]
1045
1046* Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-15
1047- Fix bug #63387
1048
1049* Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14
1050- Fix dangling symlink created by samba-clients trigger
1051
1052* Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13
1053- Add desktop file and icon for CUPS configuration
1054
1055* Wed Apr  3 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12
1056- Support SMB printing (#62407)
1057- Add HTML redirections to doc files to work around users mistaking
1058  /usr/share/doc/cups-1.1.14 for the web frontend (#62405)
1059
1060* Tue Apr  2 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11
1061- fix subsys in initscript (#59206)
1062- don't strip binaries
1063
1064* Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10
1065- Make initscript use killproc instead of killall
1066
1067* Fri Mar  8 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9
1068- use alternatives --initscript support
1069
1070* Mon Mar  4 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8
1071- use the right path for the lpc man page, duh
1072
1073* Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7
1074- lpc man page is alternative too
1075- run ldconfig in -libs %post/%postun, not main
1076- remove alternatives in %preun
1077
1078* Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6
1079- don't source /etc/sysconfig/network in cups.init, we don't use any
1080  values from it
1081
1082* Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4
1083- Fix bugs #60220 and #60352
1084
1085* Thu Feb 21 2002 Tim Powers <timp@redhat.com>
1086- rebuild against correct version of openssl (0.9.6b)
1087
1088* Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2
1089- Add all man pages to alternatives (#59943)
1090- Update to real 1.1.14
1091
1092* Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1
1093- Update to almost-1.1.14
1094
1095* Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5
1096- Move cups-config to cups-devel subpackage
1097- Make alternatives usage a %%define to simplify builds for earlier
1098  releases
1099- Explicitly provide things we're supplying through alternatives
1100  to shut up kdeutils dependencies
1101
1102* Tue Feb  5 2002 Tim Powers <timp@redhat.com>
1103- shut the alternatives stuff up for good
1104
1105* Fri Feb  1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3
1106- Fix alternatives stuff
1107- Don't display error messages in %%post
1108
1109* Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2
1110- alternatives stuff
1111
1112* Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1
1113- 1.1.13
1114- Add patch for koi8-{r,u} and iso8859-8 encodings (#59018)
1115- Rename init scripts so we can safely "killall cupsd" from there
1116
1117* Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1
1118- Initial (conflicting, since alternatives isn't there yet) packaging for
1119  Red Hat Linux
1120
1121* Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com>
1122- 1.1.12
1123
1124* Mon Nov  5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3
1125- Compress PPD files
1126- Fix build with gcc 3.1
1127- Fix init script
1128
1129* Tue Sep  4 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2
1130- Fix URL
1131- Generate printcap
1132- s/Copyright/License/g
1133
1134* Tue Sep  4 2001 Than Ngo <than@redhat.com> 1.1.10-1
1135- update to 1.1.10-1 for ExtraBinge 7.2
1136
1137* Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com>
1138- update to 1.1.8
1139- changed cupsd.conf to generate /etc/printcap
1140
1141* Tue May 15 2001 Than Ngo <than@redhat.com>
1142- update to 1.1.7, bugfixes
1143
1144* Thu Dec 14 2000 Than Ngo <than@redhat.com>
1145- fixed package dependency with lpr and LPRng
1146
1147* Wed Oct 25 2000 Than Ngo <than@redhat.com>
1148- remove man/cat
1149
1150* Tue Oct 24 2000 Than Ngo <than@redhat.com>
1151- don't start cupsd service in level 0, fixed
1152
1153* Thu Oct 19 2000 Than Ngo <than@redhat.com>
1154- update to 1.1.4
1155- fix CUPS_DOCROOT (Bug #18717)
1156
1157* Fri Aug 11 2000 Than Ngo <than@redhat.de>
1158- update to 1.1.2 (Bugfix release)
1159
1160* Fri Aug 4 2000 Than Ngo <than@redhat.de>
1161- fix, cupsd read config file under /etc/cups (Bug #15432)
1162- add missing cups filters
1163
1164* Wed Aug 2 2000 Tim Powers <timp@redhat.com>
1165- rebuilt against libpng-1.0.8
1166
1167* Tue Aug 01 2000 Than Ngo <than@redhat.de>
1168- fix permission, add missing ldconfig in %post and %postun (Bug #14963)
1169
1170* Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1171- 1.1.1 (this has some major bugfixes)
1172- Fix a typo in initscript (it's $?, not ?$)
1173- Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!)
1174- Create the spool dir
1175
1176* Fri Jul 28 2000 Than Ngo <than@redhat.de>
1177- fix unclean code for building against gcc-2.96
1178- add missing restart function in startup script
1179
1180* Fri Jul 28 2000 Tim Powers <timp@redhat.com>
1181- fixed initscript so that conrestart doesn't return 1 if the test fails
1182
1183* Mon Jul 24 2000 Prospector <prospector@redhat.com>
1184- rebuilt
1185
1186* Wed Jul 19 2000 Than Ngo <than@redhat.de>
1187- using service to fire them up
1188- fix Prereq section
1189
1190* Mon Jul 17 2000 Tim Powers <timp@redhat.com>
1191- added defattr to the devel package
1192
1193* Sun Jul 16 2000 Than Ngo <than@redhat.de>
1194- add cups config files
1195
1196* Sat Jul 15 2000 Than Ngo <than@redhat.de>
1197- update to 1.1 release
1198- move back to /etc/rc.d/init.d
1199- fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d
1200- split cups
1201
1202* Wed Jul 12 2000 Than Ngo <than@redhat.de>
1203- rebuilt
1204
1205* Thu Jul 06 2000 Tim Powers <timp@redhat.com>
1206- fixed broken PreReq to now require /etc/init.d
1207
1208* Tue Jun 27 2000 Tim Powers <timp@redhat.com>
1209- PreReq initscripts >= 5.20
1210
1211* Mon Jun 26 2000 Tim Powers <timp@redhat.com>
1212- started changelog
1213- fixed init.d script location
1214- changed script in init.d quite a bit and made more like the rest of our
1215  startup scripts
Note: See TracBrowser for help on using the repository browser.