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

Revision 4260, 3.2 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 makepdf(%1)     latex %1 && latex %1 && latex %1 && dvipdfm %1;
6
7Summary: TeX Live macro packages of writing manuscript for the journal of BUTSURI (the Journal of the Physical Society of Japan)
8Summary(ja): TeX Live で使うマクロパッケージ 日本物理学会論文原稿作成用
9Name: texmacro-jps
10Version: 1.2.0
11Release: 4%{?_dist_release}
12BuildArch: noarch
13Source0: http://wwwsoc.nii.ac.jp/jps/jpsj/style/jpsj2.tar.gz
14URL: http://wwwsoc.nii.ac.jp/jps/jps/topics/j_move.html
15License: The Institue of Pure and Applied Physics
16Group:  Applications/Publishing
17BuildRequires: texlive-common
18Requires: texlive-common
19Requires(post): texlive
20Requires(postun): texlive
21Buildroot: %{_tmppath}/%{name}-%{version}-root
22
23Distribution: Vine Linux
24Vendor: Project Vine
25
26%description
27TeX Live macro packages of writing manuscript for the journal of BUTSURI
28(the Journal of the Physical Society of Japan)
29Users can use this macro specifying jpsj2 class.
30Including
31        jpsj2.cls : Version 1.2 (May 8, 2003)
32
33
34%description -l ja
35日本物理学会誌論文原稿作成用の TeX Live で用いる追加マクロパッケージです.
36jpsj2 クラスを指定してしようします。
37以下のマクロが含まれています。
38        jpsj2.cls : Version 1.2 (May 8, 2003)
39
40%prep
41%setup -q -c -n %{name}-%{version}
42
43%build
44
45# latex injpsj2
46# latex injpsj2
47# for i in *.dvi
48# do
49#   dvips $i
50# done
51%makepdf injpsj2
52
53mv template.tex template.bak
54nkf -d template.bak > template.tex
55
56%install
57rm -rf %{buildroot}
58
59#InstallClass(){
60#target=$1; shift
61#(cd $target
62#bzip2 -dc ${RPM_SOURCE_DIR}/$target.tar.bz2 | tar xf - -C %{build_texmf}/packages/
63#rm %{build_texmf}/packages/$target/*.{ins,def,bst,rtx,sty,cls,ltx,fnt,cyr,fdd} || :
64#if [ -f src/$target.ins ]; then
65#    cp src/* .
66#fi
67#latex $target.ins
68#mkdir -p %{build_texmf}/tex/latex/$target
69#cp *.{ldf,sty,def,cls,rtx} %{build_texmf}/tex/latex/$target || :
70#if [ ! -z "$*" ]; then
71#    cp -d $* %{build_texmf}/tex/latex/$target || :
72#fi
73#if [ -n "`ls *.bst`" ]; then
74#    mkdir -p %{build_texmf}/bibtex/bst/$target
75#    cp *.bst %{build_texmf}/bibtex/bst/$target || :
76#fi
77#)
78#}
79#
80#mkdir -p %{build_texmf}/packages/
81
82mkdir -p %{build_texmf}/tex/latex/jpsj2
83mv *.cls %{build_texmf}/tex/latex/jpsj2
84
85
86%post
87%{exec_texhash}
88exit 0
89
90%postun
91%{exec_texhash}
92exit 0
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%files
98%defattr(-,root,root)
99%doc *.{tex,pdf,txt} dummy.eps
100%{texmf}/tex/latex/jpsj2/
101
102%changelog
103* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.0-4
104- TeX Live 2009
105
106* Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.0-3
107- new versioning policy
108- spec in utf8
109- created injpsj2.pdf
110
111* Fri Aug  4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-0vl2
112- s/Copyright/License/
113
114* Wed May 25 2005 Masaki Kawamura <kawamura@is.sci.yamaguchi-u.ac.jp> 1.2
115- update to 1.2
116
117* Sat Jan 18 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1.1-0vl2
118- update jpsj2.tar.gz
119
120* Thu Jul 18 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1.1-0vl1
121- update to 1.1.1
122
123* Mon Sep 10 2001 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.0-0vl1
124- first release
Note: See TracBrowser for help on using the repository browser.