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

Revision 8288, 41.2 KB checked in by tomop, 10 years ago (diff)

cups-1.7.1-1

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