123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- ## -*- coding: utf-8-unix -*-
- ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
- ## tlpdb2rpmspec collection-langchinese
- %global _use_internal_dependency_generator 0
- %global __find_provides %{nil}
- %global __find_requires %{nil}
- Summary: TeX Live: Chinese
- Summary(ja): TeX Live: Chinese
- Name: texlive-collection-langchinese
- Version: 2014
- Release: 1%{?_dist_release}
- License: Freely redistributable without restriction, GPL+, LPPL, LGPLv2+, GFDL, LPPL 1.3
- Group: Applications/Publishing
- URL:http://www.tug.org/texlive/
- Source0: arphic.doc.tar.xz
- Source1: arphic.tar.xz
- Source2: asymptote-by-example-zh-cn.doc.tar.xz
- Source3: asymptote-by-example-zh-cn.tar.xz
- Source4: asymptote-faq-zh-cn.doc.tar.xz
- Source5: asymptote-faq-zh-cn.tar.xz
- Source6: asymptote-manual-zh-cn.doc.tar.xz
- Source7: asymptote-manual-zh-cn.tar.xz
- Source8: cns.doc.tar.xz
- Source9: cns.tar.xz
- Source10: ctex.doc.tar.xz
- Source11: ctex.tar.xz
- Source12: ctex-faq.doc.tar.xz
- Source13: ctex-faq.tar.xz
- Source14: fandol.doc.tar.xz
- Source15: fandol.tar.xz
- Source16: hyphen-chinese.tar.xz
- Source17: latex-notes-zh-cn.doc.tar.xz
- Source18: latex-notes-zh-cn.tar.xz
- Source19: lshort-chinese.doc.tar.xz
- Source20: lshort-chinese.tar.xz
- Source21: texlive-zh-cn.doc.tar.xz
- Source22: texlive-zh-cn.tar.xz
- Source23: xpinyin.doc.tar.xz
- Source24: xpinyin.source.tar.xz
- Source25: xpinyin.tar.xz
- Source26: zhmetrics.doc.tar.xz
- Source27: zhmetrics.source.tar.xz
- Source28: zhmetrics.tar.xz
- Source29: zhnumber.doc.tar.xz
- Source30: zhnumber.source.tar.xz
- Source31: zhnumber.tar.xz
- Source32: zhspacing.doc.tar.xz
- Source33: zhspacing.tar.xz
- Requires: texlive = %{version}
- Requires: texlive-collection-langcjk = %{version}
- Requires(post): texlive = %{version}
- Requires(postun): texlive = %{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 collection of Chinese:
- Support for Chinese; additional packages in collection-langcjk.
- This package contains the following CTAN packages:
- arphic: Arphic (Chinese) font packages.
- asymptote-by-example-zh-cn: Asymptote by example.
- asymptote-faq-zh-cn: Asymptote FAQ (Chinese translation).
- asymptote-manual-zh-cn: A Chinese translation of the asymptote manual.
- cns:
- ctex: LaTeX classes and packages for Chinese typesetting.
- ctex-faq: LaTeX FAQ by the Chinese TeX Society (ctex.org).
- fandol: Four basic fonts for Chinese typesetting.
- hyphen-chinese: Chinese pinyin hyphenation patterns.
- latex-notes-zh-cn: Chinese Introduction to TeX and LaTeX.
- lshort-chinese: Introduction to LaTeX, in Chinese.
- texlive-zh-cn: TeX Live manual (Chinese)
- xpinyin: Automatically add pinyin to Chinese characters.
- zhmetrics: TFM subfont files for using Chinese fonts in 8-bit TeX.
- zhnumber: Typeset Chinese representations of numbers.
- zhspacing: Spacing for mixed CJK-English documents in XeTeX.
- %description -l ja
- TeX Live ソフトウェアディストリビューションは、
- さまざまな Unix, Macintosh, Windows、および
- 他のプラットホームに対して完全な TeX システムを提供します。
- 多くの異なった言語を含む TeX ドキュメントの
- 編集、組版、閲覧、印刷するためのプログラム、
- そして、TeX マクロやフォントライブラリの大きなコレクションを
- 同梱しています。
- このディストリビューションは
- 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
- TeX に関するたくさんの一般的なドキュメントを含んでいます。
- このパッケージは以下のようなパッケージ集です。
- Chinese:
- Support for Chinese; additional packages in collection-langcjk.
- このパッケージは以下の CTAN パッケージを含んでいます:
- arphic: Arphic (Chinese) font packages.
- asymptote-by-example-zh-cn: Asymptote by example.
- asymptote-faq-zh-cn: Asymptote FAQ (Chinese translation).
- asymptote-manual-zh-cn: A Chinese translation of the asymptote manual.
- cns:
- ctex: LaTeX classes and packages for Chinese typesetting.
- ctex-faq: LaTeX FAQ by the Chinese TeX Society (ctex.org).
- fandol: Four basic fonts for Chinese typesetting.
- hyphen-chinese: Chinese pinyin hyphenation patterns.
- latex-notes-zh-cn: Chinese Introduction to TeX and LaTeX.
- lshort-chinese: Introduction to LaTeX, in Chinese.
- texlive-zh-cn: TeX Live manual (Chinese)
- xpinyin: Automatically add pinyin to Chinese characters.
- zhmetrics: TFM subfont files for using Chinese fonts in 8-bit TeX.
- zhnumber: Typeset Chinese representations of numbers.
- zhspacing: Spacing for mixed CJK-English documents in XeTeX.
- %package doc
- Summary: TeX Live: Documentation files of %{name}
- Group: Applications/Publishing
- Requires: %{name} = %{version}-%{release}
- %description doc
- This package contains documentation files of %{name}.
- %prep
- %setup -c -n %{name}-%{version}
- %__tar -xvf %{SOURCE1}
- %__tar -xvf %{SOURCE2}
- %__tar -xvf %{SOURCE3}
- %__tar -xvf %{SOURCE4}
- %__tar -xvf %{SOURCE5}
- %__tar -xvf %{SOURCE6}
- %__tar -xvf %{SOURCE7}
- %__tar -xvf %{SOURCE8}
- %__tar -xvf %{SOURCE9}
- %__tar -xvf %{SOURCE10}
- %__tar -xvf %{SOURCE11}
- %__tar -xvf %{SOURCE12}
- %__tar -xvf %{SOURCE13}
- %__tar -xvf %{SOURCE14}
- %__tar -xvf %{SOURCE15}
- %__tar -xvf %{SOURCE16}
- %__tar -xvf %{SOURCE17}
- %__tar -xvf %{SOURCE18}
- %__tar -xvf %{SOURCE19}
- %__tar -xvf %{SOURCE20}
- %__tar -xvf %{SOURCE21}
- %__tar -xvf %{SOURCE22}
- %__tar -xvf %{SOURCE23}
- %__tar -xvf %{SOURCE24}
- %__tar -xvf %{SOURCE25}
- %__tar -xvf %{SOURCE26}
- %__tar -xvf %{SOURCE27}
- %__tar -xvf %{SOURCE28}
- %__tar -xvf %{SOURCE29}
- %__tar -xvf %{SOURCE30}
- %__tar -xvf %{SOURCE31}
- %__tar -xvf %{SOURCE32}
- %__tar -xvf %{SOURCE33}
- %build
- %install
- [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
- %__mkdir_p %{buildroot}%{_datadir}
- ## move texmf-dist to /usr/share/texmf-dist
- [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
- ## move texmf to /usr/share/texmf
- [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
- ## move tlpkg to /usr/share/tlpkg
- [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
- ## move all non-arch binaries to /usr/bin
- [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
- ## move others into /usr/share/texmf-dist
- %__mkdir_p %{buildroot}%{_tl_texmfdist}
- %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
- %__rm -rf * ||:
- ## remove duplicated files between texlive and texlive-collection-*
- ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
- ## remove unpacked files
- x=(
- # scripts/texlive/tlmgr.pl
- # scripts/texlive/updmap.pl
- # scripts/fontools/autoinst
- # scripts/glossaries/makeglossaries
- # scripts/m-tx/m-tx.lua
- # scripts/musixtex/musixtex.lua
- # scripts/pmx/pmx2pdf.lua
- # scripts/latexmk/latexmk.pl
- # scripts/jfontmaps/kanji-config-updmap.pl
- # scripts/jfontmaps/kanji-fontmap-creator.pl
- # scripts/latexpand/latexpand
- # scripts/epstopdf/epstopdf.pl
- # scripts/convbkmk/convbkmk.rb
- # scripts/jfontmaps/kanji-config-updmap-sys.sh
- # scripts/luaotfload/luaotfload-tool.lua
- # texconfig/tcfmgr
- # texconfig/tcfmgr.map
- # web2c/fmtutil.cnf
- # web2c/mktex.opt
- # web2c/mktexdir
- # web2c/mktexdir.opt
- # web2c/mktexnam
- # web2c/mktexnam.opt
- # web2c/mktexupd
- # web2c/texmf.cnf
- # web2c/updmap.cfg
- # web2c/updmap-hdr.cfg
- # doc/chktex/ChkTeX.pdf
- install-tl
- )
- if [ -d %{buildroot}%{_tl_texmfdist} ]; then
- pushd %{buildroot}%{_tl_texmfdist}
- %__rm -f ${x[@]} ||:
- popd
- fi
- ## Files list
- find %{buildroot} -type f -or -type l | \
- %__sed -e "s|%{buildroot}||g" > filelist.full
- find %{buildroot}%{_tl_texmfdist} -type d | \
- %__sed -e "s|^%{buildroot}|%dir |" \
- -e "s|$|/|" >> filelist.full
- ## subpackages
- grep "/texmf-dist/doc/" filelist.full > filelist.doc
- cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
- %__mv -f filelist.tmp filelist.full
- %clean
- %__rm -rf %{buildroot}
- %post
- %_tl_touch_run texhash
- %_tl_touch_run mtxrun
- [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
- %_tl_enable_map Map bkaiu.map
- %_tl_enable_map Map bsmiu.map
- %_tl_enable_map Map gbsnu.map
- %_tl_enable_map Map gkaiu.map
- %_tl_touch_run fmtutil
- exit 0
- %postun
- if [ "$1" = 0 ]; then
- %_tl_touch_run texhash
- [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
- %_tl_disable_map bkaiu.map
- %_tl_disable_map bsmiu.map
- %_tl_disable_map gbsnu.map
- %_tl_disable_map gkaiu.map
- fi
- exit 0
- %posttrans
- %{_tl_exec_texhash}
- %{_tl_exec_mtxrun}
- %{_tl_exec_updmap}
- %{_tl_exec_fmtutil}
- exit 0
- %files -f filelist.full
- %defattr(-,root,root,-)
- %files -f filelist.doc doc
- %defattr(-,root,root,-)
- %changelog
- * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
- - TLNET 20140524
|