cvsdist 18fc213
Name: pnm2ppa
57fd1c3
Summary: Drivers for printing to HP PPA printers
dc93b05
Epoch: 1
cvsdist 18fc213
Version: 1.04
9a7b316
Release: 19%{?dist}
cvsdist 18fc213
URL: http://sourceforge.net/projects/pnm2ppa 
cvsdist 18fc213
Source: http://download.sourceforge.net/pnm2ppa/pnm2ppa-%{version}.tar.gz
cvsdist 18fc213
Source1: http://www.httptech.com/ppa/files/ppa-0.8.6.tar.gz
cvsdist 18fc213
Patch2: pbm2ppa-20000205.diff
cvsdist 18fc213
Patch3: pnm2ppa-redhat.patch
57fd1c3
License: GPLv2
cvsdist 18fc213
Group: Applications/Publishing
57fd1c3
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 18fc213
%define topdir pnm2ppa-%{version}
cvsdist 18fc213
cvsdist 18fc213
%description
cvsdist 18fc213
Pnm2ppa is a color driver for HP PPA host-based printers such as the
cvsdist 18fc213
HP710C, 712C, 720C, 722C, 820Cse, 820Cxi, 1000Cse, and 1000Cxi.
cvsdist 18fc213
Pnm2ppa accepts Ghostscript output in PPM format and sends it to the
cvsdist 18fc213
printer in PPA format.
cvsdist 18fc213
cvsdist 18fc213
Install pnm2ppa if you need to print to a PPA printer.
cvsdist 18fc213
cvsdist 18fc213
%prep
cvsdist 18fc213
%setup -q -n %{topdir}
cvsdist 18fc213
cvsdist 18fc213
#pbm2ppa source
9a7b316
%setup -q -T -D -a 1 -n %{topdir}
2ef90b7
%patch2 -p0 -b .20000205
cvsdist 18fc213
%patch3 -p1 -b .rh
cvsdist 18fc213
cvsdist 18fc213
%build
cvsdist 18fc213
make 
cvsdist 18fc213
cd pbm2ppa-0.8.6
cvsdist 18fc213
make
cvsdist 18fc213
cvsdist 18fc213
cvsdist 18fc213
%install
9a7b316
rm -rf $RPM_BUILD_ROOT
9a7b316
install -d $RPM_BUILD_ROOT%{_bindir}
9a7b316
install -d $RPM_BUILD_ROOT%{_sysconfdir}
cvsdist 18fc213
install -d $RPM_BUILD_ROOT%{_mandir}/man1
9a7b316
make INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} CONFDIR=$RPM_BUILD_ROOT%{_sysconfdir} \
cvsdist 18fc213
    MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install 
9a7b316
install -m 0755 utils/Linux/detect_ppa $RPM_BUILD_ROOT%{_bindir}
9a7b316
install -m 0755 utils/Linux/test_ppa $RPM_BUILD_ROOT%{_bindir}
9a7b316
install -m 0755 pbm2ppa-0.8.6/pbm2ppa  $RPM_BUILD_ROOT%{_bindir}
9a7b316
install -m 0755 pbm2ppa-0.8.6/pbmtpg   $RPM_BUILD_ROOT%{_bindir}
9a7b316
install -m 0644 pbm2ppa-0.8.6/pbm2ppa.conf $RPM_BUILD_ROOT%{_sysconfdir}
cvsdist 18fc213
install -m 0644 pbm2ppa-0.8.6/pbm2ppa.1   $RPM_BUILD_ROOT%{_mandir}/man1
cvsdist 18fc213
cvsdist 18fc213
chmod 644 docs/en/LICENSE
cvsdist 18fc213
mkdir -p pbm2ppa
cvsdist 18fc213
for file in CALIBRATION CREDITS INSTALL INSTALL-MORE LICENSE README ; do
cvsdist 18fc213
  install -m 0644 pbm2ppa-0.8.6/$file pbm2ppa/$file
cvsdist 18fc213
done
cvsdist 18fc213
cvsdist 18fc213
%clean
cvsdist 18fc213
rm -rf $RPM_BUILD_ROOT 
cvsdist 18fc213
cvsdist 18fc213
%files 
cvsdist 18fc213
%defattr(-,root,root)
cvsdist 18fc213
%doc docs/en/CREDITS docs/en/INSTALL docs/en/LICENSE docs/en/README
cvsdist 18fc213
%doc docs/en/RELEASE-NOTES docs/en/TODO
cvsdist 18fc213
%doc docs/en/INSTALL.REDHAT.txt docs/en/COLOR.txt docs/en/CALIBRATION.txt
cvsdist 18fc213
%doc docs/en/INSTALL.REDHAT.html docs/en/COLOR.html docs/en/CALIBRATION.html
cvsdist 18fc213
%doc test.ps
cvsdist 18fc213
%doc pbm2ppa
9a7b316
%{_bindir}/pnm2ppa
9a7b316
%{_bindir}/pbm2ppa
9a7b316
%{_bindir}/pbmtpg
9a7b316
%{_bindir}/calibrate_ppa
9a7b316
%{_bindir}/test_ppa
9a7b316
%{_bindir}/detect_ppa
cvsdist 18fc213
%{_mandir}/man1/pnm2ppa.1*
cvsdist 18fc213
%{_mandir}/man1/pbm2ppa.1*
9a7b316
%config(noreplace) %{_sysconfdir}/pnm2ppa.conf
9a7b316
%config(noreplace) %{_sysconfdir}/pbm2ppa.conf
cvsdist 18fc213
cvsdist 18fc213
%changelog
9a7b316
* Fri Mar  5 2010 Tim Waugh <twaugh@redhat.com> - 1:1.04-19
9a7b316
- Consistent use of macros.
9a7b316
- Removed ancient obsoletes tag.
9a7b316
- Clean buildroot in install section not prep section.
9a7b316
- Make setup quiet.
9a7b316
- Use noreplace for config files.
9a7b316
4884af2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.04-18
4884af2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4884af2
7055e01
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.04-17
7055e01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7055e01
2ef90b7
* Wed Sep 24 2008 Tim Waugh <twaugh@redhat.com> 1:1.04-16
2ef90b7
- Removed patch fuzz.
2ef90b7
ca6def0
* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 1:1.04-15
ca6def0
- Rebuild for GCC 4.3.
ca6def0
57fd1c3
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 1:1.04-14
57fd1c3
- Added dist tag.
57fd1c3
- Fixed summary.
57fd1c3
- Better buildroot tag.
57fd1c3
- More specific license tag.
57fd1c3
e76f6cc
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.04-13.2.2
e76f6cc
- rebuild
e76f6cc
8ea95ec
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:1.04-13.2.1
8ea95ec
- bump again for double-long bug on ppc(64)
8ea95ec
ea47c3c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:1.04-13.2
ea47c3c
- rebuilt for new gcc4.1 snapshot and glibc changes
ea47c3c
82a9fe5
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
82a9fe5
- rebuilt
82a9fe5
33585ad
* Wed Mar 16 2005 Tim Waugh <twaugh@redhat.com> 1:1.04-13
33585ad
- Rebuild for new GCC.
33585ad
dc93b05
* Wed Feb  9 2005 Tim Waugh <twaugh@redhat.com> 1:1.04-12
dc93b05
- s/Copyright:/License:/.
dc93b05
- s/Serial:/Epoch:/.
dc93b05
- Rebuilt.
dc93b05
cvsdist eafe5b0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist eafe5b0
- rebuilt
cvsdist eafe5b0
cvsdist d9606b5
* Thu Feb 19 2004 Tim Waugh <twaugh@redhat.com>
cvsdist d9606b5
- rebuilt
cvsdist d9606b5
cvsdist d9606b5
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist d9606b5
- rebuilt
cvsdist d9606b5
cvsdist 9d3d62a
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 9d3d62a
- rebuilt
cvsdist 9d3d62a
cvsdist 18fc213
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 18fc213
- rebuilt
cvsdist 18fc213
cvsdist 18fc213
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
cvsdist 18fc213
- rebuild in current collinst
cvsdist 18fc213
cvsdist 18fc213
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 18fc213
- automated rebuild
cvsdist 18fc213
cvsdist 18fc213
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 18fc213
- automated rebuild
cvsdist 18fc213
cvsdist 18fc213
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 18fc213
- automated rebuild
cvsdist 18fc213
cvsdist 18fc213
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 18fc213
- Bump release + rebuild.
cvsdist 18fc213
cvsdist 18fc213
* Mon Dec 11 2000 Crutcher Dunnavant <crutcher@redhat.com>
cvsdist 18fc213
- Upgrade to 1.04, editied the pbm2ppa patch to add <string.h>
cvsdist 18fc213
- to pbmtpg.c, which uses strmp, edited the redhat patch to
cvsdist 18fc213
- apply cleanly.
cvsdist 18fc213
cvsdist 18fc213
* Thu Aug 16 2000 Bill Nottingham <notting@redhat.com>
cvsdist 18fc213
- tweak summary
cvsdist 18fc213
cvsdist 18fc213
* Thu Aug  3 2000 Bill Nottingham <notting@redhat.com>
cvsdist 18fc213
- build upstream package
cvsdist 18fc213
cvsdist 18fc213
* Tue Jul 11 2000 Duncan Haldane <duncan_haldane@users.sourceforge.net>
cvsdist 18fc213
- updated for 1.0 release.
cvsdist 18fc213
cvsdist 18fc213
* Mon Jul 10 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 18fc213
- remove execute bits from config file and man-page
cvsdist 18fc213
cvsdist 18fc213
* Sun Apr 09 2000 <duncan_haldane@users.sourceforge.net>
cvsdist 18fc213
- added optional updated rhs-printfilter  files
cvsdist 18fc213
cvsdist 18fc213
* Thu Feb 10 2000 Bill Nottingham <notting@redhat.com>
cvsdist 18fc213
- adopt upstream package
cvsdist 18fc213
cvsdist 18fc213
* Sun Feb 6 2000 <duncan_haldane@users.sourceforge.net>
cvsdist 18fc213
- new pnm2ppa release,  and add pbm2ppa driver.
cvsdist 18fc213
cvsdist 18fc213
* Thu Jan 7 2000 <duncan_haldane@users.sourceforge.net>
cvsdist 18fc213
- created rpm
cvsdist 18fc213
cvsdist 18fc213
cvsdist 18fc213