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

Revision 521, 1.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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