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