diff --git a/README.md b/README.md index 6ee77ce..514a3be 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # foomatic-db-nonfree +Foomatic database extension consisting of manufacturer-supplied PPD files released under non-free licenses which restricts them in how they can get redistributed. + diff --git a/foomatic-db-nonfree.spec b/foomatic-db-nonfree.spec new file mode 100644 index 0000000..1796c79 --- /dev/null +++ b/foomatic-db-nonfree.spec @@ -0,0 +1,147 @@ +#%define lxx74_cups_version 0.8.4.2 +%define bigver %(echo %version | cut -d. -f 1-2) +%define relver %(echo %version | cut -d. -f 3) + +Name: foomatic-db-nonfree +Version: 20140201 +Release: 1mamba +Summary: Manufacturer-supplied PPD files released under non-free licenses +Group: System/Spooling +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +Source0: http://www.openprinting.org/download/foomatic/foomatic-db-nonfree-%{relver}.tar.gz +URL: http://www.openprinting.org/foomatic.html +License: no OSI Approved +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: hplip-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: ghostscript-devel +BuildRequires: libcups-devel >= 1.1.20 +Requires: hplip >= 0.9.7 +Requires: gutenprint +Requires: foo2zjs +Requires: libpoppler-tools +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Foomatic database extension consisting of manufacturer-supplied PPD files released under non-free licenses which restricts them in how they can get redistributed. + +%prep +%setup -q -n %{name}-%{relver} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +#%post +#if [ $1 -ge 1 ]; then +# rm -f /var/cache/foomatic/*/* +# if [ -d /var/cache/foomatic/compiled ]; then +# foomatic-combo-xml -O >/var/cache/foomatic/compiled/overview.xml +# fi +#fi +#: + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_datadir}/foomatic/db/source/driver/*.xml +%{_datadir}/foomatic/db/source/PPD/* + +%changelog +* Sat Feb 01 2014 Silvan Calarco 20140201-1mamba +- update to 20140201 + +* Sat Sep 29 2012 Silvan Calarco 20120929-1mamba +- update to 20120929 + +* Wed Aug 08 2012 Silvan Calarco 4.0.20120808-1mamba +- update to 4.0.20120808 + +* Thu Feb 16 2012 Silvan Calarco 4.0.20120216-1mamba +- update to 4.0.20120216 + +* Sat Dec 05 2009 Silvan Calarco 4.0.20091205-1mamba +- update to 4.0.20091205 +- split from foomatic package + +* Tue Dec 01 2009 Silvan Calarco 4.0.20091201-1mamba +- update to 4.0.20091201 +- added requirement for libpoppler-tools + +* Tue Jun 16 2009 Silvan Calarco 4.0.20090616-1mamba +- update to 4.0.20090616 + +* Thu May 14 2009 Silvan Calarco 4.0.20090514-1mamba +- update to 4.0.20090514 + +* Thu Nov 06 2008 Silvan Calarco 3.0.20080608-2mamba +- automatic rebuild by autodist + +* Mon Jun 09 2008 Silvan Calarco 3.0.20080608-1mamba +- update to 3.0.20080608 +- excluded gutenprint drivers definition files gutenprint.xml and gutenprint52.xml + +* Thu Mar 27 2008 Silvan Calarco 3.0.20080327-1mamba +- update to 3.0.20080327 + +* Tue Mar 25 2008 Silvan Calarco 3.0.20080325-1mamba +- update to 3.0.20080325 +- removed ppd from foomatic-filters-ppds + +* Sun Oct 14 2007 Silvan Calarco 3.0.20071012-2mamba +- update to 3.0.20071012 +- epoch incremented because of major release download (3.1 is unstable) +- removed lx x74 driver (it is partially supported by foomatic) + +* Sun Mar 19 2006 Silvan Calarco 3.1.20060319-1qilnx +- update to version 20060319 by autospec +- removed foomatic-db sources from target package +- specfile architectural changes (build under single foomatic dir) +- fixed lxx74 driver packaging +- change versioning to include big version of foomatic (and increment epoch) +- patch Generic Postscript driver name so it works in KDE + +* Wed Feb 22 2006 Silvan Calarco 20060221-2qilnx +- add a patch to fix a perl error on DB.pm + +* Tue Feb 21 2006 Alessandro Ramazzina 20060221-1qilnx +- update to version 20060221 by autospec + +* Thu Jan 26 2006 Silvan Calarco 20060126-1qilnx +- update to version 20060126 by autospec +- fixed %pre script (ad exit 0 to the end) + +* Thu Nov 24 2005 Alessandro Ramazzina 20051124-1qilnx +- update to version 20051124 by autospec + +* Tue Aug 30 2005 Silvan Calarco 20050830-1qilnx +- update to version 20050830 by autospec + +* Mon May 02 2005 Silvan Calarco 20050502-1qilnx +- new version build + +* Tue Oct 12 2004 Silvan Calarco 20040926-2qilnx +- added missing symlinks in /usr/lib/cups/filters, ppr/lib, ppr/interfaces + +* Mon Sep 27 2004 Silvan Calarco 20040926-1qilnx +- new drivers version build +- added lxx74 drivers for Lexmark printers + +* Wed Aug 11 2004 Silvan Calarco 20040811-1qilnx +- new version build + +* Fri May 21 2004 Silvan Calarco 20040521-1qilnx +- first build