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

Revision 6102, 42.0 KB checked in by tomop, 12 years ago (diff)

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