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

Revision 10423, 42.0 KB checked in by tomop, 8 years ago (diff)

cups-2.1.4-2

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