diff --git a/README.md b/README.md index b0fc74d..279a295 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # xpr +xpr takes as input a window dump file produced by xwd and formats it for output on PostScript printers, the Digital LN03 or LA100, the IBM PP3812 page printer, the HP LaserJet (or other PCL printers), or the HP PaintJet. + +xdpr uses the commands xwd, xpr, and lpr or lp to dump an X window, process it for a particular printer type, and print it out on the printer of your choice. + diff --git a/xpr.spec b/xpr.spec new file mode 100644 index 0000000..bab8d19 --- /dev/null +++ b/xpr.spec @@ -0,0 +1,50 @@ +Name: xpr +Version: 1.0.4 +Release: 1mamba +Summary: xpr applications - printing X window +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://xorg.freedesktop.org/ +Source: http://xorg.freedesktop.org/releases/individual/app/xpr-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXmu-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +xpr takes as input a window dump file produced by xwd and formats it for output on PostScript printers, the Digital LN03 or LA100, the IBM PP3812 page printer, the HP LaserJet (or other PCL printers), or the HP PaintJet. + +xdpr uses the commands xwd, xpr, and lpr or lp to dump an X window, process it for a particular printer type, and print it out on the printer of your choice. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall DESTDIR="%{buildroot}" + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/xdpr +%{_bindir}/%{name} +%{_mandir}/man?/* +%doc COPYING ChangeLog README + +%changelog +* Mon Apr 09 2012 Automatic Build System 1.0.4-1mamba +- automatic version update by autodist + +* Mon Mar 14 2011 Tiziana Ferro 1.0.3-1mamba +- package created by autospec