mftrace-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Summary: Utility for converting TeX bitmap fonts to Type 1 or TrueType fonts
  2. Summary(ja): TeXビットマップフォントからType 1やTrueTypeフォントへ変換するユーティリティ
  3. Name: mftrace
  4. Version: 1.2.15
  5. Release: 1%{?_dist_release}
  6. URL: http://lilypond.org/mftrace/
  7. Source0: http://lilypond.org/download/sources/mftrace/%{name}-%{version}.tar.gz
  8. License: GPLv2
  9. Group: Applications/Publishing
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Requires: texlive-common python potrace t1utils fontforge
  12. BuildRequires: python potrace texinfo
  13. %description
  14. mftrace is a small Python program that lets you trace a TeX bitmap
  15. font into a PFA or PFB font (A PostScript Type1 Scalable Font) or TTF
  16. (TrueType) font.
  17. Scalable fonts offer many advantages over bitmaps, as they allow
  18. documents to render correctly at many printer resolutions. Moreover,
  19. Ghostscript can generate much better PDF, if given scalable PostScript
  20. fonts.
  21. %prep
  22. %setup -q
  23. %__sed -i -e "s/-Wall -O2/$RPM_OPT_FLAGS/" GNUmakefile.in
  24. %build
  25. %configure
  26. %__make %{?_smp_mflags}
  27. %install
  28. %__rm -rf $RPM_BUILD_ROOT
  29. %__make install DESTDIR=$RPM_BUILD_ROOT
  30. %clean
  31. %__rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc README.txt ChangeLog
  35. %{_prefix}/bin/gf2pbm
  36. %{_prefix}/bin/mftrace
  37. %{_mandir}/man1/mftrace.1.gz
  38. %{_datadir}/mftrace/afm.pyc
  39. %{_datadir}/mftrace/afm.py
  40. %{_datadir}/mftrace/tfm.pyc
  41. %{_datadir}/mftrace/tfm.py
  42. %changelog
  43. * Sat Jan 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.15-1
  44. - new upstream release
  45. * Sun Aug 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.14-3
  46. - TeX Live 2009
  47. * Wed Apr 21 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.14-2
  48. - rebuilt with new environment
  49. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.14-1vl5
  50. - rebuilt with python-2.5.2
  51. - applied new versioning policy
  52. * Sun Jun 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.14-0vl3
  53. - rebuilt for VineSeed
  54. * Mon Jun 04 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.14-0vl2
  55. - add BuildRequires: texinfo (makeinfo is required during package build)
  56. * Wed May 29 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.14-0vl1
  57. - new upstream release.
  58. * Sat Jul 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.6-0vl2
  59. - rebuilt for VineSeed
  60. * Sat Mar 12 2005 Jun NISHII <jun@vinelinux.org> 1.1.6-0vl1
  61. - build on Vine 3.1
  62. * Tue Feb 19 2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
  63. - Initial build.