forked from pool/cups-backends
c7ac4d1195
Copy from home:jsmeix:branches:Printing/cups-backends via accept of submit request 37416 revision 2. Request was accepted with message: Work with upstream compliant CUPS 1.4 on all platforms (bnc#575544) and remove HAL stuff (bnc#593946) and some package cleanup OBS-URL: https://build.opensuse.org/request/show/37416 OBS-URL: https://build.opensuse.org/package/show/Printing/cups-backends?expand=0&rev=6
58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package cups-backends (Version 1.0)
|
|
#
|
|
# Copyright (c) 2009 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: cups-backends
|
|
Summary: Additional Backends for CUPS
|
|
License: GPL v2
|
|
Group: Hardware/Printing
|
|
Version: 1.0
|
|
Release: 255
|
|
Source0: cups-pipe.sh
|
|
Requires: cups
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This package contains free additional backends for CUPS.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Johannes Meixner <jsmeix@suse.de>
|
|
|
|
%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
|
|
|