cups-vl.spec 41 KB

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