texmacro-ieice-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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=utf8
  5. %define makepdf(%1) %altplatex %1 && %altplatex %1 && %altplatex %1 && dvipdfmx %1;
  6. Summary: TeX Live macro packages of writing manuscript for the Institute of Electronics, Information and Communication Engineers
  7. Summary(ja): TeX Live で使うマクロパッケージ 電子情報通信学会論文原稿、技術研究報告作成用
  8. Name: texmacro-ieice
  9. Version: 2.2
  10. Release: 1%{?_dist_release}
  11. BuildArch: noarch
  12. Source0: http://www.ieice.org/ftp/tex/ieicej/LaTeX2e/ieicej-v3.0.zip
  13. Source1: http://www.ieice.org/ftp/tex/ieice/LaTeX2e/ieice2.2.zip
  14. URL: http://www.ieice.org/ftp/tex/
  15. License: distributable
  16. Group: Applications/Publishing
  17. BuildRequires: texlive-common
  18. Requires: texlive-common
  19. Requires(post): texlive
  20. Requires(postun): texlive
  21. Buildroot: %{_tmppath}/%{name}-%{version}-root
  22. Distribution: Vine Linux
  23. Vendor: Project Vine
  24. %description
  25. TeX Live macro packages of writing manuscript for the
  26. Institute of Electronics, Information and Communication Engineers.
  27. Users can use this macro specifying "ieicej" class (in Japanese)
  28. or "ieice" class (in English).
  29. Including
  30. ieice.cls 2.2
  31. ieicej.cls 3.0
  32. %description -l ja
  33. 電子情報通信学会の技術研究報告(研究会発表論文)和・英論文誌 原稿作成用
  34. の TeX Live で用いる追加マクロパッケージです。
  35. 和文は ieicej クラスを、英文は ieice クラスを指定します。
  36. 以下のマクロが含まれています
  37. ieice.cls 2.2
  38. ieicej.cls 3.0
  39. %prep
  40. %setup -T -c %{name}-%{version}
  41. unzip %{SOURCE0}
  42. %__mv ieicej-v3.0/UTF jp
  43. %__mv ieicej-v3.0/*.pdf jp/
  44. %__rm -rf ieicej-v3.0
  45. %__mv jp ieicej-v3.0
  46. unzip %{SOURCE1}
  47. %__mv ieice2.2/UTF en
  48. %__mv ieice2.2/*.pdf en/
  49. %__rm -rf ieice2.2
  50. %__mv en ieice2.2
  51. %build
  52. %install
  53. %__rm -rf %{buildroot}
  54. %__mkdir_p %{build_texmf}/ptex/platex/ieice
  55. %__cp -a */*.cls %{build_texmf}/ptex/platex/ieice
  56. %__mkdir_p %{build_texmf}/bibtex/bst/ieice
  57. %__cp -a */*.bst %{build_texmf}/bibtex/bst/ieice
  58. %post
  59. %{exec_texhash}
  60. exit 0
  61. %postun
  62. %{exec_texhash}
  63. exit 0
  64. %clean
  65. %__rm -rf %{buildroot}
  66. %files
  67. %defattr(-,root,root)
  68. %doc ieice2.2/ ieicej-v3.0/
  69. %{texmf}/ptex/platex/ieice
  70. %{texmf}/bibtex/bst/ieice
  71. %changelog
  72. * Sun May 22 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2.2-1
  73. - merged <BTS:0003017>: Thanks to Masaki Kawamura
  74. * Fri Apr 8 2016 Masaki Kawamura <kawamura@is.sci.yamaguchi-u.ac.jp> 2.2-1
  75. - update source: ieicej-v3.0.zip ieice2.2.zip
  76. * Thu Jun 7 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.6-1
  77. - merged the following changes <BTS:wishes:307>;
  78. Thanks to Masaki Kawamura <kawamura@is.sci.yamaguchi-u.ac.jp>
  79. - update sources: ieicej1.6a.tgz and ieice1.8.tgz
  80. - convert EUC to UTF8 for ieicej.cls
  81. * Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.5-2
  82. - TeX Live 2009
  83. * Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5-1
  84. - update sources
  85. - new versioning policy
  86. - spec in utf8
  87. * Tue Apr 27 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1
  88. - update sources
  89. - drop tech_2e_euc.tgz
  90. - drop BuildRequires: nkf
  91. - install ieicetr.bst
  92. - s/Copyright/License/
  93. - use %%{_bindir} instead of %%{_prefix}/bin
  94. - use %%{_datadir} instead of %%{_prefix}/share
  95. * Thu Jan 30 2003 KAZUKI SHIMURA <rito@pos.to> 1.1-0vl2
  96. - fix file access permissions
  97. - use %%{texmf} at %%files instead of /usr/share/texmf
  98. * Sat Jan 18 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1-0vl1
  99. - update Source2
  100. * Mon Sep 10 2001 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.0-0vl1
  101. - first release