Summary: Manufacturer-supplied PPD files for Genicom's PostScript printers Name: openprinting-ppds-postscript-genicom Version: 20130226 Release: 1lsb3.2 License: Only verbatim redistribution Group: Applications/System URL: http://www.tallygenicom.com/ %define drivername Postscript-Genicom %define extraversion %nil %define driverstr Postscript-Genicom %define supplierstr OpenPrinting %define supplier OpenPrinting-Genicom %define ppdnickname , %{driverstr} %{version}%{extraversion} (%{supplierstr} LSB 3.2) BuildRequires: lsb-build-cc, lsb-build-c++, lsb-appchk BuildRequires: perl, gzip, cupsddk Source0: openprinting-ppds-postscript-genicom-20130226.tar.gz Source1: openprinting-ppds-postscript-genicom-20130226-README Source2: openprinting-ppds-postscript-genicom-20130226-COPYING BuildRoot: %_tmppath/%name-%version-%release-root BuildArch: noarch %description Manufacturer-supplied PPD files for Genicom's PostScript printers This package is automatically created from the PPD files which are assigned to the "Postscript-Genicom" driver entry in the OpenPrinting database. The PPDs can also be downloaded as single files, but with the packaged file all advantages of the package managers of the distros can be made use of: Clean uninstallation, automatic updates, ... # Packaging settings %install_into_opt %prep # remove old directory rm -rf $RPM_BUILD_DIR/%{name}-%{version}%{extraversion} mkdir $RPM_BUILD_DIR/%{name}-%{version}%{extraversion} %setup -q -T -D -a 0 -n %{name}-%{version}%{extraversion} %build # Nothing to build %install rm -rf %{buildroot} install -d %{buildroot}%{_cupsppd} install -d %{buildroot}%{_docdir}/openprinting-ppds-postscript-genicom cp -r ppds/. %{buildroot}%{_cupsppd}/ chmod -R u+rwX,go+rX %{buildroot}%{_cupsppd} # Rename PPDs appropriate to LSB agreements and compress the PPD files %adjust_ppds cat %{SOURCE1} > %{buildroot}%{_docdir}/openprinting-ppds-postscript-genicom/README cat %{SOURCE2} > %{buildroot}%{_docdir}/openprinting-ppds-postscript-genicom/COPYING %pre %create_opt_dirs %post %set_ppd_links %update_ppds_fast %restart_cups %preun %not_on_rpm_update : %end_not_on_rpm_update %postun %not_on_rpm_update %remove_ppd_links %restart_cups %end_not_on_rpm_update %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_prefix} %docdir %{_docdir} %changelog * Tue Feb 26 2013 OpenPrinting Database Server 20130226-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Genicom".