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

Revision 10041, 41.5 KB checked in by tomop, 8 years ago (diff)

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