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

Revision 4260, 3.7 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]8# \ProvidesClass{ipsjpapers}[2010/10/28 ver 3.02]
9%define reldate 20101028
[521]10
[4260]11Summary: TeX Live macro packages of writing manuscript for the Information Processing Society of Japan
12Summary(ja): TeX Live で使うマクロパッケージ 情報処理学会論文原稿作成用
[521]13Name: texmacro-ipsj
[4260]14Version: 3.02
15Release: 1%{?reldate:.%reldate}%{?_dist_release}
[521]16BuildArch: noarch
[4260]17# $ sha1sum ipsj-unix.tgz
18# 951c81020f12d7b43cc65e1ca9c9910b85f3a1cf  ipsj-unix.tgz
[521]19Source0: ftp://ftp.ipsj.or.jp/pub/toukou/ipsj-unix.tgz
20URL: http://www.ipsj.or.jp/08editt/journal/shippitsu/wabun.html
21License: distributable
22Group:  Applications/Publishing
[4260]23BuildRequires: texlive-common
24Requires: texlive-common
25Requires(post): texlive
26Requires(postun): texlive
[521]27Buildroot: %{_tmppath}/%{name}-%{version}-root
28
29Distribution: Vine Linux
30Vendor: Project Vine
31
32%description
[4260]33TeX Live macro packages of writing manuscript for the
[521]34Information Processing Society of Japan.
35Users can use this macro specifying "ipsjpapers" class.
36
37Including
38        ipsjcommon.sty
39        ipsjdrafts.sty
40        ipsjpapers.cls
41        ipsjpapers.sty
42        ipsjsort-e.bst
43        ipsjsort.bst
44        ipsjunsrt-e.bst
45        ipsjunsrt.bst     
46
47%description -l ja
[4260]48情報処理学会論文原稿作成用の TeX Live 追加マクロパッケージです。
[521]49ipsjpapers クラスを指定して使用します。
50
51このパッケージには以下のマクロが含まれています。
52        ipsjcommon.sty
53        ipsjdrafts.sty
54        ipsjpapers.cls
55        ipsjpapers.sty
56        ipsjsort-e.bst
57        ipsjsort.bst
58        ipsjunsrt-e.bst
59        ipsjunsrt.bst     
60
61%prep
62
[4260]63%__rm -rf %{name}-%{version}
64%__mkdir_p %{name}-%{version}
65%__tar -C %{name}-%{version} -xvf %{SOURCE0}
66%setup -D -T -n %{name}-%{version}/ipsj-unix
67
[521]68%build
69for i in sample dsample esample desample ; do
70    %makepdf $i
71done
72
73%__rm -f *.{aux,dvi,log,toc,bbl,blg,end}
74
75%install
76%__rm -rf %{buildroot}
77
78%__mkdir_p %{build_texmf}/ptex/platex/ipsj
79%__mkdir_p %{build_texmf}/bibtex/bst/ipsj
80
[4260]81%__install -p -m644 *.{cls,sty} %{build_texmf}/ptex/platex/ipsj
82%__install -p -m644 *.bst %{build_texmf}/bibtex/bst/ipsj
[521]83
84%post
85%{exec_texhash}
86exit 0
87
88%postun
89%{exec_texhash}
90exit 0
91
92%clean
93%__rm -rf %{buildroot}
94
95%files
96%defattr(-,root,root)
[4260]97%doc *.{tex,bib,pdf}
[521]98%{texmf}/ptex/platex/ipsj
99%{texmf}/bibtex/bst/ipsj
100
101%changelog
[4260]102* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.02-1.20101028
103- update source to ver 3.02 2010/10/28 (ipsjpapers.cls)
104- TeX Live 2009
105
[521]106* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.20090225-1
107- update source to 20090225
108- new versioning policy
109- spec in utf8
110
111* Thu Dec 21 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0.20060418-0vl1
112- update source to 20060418
113- use release date as micro version
114
115* Sat Jun 25 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0-0vl5
116- update source
117- update source-URL
118- docs
119  - compile only with native mode
120  - convert to pdf instead of ps
121
122* Sun Apr 25 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0-0vl4
123- s/Copyright/License/
124- update URL
125- use %%{_bindir} instead of %%{_prefix}/bin
126- use %%{_datadir} instead of %%{_prefix}/share
127- compile {sample,esample}.tex with platex209
128- fix desample2e.tex to include esample.tex (Patch0)
129
130* Thu Jan 30 2003 KAZUKI SHIMURA <rito@pos.to> 1.0-0vl3
131- fix file access permissions
132- use %%{texmf} at %%files instead of /usr/share/texmf
133
134* Sat Jan 18 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.0-0vl2
135- compile docs
136
137* Mon Sep 10 2001 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.0-0vl1
138- first release
Note: See TracBrowser for help on using the repository browser.