cups-vl.spec 42 KB

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