cups-vl.spec 42 KB

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