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