cups-vl.spec 39 KB

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