mftrace-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Summary: Generate scalable fonts for TeX
  2. Name: mftrace
  3. Version: 1.2.14
  4. Release: 2%{?_dist_release}
  5. URL: http://www.cs.uu.nl/~hanwen/mftrace
  6. Source0: %{name}-%{version}.tar.gz
  7. License: GPL
  8. Group: Applications/Publishing
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Prereq: tetex python potrace t1utils
  11. BuildRequires: python potrace texinfo
  12. %description
  13. Mftrace is a small Python program that lets you trace a @TeX{}
  14. bitmap font into a PFA or PFB font (A PostScript Type1 Scalable Font).
  15. It is licensed under the GNU GPL.
  16. Type1 fonts offer many advantages over bitmaps, as they allow PostScript
  17. files to render correctly on printers with many resolutions. Moreover,
  18. Ghostscript can generate much better PDF, if given scalable fonts.
  19. %prep
  20. %setup -q
  21. %build
  22. ./configure --prefix=%{_prefix}
  23. make
  24. make README.txt
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install
  28. %clean
  29. rm -rf $RPM_BUILD_ROOT
  30. %files
  31. %defattr(-,root,root)
  32. %{_prefix}/bin/gf2pbm
  33. %{_prefix}/bin/mftrace
  34. %{_mandir}/man1/mftrace.1.gz
  35. %{_datadir}/mftrace/afm.pyc
  36. %{_datadir}/mftrace/afm.py
  37. %{_datadir}/mftrace/tfm.pyc
  38. %{_datadir}/mftrace/tfm.py
  39. %doc README.txt
  40. %changelog
  41. * Wed Apr 21 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.14-2
  42. - rebuilt with new environment
  43. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.14-1vl5
  44. - rebuilt with python-2.5.2
  45. - applied new versioning policy
  46. * Sun Jun 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.14-0vl3
  47. - rebuilt for VineSeed
  48. * Mon Jun 04 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.14-0vl2
  49. - add BuildRequires: texinfo (makeinfo is required during package build)
  50. * Wed May 29 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.14-0vl1
  51. - new upstream release.
  52. * Sat Jul 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.6-0vl2
  53. - rebuilt for VineSeed
  54. * Sat Mar 12 2005 Jun NISHII <jun@vinelinux.org> 1.1.6-0vl1
  55. - build on Vine 3.1
  56. * Tue Feb 19 2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
  57. - Initial build.