source: projects/specs/branches/6/c/cups/cups-vl.spec @ 5623

Revision 5623, 41.8 KB checked in by tomop, 12 years ago (diff)

cups-1.4.8-5

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