## -*- coding: utf-8-unix -*- ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-3: ## tlpdb2rpmspec collection-langcjk %global _use_internal_dependency_generator 0 %global __find_provides %{nil} %global __find_requires %{nil} Summary: TeX Live: Chinese/Japanese/Korean (base) Summary(ja): TeX Live: Chinese/Japanese/Korean (base) Name: texlive-collection-langcjk Version: 2014 Release: 3%{?_dist_release} License: BSD, GPL+, LPPL, LPPL 1.3, Freely redistributable without restriction Group: Applications/Publishing URL:http://www.tug.org/texlive/ Source0: adobemapping.tar.xz Source1: c90.doc.tar.xz Source2: c90.source.tar.xz Source3: c90.tar.xz Source4: cjk.doc.tar.xz Source5: cjk.source.tar.xz Source6: cjk.tar.xz Source7: cjkpunct.doc.tar.xz Source8: cjkpunct.source.tar.xz Source9: cjkpunct.tar.xz Source10: cjkutils.doc.tar.xz Source11: cjkutils.tar.xz Source12: dnp.tar.xz Source13: garuda-c90.source.tar.xz Source14: garuda-c90.tar.xz Source15: norasi-c90.source.tar.xz Source16: norasi-c90.tar.xz Source17: xcjk2uni.doc.tar.xz Source18: xcjk2uni.source.tar.xz Source19: xcjk2uni.tar.xz Source20: zxjafont.doc.tar.xz Source21: zxjafont.tar.xz Requires: texlive = %{version} Requires: texlive-collection-basic = %{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/Japanese/Korean (base): Packages supporting a combination of Chinese, Japanese, Korean, including macros, fonts, documentation. Also Thai in the c90 encoding, since there is some overlap in those fonts; standard Thai support is in collection-langother. Additional packages for CJK are in their individual language collections. This package contains the following CTAN packages: adobemapping: Adobe cmap and pdfmapping files c90: cjk: CJK language support. cjkpunct: Adjust locations and kerning of CJK punctuation marks. cjkutils: dnp: garuda-c90: TeX support (from CJK) for the garuda font norasi-c90: TeX support (from CJK) for the norasi font xcjk2uni: Convert CJK characters to Unicode, in pdfTeX. zxjafont: Set up Japanese font families for XeLaTeX. %description -l ja TeX Live ソフトウェアディストリビューションは、 さまざまな Unix, Macintosh, Windows、および 他のプラットホームに対して完全な TeX システムを提供します。 多くの異なった言語を含む TeX ドキュメントの 編集、組版、閲覧、印刷するためのプログラム、 そして、TeX マクロやフォントライブラリの大きなコレクションを 同梱しています。 このディストリビューションは 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 TeX に関するたくさんの一般的なドキュメントを含んでいます。 このパッケージは以下のようなパッケージ集です。 Chinese/Japanese/Korean (base): Packages supporting a combination of Chinese, Japanese, Korean, including macros, fonts, documentation. Also Thai in the c90 encoding, since there is some overlap in those fonts; standard Thai support is in collection-langother. Additional packages for CJK are in their individual language collections. このパッケージは以下の CTAN パッケージを含んでいます: adobemapping: Adobe cmap and pdfmapping files c90: cjk: CJK language support. cjkpunct: Adjust locations and kerning of CJK punctuation marks. cjkutils: dnp: garuda-c90: TeX support (from CJK) for the garuda font norasi-c90: TeX support (from CJK) for the norasi font xcjk2uni: Convert CJK characters to Unicode, in pdfTeX. zxjafont: Set up Japanese font families for XeLaTeX. %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} %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/epstopdf/epstopdf.pl scripts/texlive/fmtutil.sh texconfig/tcfmgr web2c/texmf.cnf web2c/updmap-hdr.cfg web2c/updmap.cfg 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 garuda-c90.map %_tl_enable_map Map norasi-c90.map exit 0 %postun if [ "$1" = 0 ]; then %_tl_touch_run texhash [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 %_tl_disable_map garuda-c90.map %_tl_disable_map norasi-c90.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 * Tue Oct 28 2014 Munehiro Yamamoto 2014-3 - synced tlnet to 20141028 * Sun Jul 6 2014 Munehiro Yamamoto 2014-2 - synced tlnet to 20140706 * Sun May 25 2014 Munehiro Yamamoto 2014-1 - synced tlnet to 20140524