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

Revision 9035, 41.1 KB checked in by tomop, 10 years ago (diff)

cups-2.0.0-1

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