cups-vl.spec 42 KB

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