|
@@ -1,6 +1,4 @@
|
|
## -*- coding: utf-8-unix -*-
|
|
## -*- coding: utf-8-unix -*-
|
|
-## TODO: - change %{build_texmf}/fonts/map/dvipdfmx/vine.map to
|
|
|
|
-## %{build_texmf}/fonts/map/dvipdfm/vine/vine.map???
|
|
|
|
%bcond_with firstbuild
|
|
%bcond_with firstbuild
|
|
|
|
|
|
%define with_babel 1
|
|
%define with_babel 1
|
|
@@ -35,7 +33,7 @@ Summary: The TeX text formatting system
|
|
Summary(ja): TeX 文書整形システム
|
|
Summary(ja): TeX 文書整形システム
|
|
Name: texlive
|
|
Name: texlive
|
|
Version: 2009
|
|
Version: 2009
|
|
-Release: 8%{?_dist_release}
|
|
+Release: 9%{?_dist_release}
|
|
License: distributable
|
|
License: distributable
|
|
Group: Applications/Publishing
|
|
Group: Applications/Publishing
|
|
## The TeX Live is located on http://www.tug.org/texlive/
|
|
## The TeX Live is located on http://www.tug.org/texlive/
|
|
@@ -215,6 +213,7 @@ TeX に関するたくさんの一般的なドキュメントを含んでいま
|
|
Summary: TeX Live: Documentation files of %{name}
|
|
Summary: TeX Live: Documentation files of %{name}
|
|
Group: Applications/Publishing
|
|
Group: Applications/Publishing
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
+BuildArch: noarch
|
|
|
|
|
|
%description doc
|
|
%description doc
|
|
This package contains documentation files of %{name}.
|
|
This package contains documentation files of %{name}.
|
|
@@ -432,7 +431,7 @@ popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
-## prepare %%install sesion
|
|
+## prepare %%install session
|
|
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
|
|
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
|
|
|
|
|
|
set -x
|
|
set -x
|
|
@@ -474,14 +473,9 @@ popd
|
|
${PREF}/texmf-dist/
|
|
${PREF}/texmf-dist/
|
|
)
|
|
)
|
|
## copy some fonts (almost tetex + tetex-extra)
|
|
## copy some fonts (almost tetex + tetex-extra)
|
|
-## insttexfont [srcpath] (on %{texlive_src}/texmf-dist/fonts)
|
|
|
|
## NOTE: this part is in texlive-common since texlive-8vl6
|
|
## NOTE: this part is in texlive-common since texlive-8vl6
|
|
|
|
|
|
#### customize updmap.cfg for each font's map files
|
|
#### customize updmap.cfg for each font's map files
|
|
-# ## NOTE: updmap-texlive-common.cfg is generated in texlive-common
|
|
|
|
-# [ -f %{texmf}/web2c/updmap-texlive-common.cfg ] && \
|
|
|
|
-# %__cp -fa %{texmf}/web2c/updmap-texlive-common.cfg \
|
|
|
|
-# ${PREF}/texmf/web2c/updmap.cfg || exit 1
|
|
|
|
%{!?with_firstbuild: \
|
|
%{!?with_firstbuild: \
|
|
%__sed -i -e "s,^\(Map\|MixedMap\),#! \1,g" ${PREF}/texmf/web2c/updmap.cfg}
|
|
%__sed -i -e "s,^\(Map\|MixedMap\),#! \1,g" ${PREF}/texmf/web2c/updmap.cfg}
|
|
|
|
|
|
@@ -493,23 +487,6 @@ popd
|
|
## NOTE: need texmf-dist/tex/latex/ltxmisc url.sty
|
|
## NOTE: need texmf-dist/tex/latex/ltxmisc url.sty
|
|
./4extract-texmf.sh %{?with_firstbuild: || :}%{!?with_firstbuild: || exit 1}
|
|
./4extract-texmf.sh %{?with_firstbuild: || :}%{!?with_firstbuild: || exit 1}
|
|
|
|
|
|
-# %if !%{with firstbuild}
|
|
|
|
-# cd ${PREF}
|
|
|
|
-# export TEXMF=$TEXMFMAIN; TEXMFMAIN=$TEXMFMAIN TEXMFDIST=${TEXMFDIST};
|
|
|
|
-# export TEXMFCONFIG=${TEXMF}-config TEXMFVAR=${TEXMF}-var;
|
|
|
|
-# export SYSTEXMF=${TEXMF} TEXMFSYSCONFIG=$TEXMFCONFIG TEXMFSYSVAR=$TEXMFVAR;
|
|
|
|
-# export TEXMF=%{texmf}; TEXMFMAIN=%{texmf} TEXMFDIST=%{texmf}-dist;
|
|
|
|
-# mktexlsr 2> /dev/null || exit 1
|
|
|
|
-# updmap-sys --nomkmap --syncwithtrees || exit 1
|
|
|
|
-# [ -f texmf-config/web2c/updmap.cfg ] && \
|
|
|
|
-# %__mv texmf-config/web2c/updmap.cfg texmf/web2c/
|
|
|
|
-# fmtutil-sys --byfmt latex || exit 1
|
|
|
|
-# fmtutil-sys --byfmt platex || exit 1
|
|
|
|
-# fmtutil-sys --all || exit 1
|
|
|
|
-# echo done.
|
|
|
|
-# cd -
|
|
|
|
-# %endif
|
|
|
|
-
|
|
|
|
## post 0eptex.sh
|
|
## post 0eptex.sh
|
|
%if %with_eptex
|
|
%if %with_eptex
|
|
(cd ../eptex-%{eptexver}
|
|
(cd ../eptex-%{eptexver}
|
|
@@ -571,10 +548,7 @@ echo "[copying] language.def"
|
|
%__cp -r include %{buildroot}%{_includedir}
|
|
%__cp -r include %{buildroot}%{_includedir}
|
|
|
|
|
|
##NOTE: use man, info files from texlive-sources
|
|
##NOTE: use man, info files from texlive-sources
|
|
-##%__mkdir_p %{buildroot}%{_infodir}
|
|
|
|
-##%__mv texmf/doc/info/{tds,web2c,dvips,kpathsea}.info %{buildroot}%{_infodir}/
|
|
|
|
%__rm -rf texmf/doc/info
|
|
%__rm -rf texmf/doc/info
|
|
-##%__mv texmf/doc/man %{buildroot}%{_mandir}
|
|
|
|
%__rm -rf texmf/doc/man
|
|
%__rm -rf texmf/doc/man
|
|
|
|
|
|
%__mkdir_p %{build_tex_destdir}
|
|
%__mkdir_p %{build_tex_destdir}
|
|
@@ -767,6 +741,10 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Aug 09 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-9
|
|
|
|
+- added BuildArch: noarch in %%package doc
|
|
|
|
+- removed some comment-out sentences
|
|
|
|
+
|
|
* Tue Jul 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-8
|
|
* Tue Jul 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-8
|
|
- separeted texmf-dist to texlive-common package
|
|
- separeted texmf-dist to texlive-common package
|
|
|
|
|