Summary(pl.UTF-8): Ogólny system druku dla Uniksa
Summary(pt_BR.UTF-8): Sistema Unix de Impressão
Name: cups
-Version: 1.3.5
-Release: 4
+Version: 1.3.9
+Release: 1
Epoch: 1
-License: GPL/LGPL
+License: LGPL v2 (libraries), GPL v2 (the rest) + openssl exception
Group: Applications/Printing
Source0: http://ftp.easysw.com/pub/cups/%{version}/%{name}-%{version}-source.tar.bz2
-# Source0-md5: 355705c528e9a8d0d439da15454d79a6
+# Source0-md5: cf63f451c356e6cabb08972d4d11c365
Source1: %{name}.init
Source2: %{name}.pamd
Source3: %{name}.logrotate
Patch2: %{name}-options.patch
Patch3: %{name}-man_pages_linking.patch
Patch4: %{name}-nostrip.patch
-Patch5: %{name}-templates.patch
-Patch6: %{name}-certs_FHS.patch
-Patch7: %{name}-direct_usb.patch
-Patch8: %{name}-satisfy-any.patch
-Patch9: %{name}-no-polluted-krb5config.patch
+Patch5: %{name}-certs_FHS.patch
+Patch6: %{name}-direct_usb.patch
+Patch7: %{name}-no-polluted-krb5config.patch
+Patch8: %{name}-java-fix.patch
+Patch9: %{name}-verbose-compilation.patch
+Patch10: %{name}-peercred.patch
+Patch11: %{name}-translate.patch
URL: http://www.cups.org/
BuildRequires: acl-devel
BuildRequires: autoconf
BuildRequires: libpng-devel
BuildRequires: libstdc++-devel
BuildRequires: libtiff-devel
-BuildRequires: openldap-devel >= 2.4.6
+BuildRequires: openldap-devel
BuildRequires: openslp-devel
%{!?with_gnutls:BuildRequires: openssl-devel}
BuildRequires: pam-devel
BuildRequires: rpmbuild(macros) >= 1.344
Requires(post,preun): /sbin/chkconfig
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+Requires: openssl-tools
Requires: pam >= 0.77.3
Requires: rc-scripts
Provides: printingdaemon
Obsoletes: printingdaemon
Conflicts: ghostscript < 7.05.4
Conflicts: logrotate < 3.7-4
+# pstoraster:
+Suggests: cups-filter-pstoraster
+# Contains imagetops...:
+Suggests: kdelibs
+# pdftops:
+Suggests: poppler-progs
+# pstops:
+Suggests: psutils
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _ulibdir %{_prefix}/lib
Summary: Common Unix Printing System Libraries
Summary(pl.UTF-8): Biblioteki dla CUPS
Summary(pt_BR.UTF-8): Sistema Unix de Impressão - bibliotecas para uso em clientes cups
+License: LGPL v2 + openssl exception
Group: Libraries
Provides: %{name}-libs = %{epoch}:%{version}-%{release}
Obsoletes: cups-libs
%package clients
Summary: Common Unix Printing System Clients
Summary(pl.UTF-8): Aplikacje klienckie dla CUPS
+License: GPL v2 + openssl exception
Group: Applications/Printing
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Provides: printingclient
Summary: Common Unix Printing System Libraries - images manipulation
Summary(pl.UTF-8): Biblioteki dla CUPS - obsługa formatów graficznych
Summary(pt_BR.UTF-8): Sistema Unix de Impressão - bibliotecas para uso em clientes cups
+License: LGPL v2 + openssl exception
Group: Libraries
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
Obsoletes: libcups1
Summary: Common Unix Printing System development files
Summary(pl.UTF-8): Ogólny system druku dla Uniksa - pliki nagłówkowe
Summary(pt_BR.UTF-8): Sistema Unix de Impressão - ambiente de desenvolvimento
+License: LGPL v2 + openssl exception
Group: Development/Libraries
Requires: %{name}-image-lib = %{epoch}:%{version}-%{release}
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
Summary: Common Unix Printing System static libraries
Summary(pl.UTF-8): Ogólny system druku dla Uniksa - biblioteki statyczne
Summary(pt_BR.UTF-8): Common Unix Printing System - bibliotecas estáticas
+License: LGPL v2 + openssl exception
Group: Development/Libraries
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
%package -n perl-cups
Summary: Perl module for CUPS
Summary(pl.UTF-8): Moduł Perla CUPS
+License: GPL v2 + openssl exception
Group: Development/Languages/Perl
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
%package -n php-cups
Summary: PHP module for CUPS
Summary(pl.UTF-8): Moduł PHP CUPS
+License: GPL v2 + openssl exception
Group: Development/Languages/PHP
Requires: %{name}-lib = %{epoch}:%{version}-%{release}
%{?requires_php_extension}
%package -n java-cups
Summary: CUPS java classes
Summary(pl.UTF-8): Klasy javy CUPS
+License: GPL v2 + openssl exception
Group: Development/Languages/Java
Requires: jpackage-utils
%package -n java-cups-javadoc
Summary: Online manual for %{name}
Summary(pl.UTF-8): Dokumentacja online do %{name}
+License: GPL v2 + openssl exception
Group: Documentation
Requires: jpackage-utils
%package backend-usb
Summary: USB backend for CUPS
Summary(pl.UTF-8): Backend USB dla CUPS-a
+License: GPL v2 + openssl exception
Group: Applications/Printing
Requires: %{name} = %{epoch}:%{version}-%{release}
%package backend-serial
Summary: Serial port backend for CUPS
Summary(pl.UTF-8): Backend obsługujący porty szeregowe dla CUPS-a
+License: GPL v2 + openssl exception
Group: Applications/Printing
Requires: %{name} = %{epoch}:%{version}-%{release}
%package backend-parallel
Summary: Parallel port backend for CUPS
Summary(pl.UTF-8): Backend obsługujący porty równoległe dla CUPS-a
+License: GPL v2 + openssl exception
Group: Applications/Printing
Requires: %{name} = %{epoch}:%{version}-%{release}
%package lpd
Summary: LPD compatibility support for CUPS print server
Summary(pl.UTF-8): Wsparcie dla LPD w serwerze wydruków CUPS
+License: GPL v2 + openssl exception
Group: Applications/Printing
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: rc-inetd
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
+%patch11 -p1
%build
%{__aclocal} -I config-scripts
%{__autoconf}
%configure \
--libdir=%{_ulibdir} \
+ --disable-cdsassl \
+ --enable-dbus \
--enable-shared \
+ --enable-ssl \
+ %{?debug:--enable-debug} \
+ --%{!?with_dnssd:dis}%{?with_dnssd:en}able-dnssd \
+ --%{!?with_gnutls:dis}%{?with_gnutls:en}able-gnutls \
+ --%{?with_gnutls:dis}%{!?with_gnutls:en}able-openssl \
+ %{?with_static_libs:--enable-static} \
--with-cups-user=lp \
--with-cups-group=lp \
--with-system-groups=sys \
--with-printcap=/etc/printcap \
- %{?with_static_libs:--enable-static} \
- --enable-ssl \
- --%{?with_gnutls:dis}%{!?with_gnutls:en}able-openssl \
- --%{!?with_gnutls:dis}%{?with_gnutls:en}able-gnutls \
- --%{!?with_dnssd:dis}%{?with_dnssd:en}able-dnssd \
- --disable-cdsassl \
- --enable-dbus \
- %{?debug:--enable-debug} \
+ --with-dbusdir=/etc/dbus-1 \
--with-docdir=%{_ulibdir}/%{name}/cgi-bin \
--with-config-file-perm=0640 \
--with-log-file-perm=0640 \
+ --with-optim=-Wno-format-y2k \
%{?with_dnssd:--with-dnssd-libs=x} \
%{?with_dnssd:--with-dnssd-includes=x} \
- %{?with_php:--with-php} \
- %{?with_perl:--with-perl} \
%{?with_java:--with-java} \
+ %{?with_perl:--with-perl} \
+ %{?with_php:--with-php} \
%{?with_python:--with-python}
%{__make}
%lang(et) %{_ulibdir}/cups/cgi-bin/et
%lang(fr) %{_ulibdir}/cups/cgi-bin/fr
%lang(he) %{_ulibdir}/cups/cgi-bin/he
+%lang(id) %{_ulibdir}/cups/cgi-bin/id
%lang(it) %{_ulibdir}/cups/cgi-bin/it
%lang(ja) %{_ulibdir}/cups/cgi-bin/ja
%lang(pl) %{_ulibdir}/cups/cgi-bin/pl
%lang(et) %{_datadir}/cups/templates/et
%lang(fr) %{_datadir}/cups/templates/fr
%lang(he) %{_datadir}/cups/templates/he
+%lang(id) %{_datadir}/cups/templates/id
%lang(it) %{_datadir}/cups/templates/it
%lang(ja) %{_datadir}/cups/templates/ja
%lang(pl) %{_datadir}/cups/templates/pl
%lang(fi) %{_datadir}/locale/fi/cups_fi.po
%lang(fr) %{_datadir}/locale/fr/cups_fr.po
%lang(he) %{_datadir}/locale/he/cups_he.po
+%lang(id) %{_datadir}/locale/id/cups_id.po
%lang(it) %{_datadir}/locale/it/cups_it.po
%lang(ko) %{_datadir}/locale/ko/cups_ko.po
%lang(ja) %{_datadir}/locale/ja/cups_ja.po