Summary: PPD files for Lanier's PostScript printers, supplied by Ricoh Name: openprinting-ppds-postscript-lanier Version: 20161206 Release: 1lsb3.2 License: MIT Group: Applications/System URL: http://www.lanier.com/ %define drivername Postscript-Lanier %define extraversion %nil %define driverstr Postscript-Lanier %define supplierstr OpenPrinting %define supplier OpenPrinting-Ricoh %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-lanier-20161206.tar.gz Source1: openprinting-ppds-postscript-lanier-20161206-README Source2: openprinting-ppds-postscript-lanier-20161206-COPYING BuildRoot: %_tmppath/%name-%version-%release-root BuildArch: noarch %description PPD files for Lanier's PostScript printers, supplied by Ricoh This package is automatically created from the PPD files which are assigned to the "Postscript-Lanier" 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-lanier 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-lanier/README cat %{SOURCE2} > %{buildroot}%{_docdir}/openprinting-ppds-postscript-lanier/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 Dec 6 2016 OpenPrinting Database Server 20161206-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Mon Jun 6 2016 OpenPrinting Database Server 20160606-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Sat Feb 27 2016 OpenPrinting Database Server 20160227-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Thu Feb 18 2016 OpenPrinting Database Server 20160218-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Fri Aug 29 2014 OpenPrinting Database Server 20140829-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Fri Mar 14 2014 OpenPrinting Database Server 20140314-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Fri Jan 10 2014 OpenPrinting Database Server 20140110-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Tue Jun 11 2013 OpenPrinting Database Server 20130611-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Mon Mar 25 2013 OpenPrinting Database Server 20130325-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Tue Feb 26 2013 OpenPrinting Database Server 20130226-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Wed May 30 2012 OpenPrinting Database Server 20120530-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier". * Fri Dec 9 2011 OpenPrinting Database Server 20111209-1lsb3.2 - Automatically generated to reflect the changes in the PPD repository for the driver "Postscript-Lanier".