123 | | == 対応している TeX Live のバージョン == |
124 | | |
125 | | === TeX Live 2012 === |
126 | | [browser:projects/texlive-vtlpkg/trunk] |
127 | | |
128 | | 次期 Vine Linux 7 に対応する予定。 |
129 | | |
130 | | === TeX Live 2011 === |
131 | | [browser:projects/texlive-vtlpkg/tags/2011] |
132 | | |
133 | | 次期 Vine Linux 7 に対応する予定。 |
134 | | |
135 | | rpm-4.8.1 を利用するため、 |
136 | | {{{_use_internal_dependency_generator 0}}} を用いれば、簡単に制御できた。 |
137 | | {{{ |
138 | | %global _use_internal_dependency_generator 0 |
139 | | %global __find_provides %{nil} |
140 | | %global __find_requires %{nil} |
141 | | }}} |
142 | | |
143 | | === TeX Live 2009 === |
144 | | [browser:projects/texlive-vtlpkg/branches/2009] |
145 | | |
146 | | Vine Linux 6 および Vine Linux 5 に対応しているため、 |
147 | | spec ファイルがやや煩雑になっている。 |
148 | | {{{ |
149 | | %define __find_provides %{nil} |
150 | | %define __find_requires %{nil} |
151 | | %define __perl_provides %{nil} |
152 | | %define __perl_requires %{nil} |
153 | | |
154 | | Autoreq: 0 |
155 | | }}} |
| 153 | |
| 154 | == macros.texlive == |
| 155 | |
| 156 | TeX Live 関連の RPM パッケージを作成する上でよく使われるものを {{{ /etc/rpm/macros.texlive }}} にまとめました。 |
| 157 | |
| 158 | {{{ |
| 159 | # |
| 160 | # RPM macros for our TeX Live |
| 161 | # |
| 162 | |
| 163 | # default TeX Live directories |
| 164 | %_tl_texmfroot %{_datadir} |
| 165 | |
| 166 | %_tl_texmfconfig ~/.texmf-config |
| 167 | %_tl_texmfvar ~/.texmf-var |
| 168 | %_tl_texmfhome ~/texmf |
| 169 | %_tl_texmfsysconfig %{_sysconfdir}/texmf |
| 170 | %_tl_texmfsysvar %{_var}/lib/texmf |
| 171 | %_tl_texmflocal %{_prefix}/local/share/texmf |
| 172 | %_tl_texmfvine %{_tl_texmfroot}/texmf |
| 173 | %_tl_texmfdist %{_tl_texmfroot}/texmf-dist |
| 174 | %_tl_vartexfonts %{_tl_texmfsysvar}/fonts |
| 175 | |
| 176 | %_tl_aliasttfdir %{_tl_texmfsysvar}/fonts/truetype/vine |
| 177 | %_tl_varrundir %{_var}/run/texlive |
| 178 | |
| 179 | # some useful functions/macros |
| 180 | %_tl_touch_run() %{expand:( %__mkdir_p %{_tl_varrundir}; touch %{_tl_varrundir}/run-%1; ) |
| 181 | } |
| 182 | |
| 183 | %_tl_exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && \\\ |
| 184 | %{_sbindir}/update-defaultfont 2> /dev/null |
| 185 | |
| 186 | %_tl_exec_texhash [ -e %{_tl_varrundir}/run-texhash ] && ( \\\ |
| 187 | [ -x %{_bindir}/texhash ] && \\\ |
| 188 | echo -n " "; echo -n "Running texhash... "; \\\ |
| 189 | %{_bindir}/texhash 2> /dev/null; \\\ |
| 190 | echo "done." ) && %__rm -f %{_tl_varrundir}/run-texhash; |
| 191 | |
| 192 | %_tl_exec_mtxrun [ -e %{_tl_varrundir}/run-mtxrun ] && ( \\\ |
| 193 | [ -x %{_bindir}/mtxrun ] && \\\ |
| 194 | echo -n " "; echo -n "Running mtxrun... "; \\\ |
| 195 | export TEXMF=%{_tl_texmfdist} TEXMFCNF=%{_tl_texmfdist}/web2c TEXMFCACHE=%{_tl_texmfsysvar}; \\\ |
| 196 | %{_bindir}/mtxrun --generate &> /dev/null; \\\ |
| 197 | echo "done." ) && %__rm -f %{_tl_varrundir}/run-mtxrun; |
| 198 | |
| 199 | %_tl_exec_fmtutil [ -e %{_tl_varrundir}/run-fmtutil ] && ( \\\ |
| 200 | [ -x %{_bindir}/fmtutil-sys ] && \\\ |
| 201 | echo -n " "; echo -n "Running fmtutil-sys... "; \\\ |
| 202 | %{_bindir}/fmtutil-sys --all &> /dev/null; \\\ |
| 203 | echo "done." ) && %__rm -f %{_tl_varrundir}/run-fmtutil; |
| 204 | |
| 205 | %_tl_exec_updmap [ -e %{_tl_varrundir}/run-updmap ] && ( \\\ |
| 206 | [ -x %{_bindir}/updmap-sys ] && \\\ |
| 207 | echo -n " "; echo -n "Running updmap-sys... "; \\\ |
| 208 | yes | %{_bindir}/updmap-sys --syncwithtrees --nohash --quiet &>/dev/null; \\\ |
| 209 | %{_bindir}/updmap-sys --nohash --quiet &> /dev/null; \\\ |
| 210 | echo "done." ) && %__rm -f %{_tl_varrundir}/run-updmap; |
| 211 | |
| 212 | |
| 213 | # %_tl_enable_map [maptype] [map] |
| 214 | %_tl_enable_map() %{expand: %{_bindir}/updmap-sys --nomkmap --nohash --quiet --enable %1 %2 >/dev/null 2>&1 && %_tl_touch_run updmap |
| 215 | } |
| 216 | |
| 217 | # %_tl_disable_map [map] |
| 218 | %_tl_disable_map() %{expand: %{_bindir}/updmap-sys --nomkmap --nohash --quiet --disable %1 >/dev/null 2>&1 && %_tl_touch_run updmap |
| 219 | } |
| 220 | |
| 221 | # end of file |
| 222 | }}} |
| 223 | |
| 224 | |
| 225 | |
| 296 | |
| 297 | |
| 298 | |
| 299 | |
| 300 | == texlive-vtlpkg の主な更新履歴 == |
| 301 | |
| 302 | === TeX Live 2013 === |
| 303 | [browser:projects/texlive-vtlpkg/trunk] |
| 304 | |
| 305 | 次期 Vine Linux 7 に対応する予定。 |
| 306 | |
| 307 | TeX Live 2012 以前の texlive-vtlpkg では、 |
| 308 | リリースされたバージョンのソースアーカイブスをまとめた texlive-sources パッケージから texlive-collection-* を生成していた。 |
| 309 | |
| 310 | TeX Live 2013 以降の texlive-vtlpkg は、TLNET のパッケージから texlive-collection-* を生成するようにした。 |
| 311 | この変更により、TeX Live の current へ追従しやすくなった。 |
| 312 | |
| 313 | === TeX Live 2012 === |
| 314 | [browser:projects/texlive-vtlpkg/2012] |
| 315 | |
| 316 | === TeX Live 2011 === |
| 317 | [browser:projects/texlive-vtlpkg/tags/2011] |
| 318 | |
| 319 | rpm-4.8.1 を利用するため、 |
| 320 | {{{_use_internal_dependency_generator 0}}} を用いれば、簡単に制御できた。 |
| 321 | {{{ |
| 322 | %global _use_internal_dependency_generator 0 |
| 323 | %global __find_provides %{nil} |
| 324 | %global __find_requires %{nil} |
| 325 | }}} |
| 326 | |
| 327 | === TeX Live 2009 === |
| 328 | [browser:projects/texlive-vtlpkg/branches/2009] |
| 329 | |
| 330 | Vine Linux 6 および Vine Linux 5 に対応しているため、 |
| 331 | spec ファイルがやや煩雑になっている。 |
| 332 | {{{ |
| 333 | %define __find_provides %{nil} |
| 334 | %define __find_requires %{nil} |
| 335 | %define __perl_provides %{nil} |
| 336 | %define __perl_requires %{nil} |
| 337 | |
| 338 | Autoreq: 0 |
| 339 | }}} |