Summary(pt_BR.UTF-8): Sistema Unix de Impressão
Name: cups
Version: 1.5.2
-Release: 0.1
+Release: 5
Epoch: 1
License: LGPL v2 (libraries), GPL v2 (the rest) + openssl exception
Group: Applications/Printing
Patch11: %{name}-usb.patch
Patch12: %{name}-desktop.patch
Patch13: %{name}-systemd-socket.patch
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638521
+Patch14: ipp-revert-1.4.patch
+Patch15: %{name}-locale.patch
# avahi patches from fedora
Patch100: %{name}-avahi-1-config.patch
Patch101: %{name}-avahi-2-backend.patch
BuildRequires: pkgconfig
BuildRequires: rpm-perlprov
BuildRequires: rpmbuild(macros) >= 1.641
+BuildRequires: systemd-devel
Requires(post,preun): /sbin/chkconfig
+Requires(post,preun,postun): systemd-units >= 38
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: openssl-tools
Requires: pam >= 0.77.3
Requires: perl-modules
Requires: rc-scripts
-Requires: systemd-units
+Requires: systemd-units >= 38
Suggests: ImageMagick-coder-pdf
Suggests: cups-filter-pstoraster
Suggests: ghostscript-cups
#%patch11 -p1
%patch12 -p1
%patch13 -p1
+%patch14 -p1
+%patch15 -p0
%if %{with avahi}
%patch100 -p1
%{?with_dnssd:--with-dnssd-includes=x} \
%{?with_perl:--with-perl=%{_bindir}/perl} \
%{?with_php:--with-php=%{_bindir}/php} \
- %{?with_python:--with-python=%{_bindir}/python}
+ %{?with_python:--with-python=%{_bindir}/python} \
+ --with-systemdsystemunitdir=%{systemdunitdir}
%{__make} %{?debug:OPTIONS="-DDEBUG"}
/etc/dbus-1/system.d/cups.conf
/etc/modprobe.d/cups.conf
%{systemdunitdir}/cups.service
+%{systemdunitdir}/cups.socket
+%{systemdunitdir}/cups.path
%{systemdtmpfilesdir}/%{name}.conf
%attr(600,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/classes.conf
%attr(640,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/cupsd.conf