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

Revision 9589, 41.2 KB checked in by tomop, 9 years ago (diff)

cups-2.0.3-1

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