## -*- coding: utf-8-unix -*- %bcond_with firstbuild %if %{?_dist_release} == "vl6" Provides: jadetex Obsoletes: jadetex tetex dvipdfmx xdvik xdvik-motif %endif %if %{?_dist_release} == "vl5" Provides: jadetex Conflicts: tetex dvipdfmx xdvik xdvik-motif jvf %endif Obsoletes: tetex-latex tetex-afm tetex-type1 tetex-devel Obsoletes: pTeX pLaTeX2e pLaTeX2e_Macros dvipsk Obsoletes: dvipdfm texmacro-aps Obsoletes: makejvf <= 1.1a Conflicts: task-texmacro-phys < 1.1 %define tex_destdir %{_datadir} %define texmf %{tex_destdir}/texmf %define texlive_src %{tex_destdir}/texlive-sources %define build_tex_destdir %{buildroot}%{tex_destdir} %define build_texmf %{buildroot}%{texmf} %define exec_mktexlsr [ -x %{_bindir}/texconfig-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/texconfig-sys rehash %define exec_texhash [ -x %{_bindir}/texhash ] && PATH=%{_bindir}:$PATH %{_bindir}/texhash %define exec_updmap [ -x %{_bindir}/updmap-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/updmap-sys --nostop ## NOTE: For only texlive-common, if %exec_fmtutil fails, ## we show the STDERR of %exec_fmtutil. %define exec_fmtutil [ -x %{_bindir}/fmtutil-sys ] && PATH=%{_bindir}:$PATH %{_bindir}/fmtutil-sys --all >/dev/null %define exec_upddeffont [ -x %{_sbindir}/update-defaultfont ] && %{_sbindir}/update-defaultfont 2> /dev/null %define vartexfonts %{_var}/lib/texmf %define __find_provides %{nil} %define __find_requires %{nil} %define __perl_provides %{nil} %define __perl_requires %{nil} Autoreq: 0 Summary: Common base for all TeX Live packages Summary(ja): TeX Live パッケージの共通ベース Name: texlive-common Version: 2009 Release: 3%{?_dist_release} License: distributable Group: Applications/Publishing URL: http://www.tug.org/texlive/ Requires(pre): texlive-collection-basic = %{version} Requires(pre): texlive-collection-latex = %{version} Requires(pre): texlive-collection-latexrecommended = %{version} Requires(pre): texlive-collection-fontsrecommended = %{version} #### $ pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini ## dehypht-x-2009-06-19.tex Requires(pre): texlive-collection-langgerman = %{version} ## catkoi Requires(pre): texlive-collection-langcyrillic = %{version} #### $ xetex -ini -jobname=xelatex -progname=xelatex -etex xelatex.ini ## unicode-letters Requires(pre): texlive-collection-xetex = %{version} BuildArch: noarch Buildroot: %{_tmppath}/%{name}-%{version}-root Vendor: Project Vine Distribution: Vine Linux Packager: munepi %description The TeX Live software distribution offers a complete TeX system for a variety of Unix, Macintosh, Windows and other platforms. It encompasses programs for editing, typesetting, previewing and printing of TeX documents in many different languages, and a large collection of TeX macros and font libraries. The distribution includes extensive general documentation about TeX, as well as the documentation for the included software packages. This package is a virtual package to provide a common base for all TeX Live packages. %description -l ja TeX Live ソフトウェアディストリビューションは、 さまざまな Unix, Macintosh, Windows、および 他のプラットホームに対して完全な TeX システムを提供します。 多くの異なった言語を含む TeX ドキュメントの 編集、組版、閲覧、印刷するためのプログラム、 そして、TeX マクロやフォントライブラリの大きなコレクションを 同梱しています。 このディストリビューションは 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 TeX に関するたくさんの一般的なドキュメントを含んでいます。 このパッケージは TeX Live パッケージの共通ベースを 提供ための仮想パッケージです。 %files %post %{exec_texhash} echo -n " " echo -n "Running updmap ... " && %{exec_updmap} >/dev/null 2>&1 && echo "done." rm -f %{texmf}/updmap.lock echo -n " " echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done." exit 0 # %postun # %{exec_texhash} # echo -n " " # echo -n "Running updmap ... " && %{exec_updmap} >/dev/null 2>&1 && echo "done." # echo -n " " # echo -n "Running fmtutil ... " && %{exec_fmtutil} && echo "done." exit 0 %changelog * Fri Jan 14 2011 Munehiro Yamamoto 2009-3 - added to remove %%{texmf}/updmap.lock in %%post - When texlive-common is installed, this lock generating texlive-collection-* leaves. - dropped %%postun - added some comments for the definition of %%exec_fmtutil * Sat Jan 08 2011 Munehiro Yamamoto 2009-2 - changed Requires: -> Requires(pre): for all requirements - merged dependencies of Provides:/Obsoletes: tags from texlive-vl.spec * Mon Jul 19 2010 Munehiro Yamamoto 2009-1 - TeX Live 2009