From c1f0b3ff05e5cc4d2504b1504c851953f102c7bd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:23:23 +0100 Subject: [PATCH] added build requirements [release 1.13-2mamba;Tue Feb 14 2012] --- README.md | 2 ++ pnm2ppa.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 pnm2ppa.spec diff --git a/README.md b/README.md index 11f0585..1f4bffe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pnm2ppa +PPA (Printing Performance Architecture) is a closed, proprietary protocol developed by Hewlett Packard for a short-lived series of DeskJet printers. In essence, the PPA protocol moves the low-level processing of the data to the host computer rather than the printer. This allows for a low-cost (to produce) printer with a small amount of memory and computing power. + diff --git a/pnm2ppa.spec b/pnm2ppa.spec new file mode 100644 index 0000000..5bdb751 --- /dev/null +++ b/pnm2ppa.spec @@ -0,0 +1,48 @@ +Name: pnm2ppa +Version: 1.13 +Release: 2mamba +Summary: pnm2ppa converts from pnm to ppa (a closed HP printing protocol) +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: http://pnm2ppa.sourceforge.net/ +Source: http://garr.dl.sourceforge.net/project/pnm2ppa/pnm2ppa/%{version}/pnm2ppa-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%debug_package + +%description +PPA (Printing Performance Architecture) is a closed, proprietary protocol developed by Hewlett Packard for a short-lived series of DeskJet printers. In essence, the PPA protocol moves the low-level processing of the data to the host computer rather than the printer. This allows for a low-cost (to produce) printer with a small amount of memory and computing power. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%config %{_sysconfdir}/pnm2ppa.conf +%{_bindir}/calibrate_ppa +%{_bindir}/pnm2ppa +%{_mandir}/man1/pnm2ppa.1.gz + +%changelog +* Tue Feb 14 2012 Silvan Calarco 1.13-2mamba +- added build requirements + +* Tue Feb 14 2012 Ercole 'ercolinux' Carpanetto 1.13-1mamba +- package created by autospec