[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] | 11 | Summary: TeX Live macro packages of writing manuscript for the Information Processing Society of Japan |
---|
| 12 | Summary(ja): TeX Live で使うマクロパッケージ 情報処理学会論文原稿作成用 |
---|
[521] | 13 | Name: texmacro-ipsj |
---|
[4260] | 14 | Version: 3.02 |
---|
| 15 | Release: 1%{?reldate:.%reldate}%{?_dist_release} |
---|
[521] | 16 | BuildArch: noarch |
---|
[4260] | 17 | # $ sha1sum ipsj-unix.tgz |
---|
| 18 | # 951c81020f12d7b43cc65e1ca9c9910b85f3a1cf ipsj-unix.tgz |
---|
[521] | 19 | Source0: ftp://ftp.ipsj.or.jp/pub/toukou/ipsj-unix.tgz |
---|
| 20 | URL: http://www.ipsj.or.jp/08editt/journal/shippitsu/wabun.html |
---|
| 21 | License: distributable |
---|
| 22 | Group: Applications/Publishing |
---|
[4260] | 23 | BuildRequires: texlive-common |
---|
| 24 | Requires: texlive-common |
---|
| 25 | Requires(post): texlive |
---|
| 26 | Requires(postun): texlive |
---|
[521] | 27 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 28 | |
---|
| 29 | Distribution: Vine Linux |
---|
| 30 | Vendor: Project Vine |
---|
| 31 | |
---|
| 32 | %description |
---|
[4260] | 33 | TeX Live macro packages of writing manuscript for the |
---|
[521] | 34 | Information Processing Society of Japan. |
---|
| 35 | Users can use this macro specifying "ipsjpapers" class. |
---|
| 36 | |
---|
| 37 | Including |
---|
| 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] | 49 | ipsjpapers クラスを指定して使用します。 |
---|
| 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 |
---|
| 69 | for i in sample dsample esample desample ; do |
---|
| 70 | %makepdf $i |
---|
| 71 | done |
---|
| 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} |
---|
| 86 | exit 0 |
---|
| 87 | |
---|
| 88 | %postun |
---|
| 89 | %{exec_texhash} |
---|
| 90 | exit 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 |
---|