# # spec file for package cups-backends (Version 1.0) # # Copyright (c) 2010 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: 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. Authors: -------- Johannes Meixner %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