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