forked from pool/cups-backends
0e3f7e37c1
- Remove redundant tags/sections from specfile OBS-URL: https://build.opensuse.org/request/show/83157 OBS-URL: https://build.opensuse.org/package/show/Printing/cups-backends?expand=0&rev=8
50 lines
1.5 KiB
RPMSpec
50 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package cups-backends
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
|
|
Name: cups-backends
|
|
Summary: Additional Backends for CUPS
|
|
License: GPLv2
|
|
Group: Hardware/Printing
|
|
Version: 1.0
|
|
Release: 256
|
|
Source0: cups-pipe.sh
|
|
Requires: cups
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This package contains free additional backends for CUPS.
|
|
|
|
%prep
|
|
# There is nothing to do here because Source0 is installed directly from RPM_SOURCE_DIR.
|
|
|
|
%build
|
|
# There is nothing to build because Source0 is a bash script.
|
|
|
|
%install
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/cups/backend
|
|
install -m 755 -D ${RPM_SOURCE_DIR}/cups-pipe.sh $RPM_BUILD_ROOT/usr/lib/cups/backend/pipe
|
|
|
|
%files
|
|
%defattr(-, root,root)
|
|
%dir /usr/lib/cups
|
|
%dir /usr/lib/cups/backend
|
|
/usr/lib/cups/backend/pipe
|
|
|
|
%changelog
|