Rev | Line | |
---|
[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 | |
---|
| 8 | Summary: teTeX macro packages of writing manuscript for the Transaction of The Institute of Electrical Engineers of Japan |
---|
| 9 | Summary(ja): teTeX で使うマクロパッケージ 電気学会論文誌 原稿作成用 |
---|
| 10 | Name: texmacro-ieej |
---|
| 11 | Version: 2.7 |
---|
| 12 | Release: 1%{?_dist_release} |
---|
| 13 | BuildArch: noarch |
---|
| 14 | Source0: http://www2.iee.or.jp/ver2/honbu/32-doc-kenq/latex2e.zip |
---|
| 15 | URL: http://www.iee.or.jp/ |
---|
| 16 | License: distributable |
---|
| 17 | Group: Applications/Publishing |
---|
| 18 | BuildRequires: tetex |
---|
| 19 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Vendor: Project Vine |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | teTeX macro packages of writing manuscript for the |
---|
| 26 | Transaction of The Institute of Electrical Engineers of Japan. |
---|
| 27 | Users can use this macro specifying "ieej" class. |
---|
| 28 | Including |
---|
| 29 | ieej.cls |
---|
| 30 | |
---|
| 31 | %description -l ja |
---|
| 32 | 電気学会論文誌 原稿作成用の teTeX で用いる追加マクロパッケージです。 |
---|
| 33 | ieej クラスを指定して使用します。 |
---|
| 34 | 以下のマクロが含まれています |
---|
| 35 | ieej.cls |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %define ieejsrcdir ieej%{version}/UNIXEUC |
---|
| 39 | |
---|
| 40 | %prep |
---|
| 41 | %setup -q -c -n %{name}-%{version}/ |
---|
| 42 | |
---|
| 43 | %build |
---|
| 44 | |
---|
| 45 | (cd %ieejsrcdir |
---|
| 46 | %makepdf readme |
---|
| 47 | ) |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | %__rm -rf %{buildroot} |
---|
| 51 | |
---|
| 52 | %__mkdir_p %{build_texmf}/ptex/platex/ieej |
---|
| 53 | %__cp -a %ieejsrcdir/*.cls %{build_texmf}/ptex/platex/ieej |
---|
| 54 | |
---|
| 55 | %post |
---|
| 56 | %{exec_texhash} |
---|
| 57 | exit 0 |
---|
| 58 | |
---|
| 59 | %postun |
---|
| 60 | %{exec_texhash} |
---|
| 61 | exit 0 |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | %__rm -rf %{buildroot} |
---|
| 65 | |
---|
| 66 | %files |
---|
| 67 | %defattr(-,root,root) |
---|
| 68 | %doc %ieejsrcdir/*.{tex,pdf,1st} |
---|
| 69 | %{texmf}/ptex/platex/ieej |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %changelog |
---|
| 73 | * Sun Mar 29 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.7-1 |
---|
| 74 | - initial build |
---|
Note: See
TracBrowser
for help on using the repository browser.