hevea-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Summary: LaTeX to html translator
  2. Summary(ja): LaTeXをHTMLに変換
  3. Name: hevea
  4. Version: 1.08
  5. Release: 2%{?_dist_release}
  6. License: Q Public License
  7. Group: Applications/Publishing
  8. URL: http://para.inria.fr/~maranget/hevea/
  9. Source: %{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  14. BuildRequires: ocaml texlive
  15. Requires: texlive ghostscript
  16. %define _latexheveadir %{_datadir}/texmf/tex/latex/%{name}
  17. %description
  18. HEVEA is a LaTeX to HTML translator. The input language is a fairly
  19. complete subset of LaTeX2e (old LaTeX style is also accepted) and the
  20. output language is HTML that is (hopefully) correct with respect to
  21. version 4.0 (transitional).
  22. %description -l ja
  23. HEVEA は LaTeX を HTML に変換するプログラムです.
  24. HTML 4.0 (transitional) に変換します.
  25. %prep
  26. %setup -q
  27. %build
  28. %{__make} \
  29. TARGET=opt \
  30. LIBDIR=%{_datadir}/%{name} \
  31. BINDIR=%{_bindir}
  32. %install
  33. %makeinstall PREFIX=$RPM_BUILD_ROOT/usr
  34. %{__install} -d $RPM_BUILD_ROOT%{_latexheveadir}
  35. #%{__mv} -f $RPM_BUILD_ROOT%{_libdir}/%{name}/%{name}.sty $RPM_BUILD_ROOT%{_latexheveadir}
  36. %{__mv} -f $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/%{name}.sty $RPM_BUILD_ROOT%{_latexheveadir}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %post -p %{_bindir}/texhash
  40. %postun -p %{_bindir}/texhash
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc CHANGES README LICENSE
  44. %{_bindir}/*
  45. #%{_libdir}/%{name}/*
  46. %{_prefix}/lib/%{name}/*
  47. %{_latexheveadir}/*.sty
  48. %changelog
  49. * Sun Aug 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.08-2
  50. - TeX Live 2009
  51. * Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 1.08-1vl5
  52. - applied new versioning policy, spec in utf-8
  53. - fixed scripts about library path
  54. * Thu Aug 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com>
  55. - rebuilt for VineSeed (4.0)
  56. * Thu May 19 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  57. - Updated to 1.08 with much modification of spec
  58. * Tue Feb 15 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  59. - Initial package for VineLinux 3.0