]> git.pld-linux.org Git - packages/cups.git/blobdiff - cups.spec
- Requires: openssl-tools
[packages/cups.git] / cups.spec
index e939b9ce79f40ee11ccdebf767176e2c3215a319..4a2e4ea209320bf77cea355f9804b0d58fee1441 100644 (file)
--- a/cups.spec
+++ b/cups.spec
@@ -20,13 +20,13 @@ Summary:    Common Unix Printing System
 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.8
+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: 84e09577d673b212f605dd09caee456c
 Source1:       %{name}.init
 Source2:       %{name}.pamd
 Source3:       %{name}.logrotate
@@ -37,11 +37,13 @@ Patch1:             %{name}-lp-lpr.patch
 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
@@ -58,7 +60,7 @@ BuildRequires:        libjpeg-devel
 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
@@ -69,12 +71,21 @@ BuildRequires:      rpm-perlprov
 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
@@ -109,6 +120,7 @@ portável para os sistemas operacionais baseados no UNIX®.
 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
@@ -126,6 +138,7 @@ Bibliotecas CUPS requeridas pelos clientes CUPS.
 %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
@@ -141,6 +154,7 @@ Aplikacje klienckie dla CUPS.
 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
@@ -158,6 +172,7 @@ Bibliotecas CUPS requeridas pelos clientes CUPS.
 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}
@@ -187,6 +202,7 @@ CUPS.
 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}
 
@@ -203,6 +219,7 @@ bibliotecas do CUPS.
 %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}
 
@@ -215,6 +232,7 @@ Moduł Perla do ogólnego systemu druku dla Uniksa.
 %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}
@@ -230,6 +248,7 @@ Moduł PHP do ogólnego systemu druku dla Uniksa.
 %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
 
@@ -242,6 +261,7 @@ Klasy javy do ogólnego systemu druku dla Uniksa.
 %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
 
@@ -257,6 +277,7 @@ Javadoc pour %{name}.
 %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}
 
@@ -269,6 +290,7 @@ Ten pakiet umożliwia drukowanie z poziomu CUPS-a na drukarkach USB.
 %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}
 
@@ -283,6 +305,7 @@ podłączonych do portów szeregowych.
 %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}
 
@@ -297,6 +320,7 @@ podłączonych do portów równoległych.
 %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
@@ -319,33 +343,37 @@ Wsparcie dla LPD w serwerze wydruków CUPS.
 %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}
@@ -534,6 +562,7 @@ fi
 %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
@@ -574,6 +603,7 @@ fi
 %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
@@ -625,6 +655,7 @@ fi
 %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
This page took 0.081751 seconds and 4 git commands to generate.