# # spec file for package cups-backends # # Copyright (c) 2012 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: GPL-2.0 Group: Hardware/Printing Version: 1.0 Release: 0 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