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

Revision 4260, 3.5 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 %{_prefix}/bin/texhash ] && /usr/bin/env - %{_prefix}/bin/texhash 2> /dev/null
2%define texmf           %{_prefix}/share/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 Transactions of Human Interface Society
9Summary(ja): TeX Live で使うマクロパッケージ ヒューマンインタフェース学会論文原稿作成用
10Name: texmacro-his
11Version: 1.0
12Release: 4%{?_dist_release}
13BuildArch: noarch
14Source0: http://www.his.gr.jp/download/paper/latex2e-euc/hisset.tar.gz
15Source1: http://www.his.gr.jp/download/meeting/latex2e-euc/hiskenset2e.tar.gz
16# hissympset.gz は hissympset.tar.gz にリネームしてあります.
17# Source2: http://www.his.gr.jp/download/his/latex2e-euc/hissympset.gz
18Source2: http://www.his.gr.jp/download/his/latex2e-euc/hissympset.tar.gz
19URL: http://www.his.gr.jp/download/index.html
20License: distributable
21Group:  Applications/Publishing
22BuildRequires: texlive-common
23Requires: texlive-common
24Requires(post): texlive
25Requires(postun): texlive
26Buildroot: %{_tmppath}/%{name}-%{version}-root
27
28Distribution: Vine Linux
29Vendor: Project Vine
30
31%description
32teTeX macro packages of writing manuscript for the journal of
33the Transactions of Human Interface Society
34Users can use this macro specifying "his" class (in Japanese)
35or "ehis"  class (in English).
36Including the following class files:
37        his.cls
38        ehis.cls
39        hisken.cls
40        ehisken.cls
41        hissymp.cls
42        ehissymp.cls
43
44%description -l ja
45ヒューマンインタフェース学会論文原稿作成用の tetex で用いる追加マクロパッケージです.
46his クラスを指定して使用します。
47英文は ehis クラスを指定します。
48以下のクラスファイルが含まれています。
49        his.cls
50        ehis.cls
51        hisken.cls
52        ehisken.cls
53        hissymp.cls
54        ehissymp.cls
55
56%prep
57%setup -q -c -n %{name}-%{version} -a 1 -a 2
58
59%build
60
61(cd hisset
62%__sed -i s/dviout/dvips/ format.tex
63%makepdf format
64)
65(cd hiskenset_2eeuc
66%makepdf ken
67)
68(cd hissympset_euc
69%makepdf symptebiki
70)
71
72%install
73%__rm -rf %{buildroot}
74
75#InstallClass(){
76#target=$1; shift
77#(cd $target
78#bzip2 -dc ${RPM_SOURCE_DIR}/$target.tar.bz2 | tar xf - -C %{build_texmf}/packages/
79#rm %{build_texmf}/packages/$target/*.{ins,def,bst,rtx,sty,cls,ltx,fnt,cyr,fdd} || :
80#if [ -f src/$target.ins ]; then
81#    cp src/* .
82#fi
83#latex $target.ins
84#mkdir -p %{build_texmf}/tex/latex/$target
85#cp *.{ldf,sty,def,cls,rtx} %{build_texmf}/tex/latex/$target || :
86#if [ ! -z "$*" ]; then
87#    cp -d $* %{build_texmf}/tex/latex/$target || :
88#fi
89#if [ -n "`ls *.bst`" ]; then
90#    mkdir -p %{build_texmf}/bibtex/bst/$target
91#    cp *.bst %{build_texmf}/bibtex/bst/$target || :
92#fi
93#)
94#}
95#
96#mkdir -p %{build_texmf}/packages/
97
98%__mkdir_p %{build_texmf}/ptex/platex/his
99%__cp -af */*.cls %{build_texmf}/ptex/platex/his/
100
101%post
102%{exec_texhash}
103exit 0
104
105%postun
106%{exec_texhash}
107exit 0
108
109%clean
110%__rm -rf $RPM_BUILD_ROOT
111
112%files
113%defattr(-,root,root)
114%doc */*.{tex,pdf} hisset/fig1.* hissympset_euc/fig1.bb
115%{texmf}/ptex/platex/his/
116
117%changelog
118* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-4
119- TeX Live 2009
120
121* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-3
122- source update as his.cls Version 1.0 2006-12-15
123- new versioning policy
124- spec in utf8
125- s/Copyright/License/
126
127* Sat Jan 18 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.0-0vl2
128- update as of 2002.12.6
129
130* Mon Sep 10 2001 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.0-0vl1
131- first release
Note: See TracBrowser for help on using the repository browser.