pnm2ppa/pnm2ppa.spec

55 lines
1.7 KiB
RPMSpec
Raw Normal View History

Name: pnm2ppa
Version: 1.13
Release: 3mamba
Summary: pnm2ppa converts from pnm to ppa (a closed HP printing protocol)
Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pnm2ppa.sourceforge.net/
Source: https://downloads.sourceforge.net/project/pnm2ppa/pnm2ppa/%{version}/pnm2ppa-%{version}.tar.gz
Patch0: pnm2ppa-1.13-missing-ppa_syslog_static.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%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.
%debug_package
%prep
%setup -q
%patch0 -p0 -b .missing-ppa_syslog_static
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%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*
%changelog
* Thu Dec 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-3mamba
- rebuilt with fix for aarch64
* Tue Feb 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba
- added build requirements
* Tue Feb 14 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.13-1mamba
- package created by autospec