mftrace-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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.18
  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. * Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.18-1
  44. - update to 1.2.18
  45. * Sat Jan 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.15-1
  46. - new upstream release
  47. * Sun Aug 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.14-3
  48. - TeX Live 2009
  49. * Wed Apr 21 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.14-2
  50. - rebuilt with new environment
  51. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.14-1vl5
  52. - rebuilt with python-2.5.2
  53. - applied new versioning policy
  54. * Sun Jun 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.14-0vl3
  55. - rebuilt for VineSeed
  56. * Mon Jun 04 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.14-0vl2
  57. - add BuildRequires: texinfo (makeinfo is required during package build)
  58. * Tue May 29 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.14-0vl1
  59. - new upstream release.
  60. * Sat Jul 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.6-0vl2
  61. - rebuilt for VineSeed
  62. * Sat Mar 12 2005 Jun NISHII <jun@vinelinux.org> 1.1.6-0vl1
  63. - build on Vine 3.1
  64. * Tue Feb 19 2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
  65. - Initial build.