Browse Source

new upstream release

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10311 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 6 years ago
parent
commit
1aa788dd69
1 changed files with 24 additions and 42 deletions
  1. 24 42
      t/texmacro-ieice/texmacro-ieice-vl.spec

+ 24 - 42
t/texmacro-ieice/texmacro-ieice-vl.spec

@@ -8,12 +8,12 @@
 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.6
+Version: 2.2
 Release: 1%{?_dist_release}
 BuildArch: noarch
-Source0: http://www.ieice.org/ftp/tex/ieicej/LaTeX2e/ieicej1.6a.tgz
-Source1: http://www.ieice.org/ftp/tex/ieice/LaTeX2e/ieice1.8.tgz
-URL: http://www.ieice.org/ftp/
+Source0: http://www.ieice.org/ftp/tex/ieicej/LaTeX2e/ieicej-v3.0.zip
+Source1: http://www.ieice.org/ftp/tex/ieice/LaTeX2e/ieice2.2.zip
+URL: http://www.ieice.org/ftp/tex/
 License: distributable
 Group: Applications/Publishing
 BuildRequires: texlive-common
@@ -31,57 +31,35 @@ Institute of Electronics, Information and Communication Engineers.
 Users can use this macro specifying "ieicej" class (in Japanese) 
 or "ieice" class (in English).
 Including
-	ieice.cls  1.8
-	ieicej.cls 1.6a
+	ieice.cls  2.2
+	ieicej.cls 3.0
 
 %description -l ja
 電子情報通信学会の技術研究報告(研究会発表論文)和・英論文誌 原稿作成用
 の TeX Live で用いる追加マクロパッケージです。
 和文は ieicej クラスを、英文は ieice クラスを指定します。
 以下のマクロが含まれています
-	ieice.cls  1.8
-	ieicej.cls 1.6a
+	ieice.cls  2.2
+	ieicej.cls 3.0
 
 
 %prep
 %setup -T -c %{name}-%{version}
 
-tar xzf %{SOURCE0}
-%__mv ieicej1.6a/UNIXEUC jp
-%__rm -rf ieicej1.6a
+unzip %{SOURCE0}
+%__mv ieicej-v3.0/UTF jp
+%__mv ieicej-v3.0/*.pdf jp/
+%__rm -rf ieicej-v3.0
+%__mv jp ieicej-v3.0
 
-tar xzf %{SOURCE1}
-%__mv ieice1.8/UNIXEUC en
-%__rm -rf ieice1.8
+unzip %{SOURCE1}
+%__mv ieice2.2/UTF en
+%__mv ieice2.2/*.pdf en/
+%__rm -rf ieice2.2
+%__mv en ieice2.2
 
 %build
 
-(cd jp
-    for x in *.cls *.tex readme.1st *.bst; do 
-    	nkf -w --overwrite ${x} || exit 1
-    done
-    for i in *.tex; do
-    	ft=$(basename ${i} .tex)
-        # if [ "${ft}" != "chklist" -a "${ft}" != "template" ]; then
-        #     # %__sed -i -e "s/\documentclass\[\(.*\)\]{ieicej}/\documentclass\[\1,tombo\]{ieicej}/" -e "s/\documentclass{ieicej}/\documentclass\[tombo\]{ieicej}/" ${i} || exit 1
-	#     # %__sed -i -e "s/\documentclass\[\(.*\)\]{ieicej}/\documentclass\[\1,mentuke\]{ieicej}/" -e "s/\documentclass{ieicej}/\documentclass\[mentuke\]{ieicej}/" ${i} || exit 1
-	# fi
-	%makepdf ${ft}
-	##!! override to fix paper size/position
-    done
-)
-
-(cd en
-    for x in *.cls *.tex ; do 
-    	nkf -w --overwrite ${x} || exit 1
-    done
-    for i in *.tex; do
-    	ft=$(basename ${i} .tex)
-	%makepdf ${ft}
-    done
-)
-
-
 %install
 %__rm -rf %{buildroot}
 
@@ -104,13 +82,17 @@ exit 0
 
 %files
 %defattr(-,root,root)
-%doc jp/*.{tex,pdf} jp/readme.1st
-%doc en/*.{tex,pdf} en/readme-e.1st
+%doc ieice2.2/ ieicej-v3.0/
 %{texmf}/ptex/platex/ieice
 %{texmf}/bibtex/bst/ieice
 
 
 %changelog
+* Sun May 22 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2.2-1
+- merged <BTS:0003017>: Thanks to Masaki Kawamura
+  * Fri Apr  8 2016 Masaki Kawamura <kawamura@is.sci.yamaguchi-u.ac.jp> 2.2-1
+  - update source: ieicej-v3.0.zip ieice2.2.zip
+
 * Thu Jun  7 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.6-1
 - merged the following changes <BTS:wishes:307>; 
   Thanks to Masaki Kawamura <kawamura@is.sci.yamaguchi-u.ac.jp>