Browse Source

updated spec files of texmacro-his texmacro-ieej texmacro-ieice texmacro-ipsj texmacro-jasj texmacro-jps

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4260 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 12 years ago
parent
commit
6c3fb1491c

+ 14 - 8
t/texmacro-his/texmacro-his-vl.spec

@@ -5,11 +5,11 @@
 %define altplatex	platex --kanji=euc
 %define makepdf(%1)	%altplatex %1 && %altplatex %1 && %altplatex %1 && dvipdfmx %1;
 
-Summary: teTeX macro packages of writing manuscript for the Transactions of Human Interface Society
-Summary(ja): tetex で使うマクロパッケージ ヒューマンインタフェース学会論文原稿作成用
+Summary: TeX Live macro packages of writing manuscript for the Transactions of Human Interface Society
+Summary(ja): TeX Live で使うマクロパッケージ ヒューマンインタフェース学会論文原稿作成用
 Name: texmacro-his
 Version: 1.0
-Release: 3%{?_dist_release}
+Release: 4%{?_dist_release}
 BuildArch: noarch
 Source0: http://www.his.gr.jp/download/paper/latex2e-euc/hisset.tar.gz
 Source1: http://www.his.gr.jp/download/meeting/latex2e-euc/hiskenset2e.tar.gz
@@ -19,8 +19,11 @@ Source2: http://www.his.gr.jp/download/his/latex2e-euc/hissympset.tar.gz
 URL: http://www.his.gr.jp/download/index.html
 License: distributable
 Group:  Applications/Publishing
-BuildPrereq: tetex
-Buildroot: %{_tmppath}/%{name}-root
+BuildRequires: texlive-common
+Requires: texlive-common
+Requires(post): texlive
+Requires(postun): texlive
+Buildroot: %{_tmppath}/%{name}-%{version}-root
 
 Distribution: Vine Linux
 Vendor: Project Vine
@@ -56,7 +59,7 @@ his クラスを指定して使用します。
 %build
 
 (cd hisset
-sed -i s/dviout/dvips/ format.tex
+%__sed -i s/dviout/dvips/ format.tex
 %makepdf format
 )
 (cd hiskenset_2eeuc
@@ -67,7 +70,7 @@ sed -i s/dviout/dvips/ format.tex
 )
 
 %install
-rm -rf %{buildroot}
+%__rm -rf %{buildroot}
 
 #InstallClass(){
 #target=$1; shift
@@ -104,7 +107,7 @@ exit 0
 exit 0
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+%__rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
@@ -112,6 +115,9 @@ rm -rf $RPM_BUILD_ROOT
 %{texmf}/ptex/platex/his/
 
 %changelog 
+* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-4
+- TeX Live 2009
+
 * Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-3
 - source update as his.cls Version 1.0 2006-12-15
 - new versioning policy

+ 12 - 6
t/texmacro-ieej/texmacro-ieej-vl.spec

@@ -5,31 +5,34 @@
 %define altplatex	platex --kanji=euc
 %define makepdf(%1)	%altplatex %1 && %altplatex %1 && %altplatex %1 && dvipdfmx %1;
 
-Summary: teTeX macro packages of writing manuscript for the Transaction of The Institute of Electrical Engineers of Japan
-Summary(ja): teTeX で使うマクロパッケージ 電気学会論文誌 原稿作成用
+Summary: TeX Live macro packages of writing manuscript for the Transaction of The Institute of Electrical Engineers of Japan
+Summary(ja): TeX Live で使うマクロパッケージ 電気学会論文誌 原稿作成用
 Name: texmacro-ieej
 Version: 2.7
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 BuildArch: noarch
 Source0: http://www2.iee.or.jp/ver2/honbu/32-doc-kenq/latex2e.zip
 URL: http://www.iee.or.jp/
 License: distributable
 Group: Applications/Publishing
-BuildRequires: tetex
+BuildRequires: texlive-common
+Requires: texlive-common
+Requires(post): texlive
+Requires(postun): texlive
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 
 Distribution: Vine Linux
 Vendor: Project Vine
 
 %description
-teTeX macro packages of writing manuscript for the 
+TeX Live macro packages of writing manuscript for the 
 Transaction of The Institute of Electrical Engineers of Japan.
 Users can use this macro specifying "ieej" class.
 Including
 	ieej.cls
 
 %description -l ja
-電気学会論文誌 原稿作成用の teTeX で用いる追加マクロパッケージです。
+電気学会論文誌 原稿作成用の TeX Live で用いる追加マクロパッケージです。
 ieej クラスを指定して使用します。
 以下のマクロが含まれています
 	ieej.cls
@@ -70,5 +73,8 @@ exit 0
 
 
 %changelog 
+* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.7-2
+- TeX Live 2009
+
 * Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.7-1
 - initial build

+ 12 - 6
t/texmacro-ieice/texmacro-ieice-vl.spec

@@ -5,25 +5,28 @@
 %define altplatex	platex --kanji=euc
 %define makepdf(%1)	%altplatex %1 && %altplatex %1 && %altplatex %1 && dvipdfmx %1;
 
-Summary: teTeX macro packages of writing manuscript for the Institute of Electronics, Information and Communication Engineers
-Summary(ja): teTeX で使うマクロパッケージ 電子情報通信学会論文原稿、技術研究報告作成用
+Summary: TeX Live macro packages of writing manuscript for the Institute of Electronics, Information and Communication Engineers
+Summary(ja): TeX Live で使うマクロパッケージ 電子情報通信学会論文原稿、技術研究報告作成用
 Name: texmacro-ieice
 Version: 1.5
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 BuildArch: noarch
 Source0: http://www.ieice.org/ftp/tex/ieicej/LaTeX2e/ieicej15.tar.gz
 Source1: http://www.ieice.org/ftp/tex/ieice/LaTeX2e/latex2e.tar.gz
 URL: http://www.ieice.org/ftp/
 License: distributable
 Group: Applications/Publishing
-BuildRequires: tetex
+BuildRequires: texlive-common
+Requires: texlive-common
+Requires(post): texlive
+Requires(postun): texlive
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 
 Distribution: Vine Linux
 Vendor: Project Vine
 
 %description
-teTeX macro packages of writing manuscript for the 
+TeX Live macro packages of writing manuscript for the 
 Institute of Electronics, Information and Communication Engineers.
 Users can use this macro specifying "ieicej" class (in Japanese) 
 or "ieice" class (in English).
@@ -33,7 +36,7 @@ Including
 
 %description -l ja
 電子情報通信学会の技術研究報告(研究会発表論文)和・英論文誌 原稿作成用
-の teTeX で用いる追加マクロパッケージです。
+の TeX Live で用いる追加マクロパッケージです。
 和文は ieicej クラスを、英文は ieice クラスを指定します。
 以下のマクロが含まれています
 	ieice.cls
@@ -123,6 +126,9 @@ rm -rf %{buildroot}
 
 
 %changelog 
+* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.5-2
+- TeX Live 2009
+
 * Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5-1
 - update sources
 - new versioning policy

+ 26 - 20
t/texmacro-ipsj/texmacro-ipsj-vl.spec

@@ -5,27 +5,32 @@
 %define altplatex	platex --kanji=euc
 %define makepdf(%1)	%altplatex %1 && %altplatex %1 && %altplatex %1 && dvipdfmx %1;
 
-%define reldate 20090225
+# \ProvidesClass{ipsjpapers}[2010/10/28 ver 3.02]
+%define reldate 20101028
 
-Summary: teTeX macro packages of writing manuscript for the Information Processing Society of Japan
-Summary(ja): teTeX で使うマクロパッケージ 情報処理学会論文原稿作成用
+Summary: TeX Live macro packages of writing manuscript for the Information Processing Society of Japan
+Summary(ja): TeX Live で使うマクロパッケージ 情報処理学会論文原稿作成用
 Name: texmacro-ipsj
-Version: 1.0.%{reldate}
-Release: 1%{?_dist_release}
+Version: 3.02
+Release: 1%{?reldate:.%reldate}%{?_dist_release}
 BuildArch: noarch
-#Source0: ftp://ftp.ipsj.or.jp/pub/toukou/ipsj-sty-unix.tgz
+# $ sha1sum ipsj-unix.tgz
+# 951c81020f12d7b43cc65e1ca9c9910b85f3a1cf  ipsj-unix.tgz
 Source0: ftp://ftp.ipsj.or.jp/pub/toukou/ipsj-unix.tgz
 URL: http://www.ipsj.or.jp/08editt/journal/shippitsu/wabun.html
 License: distributable
 Group:  Applications/Publishing
-BuildPrereq: tetex
+BuildRequires: texlive-common
+Requires: texlive-common
+Requires(post): texlive
+Requires(postun): texlive
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 
 Distribution: Vine Linux
 Vendor: Project Vine
 
 %description
-teTeX macro packages of writing manuscript for the
+TeX Live macro packages of writing manuscript for the
 Information Processing Society of Japan.
 Users can use this macro specifying "ipsjpapers" class.
 
@@ -40,7 +45,7 @@ Including
 	ipsjunsrt.bst      
 
 %description -l ja
-情報処理学会論文原稿作成用の teTeX 追加マクロパッケージです。
+情報処理学会論文原稿作成用の TeX Live 追加マクロパッケージです。
 ipsjpapers クラスを指定して使用します。
 
 このパッケージには以下のマクロが含まれています。
@@ -54,30 +59,27 @@ ipsjpapers クラスを指定して使用します。
 	ipsjunsrt.bst      
 
 %prep
-%setup -q -c -n %{name}-%{version}/
 
-%build
-
-pushd ipsj_UNIX
+%__rm -rf %{name}-%{version}
+%__mkdir_p %{name}-%{version}
+%__tar -C %{name}-%{version} -xvf %{SOURCE0}
+%setup -D -T -n %{name}-%{version}/ipsj-unix
 
+%build
 for i in sample dsample esample desample ; do 
     %makepdf $i
 done
 
-popd
-
 %__rm -f *.{aux,dvi,log,toc,bbl,blg,end}
 
-cd -
-
 %install
 %__rm -rf %{buildroot}
 
 %__mkdir_p %{build_texmf}/ptex/platex/ipsj
 %__mkdir_p %{build_texmf}/bibtex/bst/ipsj
 
-%__install -p -m644 ipsj_UNIX/*.{cls,sty} %{build_texmf}/ptex/platex/ipsj
-%__install -p -m644 ipsj_UNIX/*.bst %{build_texmf}/bibtex/bst/ipsj
+%__install -p -m644 *.{cls,sty} %{build_texmf}/ptex/platex/ipsj
+%__install -p -m644 *.bst %{build_texmf}/bibtex/bst/ipsj
 
 %post
 %{exec_texhash}
@@ -92,11 +94,15 @@ exit 0
 
 %files
 %defattr(-,root,root)
-%doc ipsj_UNIX/README ipsj_UNIX/*.{tex,bib,pdf}
+%doc *.{tex,bib,pdf}
 %{texmf}/ptex/platex/ipsj
 %{texmf}/bibtex/bst/ipsj
 
 %changelog
+* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.02-1.20101028
+- update source to ver 3.02 2010/10/28 (ipsjpapers.cls)
+- TeX Live 2009
+
 * Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.20090225-1
 - update source to 20090225
 - new versioning policy

+ 12 - 6
t/texmacro-jasj/texmacro-jasj-vl.spec

@@ -5,31 +5,34 @@
 %define altplatex	platex --kanji=euc
 %define makepdf(%1)	%altplatex %1 && %altplatex %1 && %altplatex %1 && dvipdfmx %1;
 
-Summary: teTeX macro packages of writing manuscript for the Journal of the Acoustical Society of Japan
-Summary(ja): teTeX で使うマクロパッケージ 日本音響学会誌(和文誌)原稿作成用
+Summary: TeX Live macro packages of writing manuscript for the Journal of the Acoustical Society of Japan
+Summary(ja): TeX Live で使うマクロパッケージ 日本音響学会誌(和文誌)原稿作成用
 Name: texmacro-jasj
 Version: 1.0
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 BuildArch: noarch
 Source0: http://www2.iee.or.jp/ver2/honbu/32-doc-kenq/latex2e.zip
 URL: http://www.iee.or.jp/
 License: distributable
 Group: Applications/Publishing
-BuildRequires: tetex
+BuildRequires: texlive-common
+Requires: texlive-common
+Requires(post): texlive
+Requires(postun): texlive
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 
 Distribution: Vine Linux
 Vendor: Project Vine
 
 %description
-teTeX macro packages of writing manuscript for the 
+TeX Live macro packages of writing manuscript for the 
 Journal of the Acoustical Society of Japan.
 Users can use this macro specifying "jasj" class.
 Including
 	jasj.cls
 
 %description -l ja
-日本音響学会誌(和文誌)原稿作成用の teTeX で用いる追加マクロパッケージです。
+日本音響学会誌(和文誌)原稿作成用の TeX Live で用いる追加マクロパッケージです。
 jasj クラスを指定して使用します。
 以下のマクロが含まれています
 	jasj.cls
@@ -70,5 +73,8 @@ exit 0
 
 
 %changelog 
+* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0-2
+- TeX Live 2009
+
 * Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0-1
 - initial build

+ 12 - 6
t/texmacro-jps/texmacro-jps-vl.spec

@@ -4,24 +4,27 @@
 
 %define makepdf(%1)	latex %1 && latex %1 && latex %1 && dvipdfm %1;
 
-Summary: teTeX macro packages of writing manuscript for the journal of BUTSURI (the Journal of the Physical Society of Japan)
-Summary(ja): tetex で使うマクロパッケージ 日本物理学会論文原稿作成用
+Summary: TeX Live macro packages of writing manuscript for the journal of BUTSURI (the Journal of the Physical Society of Japan)
+Summary(ja): TeX Live で使うマクロパッケージ 日本物理学会論文原稿作成用
 Name: texmacro-jps
 Version: 1.2.0
-Release: 3%{?_dist_release}
+Release: 4%{?_dist_release}
 BuildArch: noarch
 Source0: http://wwwsoc.nii.ac.jp/jps/jpsj/style/jpsj2.tar.gz
 URL: http://wwwsoc.nii.ac.jp/jps/jps/topics/j_move.html
 License: The Institue of Pure and Applied Physics
 Group:  Applications/Publishing
-BuildPrereq: tetex
+BuildRequires: texlive-common
+Requires: texlive-common
+Requires(post): texlive
+Requires(postun): texlive
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 
 Distribution: Vine Linux
 Vendor: Project Vine
 
 %description
-teTeX macro packages of writing manuscript for the journal of BUTSURI 
+TeX Live macro packages of writing manuscript for the journal of BUTSURI 
 (the Journal of the Physical Society of Japan)
 Users can use this macro specifying jpsj2 class.
 Including
@@ -29,7 +32,7 @@ Including
 
 
 %description -l ja
-日本物理学会誌論文原稿作成用の tetex で用いる追加マクロパッケージです.
+日本物理学会誌論文原稿作成用の TeX Live で用いる追加マクロパッケージです.
 jpsj2 クラスを指定してしようします。
 以下のマクロが含まれています。
 	jpsj2.cls : Version 1.2 (May 8, 2003)
@@ -97,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT
 %{texmf}/tex/latex/jpsj2/
 
 %changelog 
+* Sun Jul 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.0-4
+- TeX Live 2009
+
 * Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.0-3
 - new versioning policy
 - spec in utf8