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

Revision 11310, 42.1 KB checked in by tomop, 6 years ago (diff)

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