cups-vl.spec 40 KB

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