Summary: Drivers for printing to HP PPA printers
Name: pnm2ppa
Version: 1.04
Release: alt1.qa1
Packager: Stanislav Ievlev <inger@altlinux.org>
URL: http://sourceforge.net/projects/pnm2ppa
Source: http://download.sourceforge.net/pnm2ppa/pnm2ppa-%{version}.tar.gz
Patch: pnm2ppa-1.04-rh-build.patch
Patch1: pnm2ppa-1.04-alt-build.patch
License: GPL
Group: Publishing
%description
Pnm2ppa is a color driver for HP PPA host-based printers such as the
HP710C, 712C, 720C, 722C, 820Cse, 820Cxi, 1000Cse, and 1000Cxi.
Pnm2ppa accepts Ghostscript output in PPM format and sends it to the
printer in PPA format.
Install pnm2ppa if you need to print to a PPA printer.
%prep
%setup -q
%patch -p1
%patch1 -p1
%build
%make
%install
%__install -d %buildroot/%_bindir
%__install -d %buildroot/%_sysconfdir
%__install -d %buildroot%_man1dir
make \
INSTALLDIR=%buildroot%_bindir \
CONFDIR=%buildroot/%_sysconfdir \
MANDIR=%buildroot%_man1dir \
install
for i in utils/Linux/*; do
%__install -Dpm 755 $i %buildroot/%_bindir/`basename $i`
done
chmod 644 docs/en/LICENSE
%files
%defattr(-,root,root)
%doc docs/en/* test.ps
%_bindir/*
%_man1dir/*
%config(noreplace) /etc/pnm2ppa.conf
%changelog
* Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.04-alt1.qa1
- NMU: rebuilt for debuginfo.
* Wed Nov 07 2007 Stanislav Ievlev <inger@altlinux.org> 1.04-alt1
- Build as a separate package