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

Revision 8110, 41.8 KB checked in by tomop, 10 years ago (diff)

cups-1.7.0, cups-filters-1.0.43

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