Summary: PS-to-EPS converter Name: ps2eps Version: 1.68 Release: 1%{?dist} Source0: http://www.tm.uka.de/~bless/%{name}-%{version}.tar.gz Patch0: ps2eps-1.64-tmpfile.patch License: GPLv2+ URL: http://www.tm.uka.de/~bless/ps2eps Group: Applications/Publishing Requires: ghostscript BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description ps2eps is a tool to produce Encapsulated PostScript Files (EPS/EPSF) from usual one-paged Postscript documents. It calculates correct Bounding Boxes for those EPS files and filters some special postscript command sequences that can produce errorneous results on printers. %prep %setup -q -n %{name} %patch0 -p1 for f in Changes.txt; do mv $f $f.iso88591 iconv -f ISO-8859-1 -t UTF-8 -o $f $f.iso88591 touch -r $f.iso88591 $f rm -f $f.iso88591 done %build %{__cc} %{optflags} -o bbox src/C/bbox.c %install %{__rm} -rf %{buildroot} %{__install} -d %{buildroot}%{_bindir} %{__install} -m 0755 -p bbox %{buildroot}%{_bindir} %{__install} -m 0755 -p bin/ps2eps %{buildroot}%{_bindir} %{__install} -d %{buildroot}%{_mandir}/man1 %{__install} -m 0644 -p doc/man/man1/* %{buildroot}%{_mandir}/man1 %{__rm} -f INSTALL.txt %clean %{__rm} -rf %{buildroot} %files %defattr (-, root, root, -) %doc *.txt doc/html/*.html doc/pdf/*.pdf %{_bindir}/bbox %{_bindir}/%{name} %{_mandir}/man1/bbox.1* %{_mandir}/man1/ps2eps.1* %changelog * Sun Jan 29 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.68-1 - 1.68 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.64-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.64-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 9 2008 Terje Røsten <terjeros@phys.ntnu.no> - 1.64-4 - Rebuild * Sun Aug 19 2007 Terje Røsten <terjeros@phys.ntnu.no> - 1.64-3 - Fix license tag * Sat Jun 2 2007 Terje Røsten <terjeros@phys.ntnu.no> - 1.64-2 - add secure tmpfile patch - don't skip Install.txt - preserve dates on files (where possible) - fix defattr * Sat Jun 2 2007 Terje Røsten <terjeros@phys.ntnu.no> - 1.64-1 - 1.64 - Fix shebang * Thu Oct 14 2004 Terje Røsten <terjeros@phys.ntnu.no> - 1.54 * Sat Mar 6 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp> - initial package