cups-vl.spec 41 KB

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