Accepting request 483861 from home:kukuk:branches:Printing
- Add /etc/cups to cups-libs package [bsc#1025689] OBS-URL: https://build.opensuse.org/request/show/483861 OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=323
This commit is contained in:
parent
adb2892f0e
commit
47dbebda3e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 29 13:41:15 UTC 2017 - kukuk@suse.com
|
||||
|
||||
- Add /etc/cups to cups-libs package [bsc#1025689]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 12 13:59:53 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
|
18
cups.spec
18
cups.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package cups
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -133,10 +133,13 @@ browsing". This is now handled by cups-browsed service.
|
||||
|
||||
%package libs
|
||||
Summary: Libraries for CUPS
|
||||
# Prerequire /sbin/ldconfig which is used in the traditional bash scriptlets for post/postun:
|
||||
License: GPL-2.0 and LGPL-2.1
|
||||
Group: Hardware/Printing
|
||||
# Prerequire /sbin/ldconfig which is used in the traditional bash scriptlets for post/postun:
|
||||
Requires(pre): /sbin/ldconfig
|
||||
%if 0%{?suse_version} >= 1330
|
||||
Requires(pre): group(lp)
|
||||
%endif
|
||||
|
||||
%description libs
|
||||
The Common UNIX Printing System (CUPS) is the
|
||||
@ -154,8 +157,6 @@ browsing". This is now handled by cups-browsed service.
|
||||
|
||||
%package client
|
||||
Summary: CUPS Client Programs
|
||||
License: GPL-2.0
|
||||
Group: Hardware/Printing
|
||||
# Require the exact matching version-release of the cups-libs sub-package because
|
||||
# non-matching CUPS libraries may let CUPS software crash (e.g. segfault)
|
||||
# because all CUPS software is built from the one same CUPS source tar ball
|
||||
@ -165,6 +166,8 @@ Group: Hardware/Printing
|
||||
# on the same package repository where the cups package is because
|
||||
# all are built simulaneously from the same cups source package
|
||||
# and all required packages are provided on the same repository:
|
||||
License: GPL-2.0
|
||||
Group: Hardware/Printing
|
||||
Requires: cups-libs = %{version}-%{release}
|
||||
# Conflicts with other print spoolers which provide same binaries like /usr/bin/lp and so on:
|
||||
Conflicts: lprng
|
||||
@ -187,13 +190,13 @@ browsing". This is now handled by cups-browsed service.
|
||||
|
||||
%package devel
|
||||
Summary: Development Environment for CUPS
|
||||
License: GPL-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
# Do not require the exact matching version-release of cups-libs
|
||||
# but only a cups-libs package with matching version because
|
||||
# for building third-party software which uses only the CUPS public API
|
||||
# there are no CUPS-internal dependencies via CUPS private API calls
|
||||
# (the latter would require the exact matching cups-libs version-release):
|
||||
License: GPL-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: cups-libs = %{version}
|
||||
Requires: glibc-devel
|
||||
|
||||
@ -650,6 +653,9 @@ exit 0
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
%if 0%{?suse_version} >= 1330
|
||||
%dir %attr(0755,root,lp) /etc/cups
|
||||
%endif
|
||||
%config(noreplace) %{_sysconfdir}/cups/client.conf
|
||||
%dir %attr(0710,root,lp) %{_var}/spool/cups
|
||||
%dir %attr(1770,root,lp) %{_var}/spool/cups/tmp
|
||||
|
Loading…
x
Reference in New Issue
Block a user