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

Revision 4734, 39.9 KB checked in by tomop, 13 years ago (diff)

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