cups-vl.spec 42 KB

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