X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=cups.spec;h=1fdfa15c2fe7a973a9961038e60b412af8ebff2a;hb=8e756ca921f80bcf641abb3ab4abfbe0f33e17c5;hp=dbb0995e4b392923ff0155c4f407420dcfe410dd;hpb=ec00f2d5ed499d3a9c3f259c7bc26374340d98e6;p=packages%2Fcups.git diff --git a/cups.spec b/cups.spec index dbb0995..1fdfa15 100644 --- a/cups.spec +++ b/cups.spec @@ -2,9 +2,12 @@ # Conditional build: %bcond_with gnutls # use GNU TLS for SSL/TLS support (instead of OpenSSL) %bcond_without dnssd +%bcond_without ldap # do not include LDAP support +%bcond_without gssapi # do not include GSSAPI support %bcond_without php # don't build PHP extension/support in web interface %bcond_without perl # don't build Perl extension/support in web interface %bcond_without python # don't build Python support in web interface +%bcond_without slp # do not include SLP support %bcond_without static_libs # don't build static library # %include /usr/lib/rpm/macros.perl @@ -13,20 +16,20 @@ Summary(pl.UTF-8): Ogólny system druku dla Uniksa Summary(pt_BR.UTF-8): Sistema Unix de Impressão Name: cups -Version: 1.4.2 -Release: 5 +Version: 1.4.4 +Release: 2 Epoch: 1 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: d95e2d588e3d36e563027a963b117b1b +# Source0-md5: 8776403ad60fea9e85eab9c04d88560d Source1: %{name}.init Source2: %{name}.pamd Source3: %{name}.logrotate Source4: %{name}.mailto.conf Source5: %{name}-lpd.inetd Source6: %{name}-modprobe.conf -# svn diff http://svn.easysw.com/public/cups/tags/release-1.4.1/ http://svn.easysw.com/public/cups/branches/branch-1.4/ > cups-branch.diff +# svn diff http://svn.easysw.com/public/cups/tags/release-1.4.3/ http://svn.easysw.com/public/cups/branches/branch-1.4/ > cups-branch.diff # + drop config-scripts/cups-common.m4 change Patch0: %{name}-config.patch Patch2: %{name}-options.patch @@ -38,6 +41,7 @@ Patch7: %{name}-no-polluted-krb5config.patch Patch9: %{name}-verbose-compilation.patch Patch10: %{name}-peercred.patch Patch11: %{name}-usb.patch +Patch12: %{name}-desktop.patch URL: http://www.cups.org/ BuildRequires: acl-devel BuildRequires: autoconf @@ -45,37 +49,36 @@ BuildRequires: automake %{?with_dnssd:BuildRequires: avahi-compat-libdns_sd-devel} BuildRequires: dbus-devel BuildRequires: glibc-headers -BuildRequires: heimdal-devel %{?with_gnutls:BuildRequires: gnutls-devel} -%{?with_java:BuildRequires: jar} -%{?with_java:BuildRequires: jdk} -%{?with_java:BuildRequires: jpackage-utils} +%{?with_gssapi:BuildRequires: heimdal-devel} BuildRequires: libjpeg-devel BuildRequires: libpaper-devel BuildRequires: libpng-devel BuildRequires: libstdc++-devel BuildRequires: libtiff-devel -BuildRequires: libusb-devel BuildRequires: libusb-compat-devel -BuildRequires: openldap-devel -BuildRequires: openslp-devel +BuildRequires: libusb-devel +%{?with_ldap:BuildRequires: openldap-devel} +%{?with_slp:BuildRequires: openslp-devel} %{!?with_gnutls:BuildRequires: openssl-devel} BuildRequires: pam-devel %{?with_php:BuildRequires: php-devel >= 4:5.0.0} BuildRequires: pkgconfig -%{?with_java:BuildRequires: rpm-javaprov} 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: perl-modules Requires: rc-scripts +Suggests: ImageMagick-coder-pdf +Suggests: cups-filter-pstoraster +Suggests: poppler-progs Provides: printingdaemon Obsoletes: printingdaemon Conflicts: ghostscript < 7.05.4 Conflicts: logrotate < 3.7-4 -Suggests: cups-filter-pstoraster BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _ulibdir %{_prefix}/lib @@ -168,7 +171,7 @@ Requires: %{name}-image-lib = %{epoch}:%{version}-%{release} Requires: %{name}-lib = %{epoch}:%{version}-%{release} # for libcups %{?with_gnutls:Requires: gnutls-devel} -Requires: heimdal-devel +%{?with_gssapi:Requires: heimdal-devel} %{!?with_gnutls:Requires: openssl-devel} Requires: zlib-devel # for libcupsimage @@ -235,35 +238,6 @@ PHP module for Common Unix Printing System. %description -n php-cups -l pl.UTF-8 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: Libraries/Java -Requires: jpackage-utils - -%description -n java-cups -Common Unix Printing System Java classes. - -%description -n java-cups -l pl.UTF-8 -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 - -%description -n java-cups-javadoc -Documentation for %{name}. - -%description -n java-cups-javadoc -l pl.UTF-8 -Dokumentacja do %{name}. - -%description -n java-cups-javadoc -l fr.UTF-8 -Javadoc pour %{name}. - %package backend-usb Summary: USB backend for CUPS Summary(pl.UTF-8): Backend USB dla CUPS-a @@ -333,6 +307,7 @@ Wsparcie dla LPD w serwerze wydruków CUPS. %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 %build %{__aclocal} -I config-scripts @@ -351,8 +326,11 @@ Wsparcie dla LPD w serwerze wydruków CUPS. --enable-ssl \ %{?debug:--enable-debug} \ --%{!?with_dnssd:dis}%{?with_dnssd:en}able-dnssd \ + --%{!?with_ldap:dis}%{?with_ldap:en}able-ldap \ + --%{!?with_gssapi:dis}%{?with_gssapi:en}able-gssapi \ --%{!?with_gnutls:dis}%{?with_gnutls:en}able-gnutls \ --%{?with_gnutls:dis}%{!?with_gnutls:en}able-openssl \ + --%{!?with_slp:dis}%{?with_slp:en}able-slp \ %{?with_static_libs:--enable-static} \ --with-cups-user=lp \ --with-cups-group=lp \ @@ -365,7 +343,6 @@ Wsparcie dla LPD w serwerze wydruków CUPS. --with-optim=-Wno-format-y2k \ %{?with_dnssd:--with-dnssd-libs=x} \ %{?with_dnssd:--with-dnssd-includes=x} \ - --with-java=%{_bindir}/java \ %{?with_perl:--with-perl=%{_bindir}/perl} \ %{?with_php:--with-php=%{_bindir}/php} \ %{?with_python:--with-python=%{_bindir}/python} @@ -529,6 +506,8 @@ fi %lang(de) %{_ulibdir}/cups/cgi-bin/de %lang(es) %{_ulibdir}/cups/cgi-bin/es %lang(eu) %{_ulibdir}/cups/cgi-bin/eu +%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(ru) %{_ulibdir}/cups/cgi-bin/ru @@ -569,6 +548,8 @@ fi %lang(de) %{_datadir}/cups/templates/de %lang(es) %{_datadir}/cups/templates/es %lang(eu) %{_datadir}/cups/templates/eu +%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(ru) %{_datadir}/cups/templates/ru @@ -624,6 +605,7 @@ fi %lang(eu) %{_datadir}/locale/eu/cups_eu.po %lang(fi) %{_datadir}/locale/fi/cups_fi.po %lang(fr) %{_datadir}/locale/fr/cups_fr.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