cups-vl.spec 42 KB

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