cups-vl.spec 41 KB

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