texmacro-ieej-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. %define exec_texhash [ -x %{_bindir}/texhash ] && %{_bindir}/env - %{_bindir}/texhash 2> /dev/null
  2. %define texmf %{_datadir}/texmf
  3. %define build_texmf %{buildroot}%{texmf}
  4. %define altplatex platex --kanji=euc
  5. %define makepdf(%1) %altplatex %1 && %altplatex %1 && %altplatex %1 && dvipdfmx %1;
  6. Summary: TeX Live macro packages of writing manuscript for the Transaction of The Institute of Electrical Engineers of Japan
  7. Summary(ja): TeX Live で使うマクロパッケージ 電気学会論文誌 原稿作成用
  8. Name: texmacro-ieej
  9. Version: 2.7
  10. Release: 2%{?_dist_release}
  11. BuildArch: noarch
  12. Source0: http://www2.iee.or.jp/ver2/honbu/32-doc-kenq/latex2e.zip
  13. URL: http://www.iee.or.jp/
  14. License: distributable
  15. Group: Applications/Publishing
  16. BuildRequires: texlive-common
  17. Requires: texlive-common
  18. Requires(post): texlive
  19. Requires(postun): texlive
  20. Buildroot: %{_tmppath}/%{name}-%{version}-root
  21. Distribution: Vine Linux
  22. Vendor: Project Vine
  23. %description
  24. TeX Live macro packages of writing manuscript for the
  25. Transaction of The Institute of Electrical Engineers of Japan.
  26. Users can use this macro specifying "ieej" class.
  27. Including
  28. ieej.cls
  29. %description -l ja
  30. 電気学会論文誌 原稿作成用の TeX Live で用いる追加マクロパッケージです。
  31. ieej クラスを指定して使用します。
  32. 以下のマクロが含まれています
  33. ieej.cls
  34. %define ieejsrcdir ieej%{version}/UNIXEUC
  35. %prep
  36. %setup -q -c -n %{name}-%{version}/
  37. %build
  38. (cd %ieejsrcdir
  39. %makepdf readme
  40. )
  41. %install
  42. %__rm -rf %{buildroot}
  43. %__mkdir_p %{build_texmf}/ptex/platex/ieej
  44. %__cp -a %ieejsrcdir/*.cls %{build_texmf}/ptex/platex/ieej
  45. %post
  46. %{exec_texhash}
  47. exit 0
  48. %postun
  49. %{exec_texhash}
  50. exit 0
  51. %clean
  52. %__rm -rf %{buildroot}
  53. %files
  54. %defattr(-,root,root)
  55. %doc %ieejsrcdir/*.{tex,pdf,1st}
  56. %{texmf}/ptex/platex/ieej
  57. %changelog
  58. * Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-2
  59. - TeX Live 2009
  60. * Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.7-1
  61. - initial build