cups-vl.spec 39 KB

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