tipa-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %define texmf %{_prefix}/share/texmf
  2. %define build_texmf %{buildroot}%{texmf}
  3. %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash 2> /dev/null
  4. %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap 2> /dev/null
  5. Summary: TIPA (International Phonetic Alphabet for LaTeX)
  6. Summary(ja): TIPA (LaTeX 用の音声記号フォント)
  7. Name: tipa
  8. Version: 1.3
  9. Release: 1%{?_dist_release}
  10. Group: Applications/Publishing
  11. License: LaTeX Project Public License
  12. URL: http://www.l.u-tokyo.ac.jp/~fkr/tipa/
  13. Source: http://www.l.u-tokyo.ac.jp/~fkr/tipa/tipa-1.3.tar.gz
  14. BuildArch: noarch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: tetex
  17. Requires: tetex
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: IKEDA Katsumi <ikeda@webmasters.gr.jp>
  21. %description
  22. TIPA is a system for processing IPA (International Phonetic Alphabet) symbols
  23. in LaTeX. TIPA stands for TeX IPA or Tokyo IPA.
  24. %description -l ja
  25. TIPA は LaTeX で IPA (国際音標文字/発音記号) を処理するためのシステムです。
  26. TIPA という名前は TeX IPA や Tokyo IPA を意味しています。
  27. %prep
  28. %setup -q
  29. %build
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. # Don't mind the error messages about type1/*.afm and mktexlsr.
  33. make PREFIX=%{build_texmf} MAPDIR=%{build_texmf}/fonts/map/dvips install
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %post
  37. %{exec_texhash}
  38. %{exec_updmap} --enable Map tipa.map
  39. exit 0
  40. %postun
  41. if [ "$1" = 0 ]; then
  42. %{exec_texhash}
  43. %{exec_updmap} --disable tipa.map
  44. fi
  45. exit 0
  46. %files
  47. %defattr(-,root,root)
  48. %doc 00README Manifest.txt Makefile doc/
  49. %{texmf}/tex/latex/tipa/
  50. %{texmf}/fonts/source/fkr/tipa/
  51. %{texmf}/fonts/tfm/fkr/tipa/
  52. %{texmf}/fonts/type1/fkr/tipa
  53. %{texmf}/fonts/map/dvips/tipa.map
  54. %changelog
  55. * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 1.3-1vl5
  56. - applied new versioning policy, spec in utf-8
  57. * Sat Sep 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-0vl3
  58. - changed exec_updmap (applyed Tsuchimura-san's patch)
  59. * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-0vl2
  60. - rebuilt for VineSeed (4.0)
  61. * Mon Apr 25 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.3-0vl1
  62. - Initial specfile.