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

Revision 4757, 40.1 KB checked in by tomop, 13 years ago (diff)

cups-1.4.8-2

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