source: projects/specs/trunk/t/texmacro-ieej/texmacro-ieej-vl.spec @ 4260

Revision 4260, 1.9 KB checked in by munepi, 13 years ago (diff)

updated spec files of texmacro-his texmacro-ieej texmacro-ieice texmacro-ipsj texmacro-jasj texmacro-jps

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