source: projects/specs/trunk/t/texmacro-jasj/texmacro-jasj-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 Journal of the Acoustical Society of Japan
9Summary(ja): teTeX で使うマクロパッケージ 日本音響学会誌(和文誌)原稿作成用
10Name: texmacro-jasj
11Version: 1.0
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
26Journal of the Acoustical Society of Japan.
27Users can use this macro specifying "jasj" class.
28Including
29        jasj.cls
30
31%description -l ja
32日本音響学会誌(和文誌)原稿作成用の teTeX で用いる追加マクロパッケージです。
33jasj クラスを指定して使用します。
34以下のマクロが含まれています
35        jasj.cls
36
37
38%define jasjsrcdir      latex2e/UNIXEUC
39
40%prep
41%setup -q -c -n %{name}-%{version}/
42
43%build
44
45(cd %jasjsrcdir
46%makepdf readme
47)
48
49%install
50%__rm -rf %{buildroot}
51
52%__mkdir_p %{build_texmf}/ptex/platex/jasj
53%__cp -a %jasjsrcdir/*.cls %{build_texmf}/ptex/platex/jasj
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 %jasjsrcdir/*.{tex,pdf,1st}
69%{texmf}/ptex/platex/jasj
70
71
72%changelog
73* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-1
74- initial build
Note: See TracBrowser for help on using the repository browser.