Procházet zdrojové kódy

updated texlive

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1542 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi před 14 roky
rodič
revize
6530fc8858
1 změnil soubory, kde provedl 7 přidání a 29 odebrání
  1. 7 29
      t/texlive/texlive-vl.spec

+ 7 - 29
t/texlive/texlive-vl.spec

@@ -1,6 +1,4 @@
 ## -*- 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
 
 %define with_babel 1
@@ -35,7 +33,7 @@ Summary: The TeX text formatting system
 Summary(ja): TeX 文書整形システム
 Name: texlive
 Version: 2009
-Release: 8%{?_dist_release}
+Release: 9%{?_dist_release}
 License: distributable
 Group: Applications/Publishing
 ## The TeX Live is located on http://www.tug.org/texlive/
@@ -215,6 +213,7 @@ TeX に関するたくさんの一般的なドキュメントを含んでいま
 Summary: TeX Live: Documentation files of %{name}
 Group: Applications/Publishing
 Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
 
 %description doc
 This package contains documentation files of %{name}.
@@ -432,7 +431,7 @@ popd
 
 
 %install
-## prepare %%install sesion
+## prepare %%install session
 [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
 
 set -x
@@ -474,14 +473,9 @@ popd
 	${PREF}/texmf-dist/
 )
 ## 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
 
 #### 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: \
     %__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
 ./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
 %if %with_eptex
 (cd ../eptex-%{eptexver}
@@ -571,10 +548,7 @@ echo "[copying]    language.def"
 %__cp -r include %{buildroot}%{_includedir}
 
 ##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
-##%__mv texmf/doc/man %{buildroot}%{_mandir}
 %__rm -rf texmf/doc/man
 
 %__mkdir_p %{build_tex_destdir}
@@ -767,6 +741,10 @@ fi
 
 
 %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
 - separeted texmf-dist to texlive-common package