[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
| 2 | %bcond_with firstbuild |
---|
| 3 | |
---|
[2503] | 4 | Provides: jadetex |
---|
[5207] | 5 | Obsoletes: texlive-common < %{version} |
---|
[2503] | 6 | Obsoletes: jadetex tetex dvipdfmx xdvik xdvik-motif |
---|
| 7 | Obsoletes: tetex-latex tetex-afm tetex-type1 tetex-devel |
---|
| 8 | Obsoletes: pTeX pLaTeX2e pLaTeX2e_Macros dvipsk |
---|
| 9 | Obsoletes: dvipdfm texmacro-aps |
---|
| 10 | Obsoletes: makejvf <= 1.1a |
---|
| 11 | Conflicts: task-texmacro-phys < 1.1 |
---|
| 12 | |
---|
[5207] | 13 | %global _use_internal_dependency_generator 0 |
---|
| 14 | %global __find_provides %{nil} |
---|
| 15 | %global __find_requires %{nil} |
---|
| 16 | |
---|
[1533] | 17 | %define tex_destdir %{_datadir} |
---|
| 18 | %define texmf %{tex_destdir}/texmf |
---|
| 19 | %define texlive_src %{tex_destdir}/texlive-sources |
---|
| 20 | %define build_tex_destdir %{buildroot}%{tex_destdir} |
---|
| 21 | %define build_texmf %{buildroot}%{texmf} |
---|
| 22 | |
---|
| 23 | %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash |
---|
| 24 | %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash |
---|
[5207] | 25 | %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys |
---|
[2503] | 26 | ## NOTE: For only texlive-common, if %exec_fmtutil fails, |
---|
| 27 | ## we show the STDERR of %exec_fmtutil. |
---|
[1533] | 28 | %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null |
---|
| 29 | %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null |
---|
[5207] | 30 | %define vartexfonts %{_var}/lib/texmf/fonts |
---|
[1533] | 31 | |
---|
| 32 | Summary: Common base for all TeX Live packages |
---|
| 33 | Summary(ja): TeX Live パッケージの共通ベース |
---|
| 34 | Name: texlive-common |
---|
[5207] | 35 | Version: 2011 |
---|
| 36 | Release: 1%{?_dist_release} |
---|
[1533] | 37 | License: distributable |
---|
| 38 | Group: Applications/Publishing |
---|
| 39 | URL: http://www.tug.org/texlive/ |
---|
| 40 | |
---|
[3944] | 41 | Requires: texlive = %{version} |
---|
| 42 | Requires(pre,post): texlive = %{version} |
---|
| 43 | Requires: texlive-collection-basic = %{version} |
---|
[3150] | 44 | Requires(post): texlive-collection-basic = %{version} |
---|
[3944] | 45 | Requires: texlive-collection-latex = %{version} |
---|
[3150] | 46 | Requires(post): texlive-collection-latex = %{version} |
---|
[3944] | 47 | Requires: texlive-collection-latexrecommended = %{version} |
---|
[3150] | 48 | Requires(post): texlive-collection-latexrecommended = %{version} |
---|
[3944] | 49 | Requires: texlive-collection-fontsrecommended = %{version} |
---|
[3150] | 50 | Requires(post): texlive-collection-fontsrecommended = %{version} |
---|
[1533] | 51 | |
---|
| 52 | #### $ pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini |
---|
| 53 | ## dehypht-x-2009-06-19.tex |
---|
[3944] | 54 | Requires: texlive-collection-langgerman = %{version} |
---|
[3150] | 55 | Requires(post): texlive-collection-langgerman = %{version} |
---|
[1533] | 56 | ## catkoi |
---|
[3944] | 57 | Requires: texlive-collection-langcyrillic = %{version} |
---|
[3150] | 58 | Requires(post): texlive-collection-langcyrillic = %{version} |
---|
[1533] | 59 | |
---|
| 60 | #### $ xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini |
---|
| 61 | ## unicode-letters |
---|
[3944] | 62 | Requires: texlive-collection-xetex = %{version} |
---|
[3150] | 63 | Requires(post): texlive-collection-xetex = %{version} |
---|
[1533] | 64 | |
---|
[5207] | 65 | Requires: texlive-collection-langcjk = %{version} |
---|
| 66 | Requires(pre,post): texlive-collection-langcjk = %{version} |
---|
| 67 | |
---|
[1533] | 68 | BuildArch: noarch |
---|
| 69 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 70 | |
---|
| 71 | Vendor: Project Vine |
---|
| 72 | Distribution: Vine Linux |
---|
| 73 | Packager: munepi |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %description |
---|
| 77 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 78 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 79 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 80 | of TeX documents in many different languages, and a large collection |
---|
| 81 | of TeX macros and font libraries. |
---|
| 82 | |
---|
| 83 | The distribution includes extensive general documentation about TeX, |
---|
| 84 | as well as the documentation for the included software packages. |
---|
| 85 | |
---|
| 86 | This package is a virtual package |
---|
| 87 | to provide a common base for all TeX Live packages. |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %description -l ja |
---|
| 91 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 92 | さまざまな Unix, Macintosh, Windows、および |
---|
| 93 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 94 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 95 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 96 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 97 | 同梱しています。 |
---|
| 98 | |
---|
| 99 | このディストリビューションは |
---|
| 100 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 101 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 102 | |
---|
| 103 | このパッケージは TeX Live パッケージの共通ベースを |
---|
| 104 | 提供ための仮想パッケージです。 |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | %files |
---|
| 108 | |
---|
| 109 | |
---|
[5207] | 110 | %posttrans |
---|
[1533] | 111 | %{exec_texhash} |
---|
[3944] | 112 | |
---|
| 113 | updmap_lock=%{texmf}/updmap.lock |
---|
| 114 | # The packages required texlive-common contained the following maps. |
---|
| 115 | (cat<<EOF |
---|
| 116 | MixedMap cm.map |
---|
| 117 | MixedMap cmextra.map |
---|
| 118 | MixedMap cyrillic.map |
---|
| 119 | Map euler.map |
---|
| 120 | MixedMap latxfont.map |
---|
| 121 | MixedMap symbols.map |
---|
| 122 | MixedMap cmtext-bsr-interpolated.map |
---|
| 123 | MixedMap mflogo.map |
---|
[5207] | 124 | Map mathpple.map |
---|
[3944] | 125 | Map charter.map |
---|
| 126 | Map fpls.map |
---|
| 127 | Map pazo.map |
---|
| 128 | Map utopia.map |
---|
[5207] | 129 | MixedMap cm-super-t1.map |
---|
| 130 | MixedMap cm-super-t2a.map |
---|
| 131 | MixedMap cm-super-t2b.map |
---|
| 132 | MixedMap cm-super-t2c.map |
---|
| 133 | MixedMap cm-super-ts1.map |
---|
| 134 | MixedMap cm-super-x2.map |
---|
[3944] | 135 | MixedMap eurosym.map |
---|
| 136 | Map lm.map |
---|
| 137 | Map marvosym.map |
---|
| 138 | Map pxfonts.map |
---|
| 139 | MixedMap rsfs.map |
---|
| 140 | Map qag.map |
---|
| 141 | Map qbk.map |
---|
| 142 | Map qcr.map |
---|
| 143 | Map qcs.map |
---|
| 144 | Map qhv.map |
---|
| 145 | Map qpl.map |
---|
| 146 | Map qtm.map |
---|
| 147 | Map qzc.map |
---|
| 148 | MixedMap tipa.map |
---|
| 149 | Map txfonts.map |
---|
| 150 | MixedMap wasy.map |
---|
| 151 | Map cmcyr.map |
---|
[5207] | 152 | Map bkaiu.map |
---|
| 153 | Map bsmiu.map |
---|
| 154 | Map gbsnu.map |
---|
| 155 | Map gkaiu.map |
---|
| 156 | Map garuda-c90.map |
---|
| 157 | Map norasi-c90.map |
---|
| 158 | Map umj.map |
---|
| 159 | Map dgj.map |
---|
| 160 | Map dmj.map |
---|
| 161 | Map mc2j.map |
---|
| 162 | Map mcj.map |
---|
| 163 | Map mr2j.map |
---|
| 164 | Map mrj.map |
---|
[3944] | 165 | EOF |
---|
| 166 | ) | while read maptype map; do |
---|
| 167 | %{exec_updmap} --listmaps 2>/dev/null | egrep -q "^#! ${maptype} ${map}" && \ |
---|
| 168 | echo -n " " && \ |
---|
| 169 | echo -n "Running updmap: enable ${map} ... " && \ |
---|
| 170 | %{exec_updmap} --nomkmap --enable ${maptype} ${map} >/dev/null 2>&1 && \ |
---|
| 171 | echo "done." && \ |
---|
| 172 | touch ${updmap_lock} |
---|
| 173 | done |
---|
| 174 | |
---|
[5207] | 175 | |
---|
| 176 | |
---|
[1533] | 177 | echo -n " " |
---|
| 178 | echo -n "Running updmap ... " && %{exec_updmap} >/dev/null 2>&1 && echo "done." |
---|
[2503] | 179 | rm -f %{texmf}/updmap.lock |
---|
[1533] | 180 | echo -n " " |
---|
| 181 | echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done." |
---|
| 182 | |
---|
| 183 | exit 0 |
---|
| 184 | |
---|
| 185 | |
---|
[2503] | 186 | # %postun |
---|
| 187 | # %{exec_texhash} |
---|
[1533] | 188 | # echo -n " " |
---|
[2503] | 189 | # echo -n "Running updmap ... " && %{exec_updmap} >/dev/null 2>&1 && echo "done." |
---|
| 190 | # echo -n " " |
---|
[1533] | 191 | # echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done." |
---|
| 192 | |
---|
| 193 | exit 0 |
---|
| 194 | |
---|
| 195 | |
---|
| 196 | %changelog |
---|
[5207] | 197 | * Sat Nov 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1 |
---|
| 198 | - TeX Live 2011 |
---|
| 199 | |
---|
[3944] | 200 | * Mon May 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-6 |
---|
| 201 | - added Requires(post): for all requirements of texlive-collection-* |
---|
| 202 | - added Requires: texlive |
---|
| 203 | |
---|
| 204 | * Sat Apr 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-5 |
---|
| 205 | - improved %%post |
---|
| 206 | - checked the maps containing Require(post) dependencies |
---|
| 207 | |
---|
[3150] | 208 | * Sun Mar 27 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4 |
---|
| 209 | - added Requires(post): texlive |
---|
| 210 | - changed Requires(pre): -> Requires(post): for all requirements |
---|
| 211 | |
---|
[2503] | 212 | * Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3 |
---|
| 213 | - added to remove %%{texmf}/updmap.lock in %%post |
---|
| 214 | - When texlive-common is installed, this lock generating |
---|
| 215 | texlive-collection-* leaves. |
---|
| 216 | - dropped %%postun |
---|
| 217 | - added some comments for the definition of %%exec_fmtutil |
---|
| 218 | |
---|
[2457] | 219 | * Sat Jan 08 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2 |
---|
| 220 | - changed Requires: -> Requires(pre): for all requirements |
---|
[2503] | 221 | - merged dependencies of Provides:/Obsoletes: tags from texlive-vl.spec |
---|
[2457] | 222 | |
---|
[1533] | 223 | * Mon Jul 19 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1 |
---|
| 224 | - TeX Live 2009 |
---|