source: projects/specs/trunk/t/texmacro-ieice/texmacro-ieice-vl.spec @ 10311

Revision 10311, 3.6 KB checked in by munepi, 8 years ago (diff)

new upstream release

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