source: projects/specs/trunk/t/texmacro-jasj/texmacro-jasj-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

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: TeX Live macro packages of writing manuscript for the Journal of the Acoustical Society of Japan
9Summary(ja): TeX Live で使うマクロパッケージ 日本音響学会誌(和文誌)原稿作成用
10Name: texmacro-jasj
11Version: 1.0
12Release: 2%{?_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: texlive-common
19Requires: texlive-common
20Requires(post): texlive
21Requires(postun): texlive
22Buildroot: %{_tmppath}/%{name}-%{version}-root
23
24Distribution: Vine Linux
25Vendor: Project Vine
26
27%description
28TeX Live macro packages of writing manuscript for the
29Journal of the Acoustical Society of Japan.
30Users can use this macro specifying "jasj" class.
31Including
32        jasj.cls
33
34%description -l ja
35日本音響学会誌(和文誌)原稿作成用の TeX Live で用いる追加マクロパッケージです。
36jasj クラスを指定して使用します。
37以下のマクロが含まれています
38        jasj.cls
39
40
41%define jasjsrcdir      latex2e/UNIXEUC
42
43%prep
44%setup -q -c -n %{name}-%{version}/
45
46%build
47
48(cd %jasjsrcdir
49%makepdf readme
50)
51
52%install
53%__rm -rf %{buildroot}
54
55%__mkdir_p %{build_texmf}/ptex/platex/jasj
56%__cp -a %jasjsrcdir/*.cls %{build_texmf}/ptex/platex/jasj
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 %jasjsrcdir/*.{tex,pdf,1st}
72%{texmf}/ptex/platex/jasj
73
74
75%changelog
76* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-2
77- TeX Live 2009
78
79* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-1
80- initial build
Note: See TracBrowser for help on using the repository browser.