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

Revision 521, 34.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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