%define exec_texhash [ -x %{_bindir}/texhash ] && %{_bindir}/env - %{_bindir}/texhash 2> /dev/null %define texmf %{_datadir}/texmf %define build_texmf %{buildroot}%{texmf} %define altplatex platex --kanji=utf8 %define makepdf(%1) %altplatex %1 && %altplatex %1 && %altplatex %1 && dvipdfmx %1; Summary: TeX Live macro packages of writing manuscript for the Institute of Electronics, Information and Communication Engineers Summary(ja): TeX Live で使うマクロパッケージ 電子情報通信学会論文原稿、技術研究報告作成用 Name: texmacro-ieice Version: 2.2 Release: 1%{?_dist_release} BuildArch: noarch Source0: http://www.ieice.org/ftp/tex/ieicej/LaTeX2e/ieicej-v3.0.zip Source1: http://www.ieice.org/ftp/tex/ieice/LaTeX2e/ieice2.2.zip URL: http://www.ieice.org/ftp/tex/ License: distributable Group: Applications/Publishing BuildRequires: texlive-common Requires: texlive-common Requires(post): texlive Requires(postun): texlive Buildroot: %{_tmppath}/%{name}-%{version}-root Distribution: Vine Linux Vendor: Project Vine %description TeX Live macro packages of writing manuscript for the Institute of Electronics, Information and Communication Engineers. Users can use this macro specifying "ieicej" class (in Japanese) or "ieice" class (in English). Including ieice.cls 2.2 ieicej.cls 3.0 %description -l ja 電子情報通信学会の技術研究報告(研究会発表論文)和・英論文誌 原稿作成用 の TeX Live で用いる追加マクロパッケージです。 和文は ieicej クラスを、英文は ieice クラスを指定します。 以下のマクロが含まれています ieice.cls 2.2 ieicej.cls 3.0 %prep %setup -T -c %{name}-%{version} unzip %{SOURCE0} %__mv ieicej-v3.0/UTF jp %__mv ieicej-v3.0/*.pdf jp/ %__rm -rf ieicej-v3.0 %__mv jp ieicej-v3.0 unzip %{SOURCE1} %__mv ieice2.2/UTF en %__mv ieice2.2/*.pdf en/ %__rm -rf ieice2.2 %__mv en ieice2.2 %build %install %__rm -rf %{buildroot} %__mkdir_p %{build_texmf}/ptex/platex/ieice %__cp -a */*.cls %{build_texmf}/ptex/platex/ieice %__mkdir_p %{build_texmf}/bibtex/bst/ieice %__cp -a */*.bst %{build_texmf}/bibtex/bst/ieice %post %{exec_texhash} exit 0 %postun %{exec_texhash} exit 0 %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc ieice2.2/ ieicej-v3.0/ %{texmf}/ptex/platex/ieice %{texmf}/bibtex/bst/ieice %changelog * Sun May 22 2016 Munehiro Yamamoto 2.2-1 - merged : Thanks to Masaki Kawamura * Fri Apr 8 2016 Masaki Kawamura 2.2-1 - update source: ieicej-v3.0.zip ieice2.2.zip * Thu Jun 7 2012 Munehiro Yamamoto 1.6-1 - merged the following changes ; Thanks to Masaki Kawamura - update sources: ieicej1.6a.tgz and ieice1.8.tgz - convert EUC to UTF8 for ieicej.cls * Sun Jul 03 2011 Munehiro Yamamoto 1.5-2 - TeX Live 2009 * Sun Mar 29 2009 Munehiro Yamamoto 1.5-1 - update sources - new versioning policy - spec in utf8 * Tue Apr 27 2004 KAZUKI SHIMURA 1.3-0vl1 - update sources - drop tech_2e_euc.tgz - drop BuildRequires: nkf - install ieicetr.bst - s/Copyright/License/ - use %%{_bindir} instead of %%{_prefix}/bin - use %%{_datadir} instead of %%{_prefix}/share * Thu Jan 30 2003 KAZUKI SHIMURA 1.1-0vl2 - fix file access permissions - use %%{texmf} at %%files instead of /usr/share/texmf * Sat Jan 18 2003 KOBAYASHI R. Taizo 1.1-0vl1 - update Source2 * Mon Sep 10 2001 KOBAYASHI R. Taizo 1.0-0vl1 - first release