source: projects/specs/trunk/t/texlive-collection-langchinese/texlive-collection-langchinese-vl.spec @ 11118

Revision 11118, 14.5 KB checked in by munepi, 7 years ago (diff)

TeX Live 2017

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[11118]2## NOTE: This spec file is generated by tlpdb2rpmspec 2017-2:
[9034]3## tlpdb2rpmspec collection-langchinese
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[9034]9Summary: TeX Live: Chinese
10Summary(ja): TeX Live: Chinese
11Name: texlive-collection-langchinese
[11118]12Version: 2017
13Release: 2%{?_dist_release}
[9950]14License: Freely redistributable without restriction, GPL+, LPPL, LGPLv2+, LPPL 1.3, GFDL
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[9034]18Source0: arphic.doc.tar.xz
19Source1: arphic.tar.xz
[11118]20Source2: arphic-ttf.doc.tar.xz
21Source3: arphic-ttf.tar.xz
22Source4: asymptote-by-example-zh-cn.doc.tar.xz
23Source5: asymptote-by-example-zh-cn.tar.xz
24Source6: asymptote-faq-zh-cn.doc.tar.xz
25Source7: asymptote-faq-zh-cn.tar.xz
26Source8: asymptote-manual-zh-cn.doc.tar.xz
27Source9: asymptote-manual-zh-cn.tar.xz
28Source10: cns.doc.tar.xz
29Source11: cns.tar.xz
30Source12: ctex.doc.tar.xz
31Source13: ctex.source.tar.xz
32Source14: ctex.tar.xz
33Source15: ctex-faq.doc.tar.xz
34Source16: ctex-faq.tar.xz
35Source17: fandol.doc.tar.xz
36Source18: fandol.tar.xz
37Source19: hyphen-chinese.tar.xz
38Source20: impatient-cn.doc.tar.xz
39Source21: impatient-cn.tar.xz
40Source22: latex-notes-zh-cn.doc.tar.xz
41Source23: latex-notes-zh-cn.tar.xz
42Source24: lshort-chinese.doc.tar.xz
43Source25: lshort-chinese.tar.xz
44Source26: texlive-zh-cn.doc.tar.xz
45Source27: texlive-zh-cn.tar.xz
46Source28: texproposal.doc.tar.xz
47Source29: texproposal.tar.xz
48Source30: xpinyin.doc.tar.xz
49Source31: xpinyin.source.tar.xz
50Source32: xpinyin.tar.xz
51Source33: zhmetrics.doc.tar.xz
52Source34: zhmetrics.source.tar.xz
53Source35: zhmetrics.tar.xz
54Source36: zhmetrics-uptex.doc.tar.xz
55Source37: zhmetrics-uptex.tar.xz
56Source38: zhnumber.doc.tar.xz
57Source39: zhnumber.source.tar.xz
58Source40: zhnumber.tar.xz
59Source41: zhspacing.doc.tar.xz
60Source42: zhspacing.tar.xz
[7770]61
[1533]62Requires: texlive = %{version}
[9034]63Requires: texlive-collection-langcjk = %{version}
[1533]64
65Requires(post):         texlive = %{version}
66Requires(postun):       texlive = %{version}
67
68BuildArch:      noarch
69Buildroot:      %{_tmppath}/%{name}-%{version}-root
70
71Vendor:         Project Vine
72Distribution:   Vine Linux
73Packager:       munepi
74
75%description
76The TeX Live software distribution offers a complete TeX system for a
77variety of Unix, Macintosh, Windows and other platforms. It
78encompasses programs for editing, typesetting, previewing and printing
79of TeX documents in many different languages, and a large collection
80of TeX macros and font libraries.
81
82The distribution includes extensive general documentation about TeX,
83as well as the documentation for the included software packages.
84
[9034]85This package is a collection of Chinese:
86Support for Chinese; additional packages in collection-langcjk.
[1533]87
88This package contains the following CTAN packages:
[10269]89arphic: Arphic (Chinese) font packages
[11118]90arphic-ttf: TrueType version of Chinese Arphic fonts
[10269]91asymptote-by-example-zh-cn: Asymptote by example
92asymptote-faq-zh-cn: Asymptote FAQ (Chinese translation)
93asymptote-manual-zh-cn: A Chinese translation of the asymptote manual
[9034]94cns:
[10269]95ctex: LaTeX classes and packages for Chinese typesetting
96ctex-faq: LaTeX FAQ by the Chinese TeX Society (ctex.org)
97fandol: Four basic fonts for Chinese typesetting
[9034]98hyphen-chinese: Chinese pinyin hyphenation patterns.
[9529]99impatient-cn:
[10269]100latex-notes-zh-cn: Chinese Introduction to TeX and LaTeX
101lshort-chinese: Introduction to LaTeX, in Chinese
[9034]102texlive-zh-cn: TeX Live manual (Chinese)
[11118]103texproposal: A proposal prototype for LaTeX promotion in Chinese universities
[10269]104xpinyin: Automatically add pinyin to Chinese characters
105zhmetrics: TFM subfont files for using Chinese fonts in 8-bit TeX
106zhmetrics-uptex: Chinese font metrics for upTeX
107zhnumber: Typeset Chinese representations of numbers
108zhspacing: Spacing for mixed CJK-English documents in XeTeX
[1533]109
110%description -l ja
111TeX Live ソフトウェアディストリビューションは、
112さまざまな Unix, Macintosh, Windows、および
113他のプラットホームに対して完全な TeX システムを提供します。
114多くの異なった言語を含む TeX ドキュメントの
115編集、組版、閲覧、印刷するためのプログラム、
116そして、TeX マクロやフォントライブラリの大きなコレクションを
117同梱しています。
118
119このディストリビューションは
120同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
121TeX に関するたくさんの一般的なドキュメントを含んでいます。
122
123このパッケージは以下のようなパッケージ集です。
[9034]124Chinese:
125Support for Chinese; additional packages in collection-langcjk.
[1533]126
127このパッケージは以下の CTAN パッケージを含んでいます:
[10269]128arphic: Arphic (Chinese) font packages
[11118]129arphic-ttf: TrueType version of Chinese Arphic fonts
[10269]130asymptote-by-example-zh-cn: Asymptote by example
131asymptote-faq-zh-cn: Asymptote FAQ (Chinese translation)
132asymptote-manual-zh-cn: A Chinese translation of the asymptote manual
[9034]133cns:
[10269]134ctex: LaTeX classes and packages for Chinese typesetting
135ctex-faq: LaTeX FAQ by the Chinese TeX Society (ctex.org)
136fandol: Four basic fonts for Chinese typesetting
[9034]137hyphen-chinese: Chinese pinyin hyphenation patterns.
[9529]138impatient-cn:
[10269]139latex-notes-zh-cn: Chinese Introduction to TeX and LaTeX
140lshort-chinese: Introduction to LaTeX, in Chinese
[9034]141texlive-zh-cn: TeX Live manual (Chinese)
[11118]142texproposal: A proposal prototype for LaTeX promotion in Chinese universities
[10269]143xpinyin: Automatically add pinyin to Chinese characters
144zhmetrics: TFM subfont files for using Chinese fonts in 8-bit TeX
145zhmetrics-uptex: Chinese font metrics for upTeX
146zhnumber: Typeset Chinese representations of numbers
147zhspacing: Spacing for mixed CJK-English documents in XeTeX
[1533]148
149%package doc
150Summary: TeX Live: Documentation files of %{name}
151Group: Applications/Publishing
152Requires: %{name} = %{version}-%{release}
153
154%description doc
155This package contains documentation files of %{name}.
156
157%prep
[7770]158%setup -c -n %{name}-%{version}
159%__tar -xvf %{SOURCE1}
160%__tar -xvf %{SOURCE2}
161%__tar -xvf %{SOURCE3}
162%__tar -xvf %{SOURCE4}
163%__tar -xvf %{SOURCE5}
164%__tar -xvf %{SOURCE6}
165%__tar -xvf %{SOURCE7}
166%__tar -xvf %{SOURCE8}
167%__tar -xvf %{SOURCE9}
168%__tar -xvf %{SOURCE10}
169%__tar -xvf %{SOURCE11}
170%__tar -xvf %{SOURCE12}
171%__tar -xvf %{SOURCE13}
172%__tar -xvf %{SOURCE14}
173%__tar -xvf %{SOURCE15}
174%__tar -xvf %{SOURCE16}
175%__tar -xvf %{SOURCE17}
176%__tar -xvf %{SOURCE18}
177%__tar -xvf %{SOURCE19}
178%__tar -xvf %{SOURCE20}
179%__tar -xvf %{SOURCE21}
180%__tar -xvf %{SOURCE22}
181%__tar -xvf %{SOURCE23}
182%__tar -xvf %{SOURCE24}
183%__tar -xvf %{SOURCE25}
184%__tar -xvf %{SOURCE26}
185%__tar -xvf %{SOURCE27}
186%__tar -xvf %{SOURCE28}
187%__tar -xvf %{SOURCE29}
188%__tar -xvf %{SOURCE30}
189%__tar -xvf %{SOURCE31}
190%__tar -xvf %{SOURCE32}
191%__tar -xvf %{SOURCE33}
[9529]192%__tar -xvf %{SOURCE34}
193%__tar -xvf %{SOURCE35}
[9576]194%__tar -xvf %{SOURCE36}
[10269]195%__tar -xvf %{SOURCE37}
196%__tar -xvf %{SOURCE38}
[11118]197%__tar -xvf %{SOURCE39}
198%__tar -xvf %{SOURCE40}
199%__tar -xvf %{SOURCE41}
200%__tar -xvf %{SOURCE42}
[1533]201
202%build
203
204%install
205[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
206
[7770]207%__mkdir_p %{buildroot}%{_datadir}
[1533]208
[7770]209## move texmf-dist to /usr/share/texmf-dist
210[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]211
[7770]212## move texmf to /usr/share/texmf
213[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]214
[7770]215## move tlpkg to /usr/share/tlpkg
216[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
217
218## move all non-arch binaries to /usr/bin
219[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
220
221## move others into /usr/share/texmf-dist
222%__mkdir_p %{buildroot}%{_tl_texmfdist}
223%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
224%__rm -rf * ||:
225
226
227## remove duplicated files between texlive and texlive-collection-*
228## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
229## remove unpacked files
230x=(
[9955]231dvipdfmx/dvipdfmx.cfg
[9576]232scripts/context/stubs/unix/mtxrun
[10269]233scripts/latexmk/latexmk.pl
[9576]234scripts/ptex2pdf/ptex2pdf.lua
235scripts/texlive/fmtutil.pl
[9529]236scripts/texlive/texconfig-dialog.sh
237scripts/texlive/texconfig-sys.sh
238scripts/texlive/texconfig.sh
239scripts/texlive/texlinks.sh
240scripts/texlive/tlmgr.pl
[9576]241scripts/texlive/updmap.pl
[9529]242texconfig/tcfmgr
[9576]243web2c/fmtutil.cnf
[9529]244web2c/mktex.opt
245web2c/mktexdir
246web2c/mktexdir.opt
247web2c/mktexnam
248web2c/mktexnam.opt
249web2c/mktexupd
250web2c/texmf.cnf
251web2c/updmap-hdr.cfg
252web2c/updmap.cfg
[9576]253install-tl
[9955]254#
[11118]255scripts/cjk-gs-integrate/cjk-gs-integrate.pl
256scripts/epspdf/epspdf.tlu
257scripts/epspdf/epspdftk.tcl
258scripts/glossaries/makeglossaries
259scripts/jfontmaps/kanji-config-updmap.pl
260scripts/jfontmaps/kanji-fontmap-creator.pl
261scripts/kotex-utils/jamo-normalize.pl
262scripts/kotex-utils/komkindex.pl
263scripts/crossrefware/ltx2crossrefxml.pl
264scripts/rubik/rubikrotation.pl
265scripts/musixtex/musixtex.lua
266scripts/pmxchords/pmxchords.lua
267scripts/ctanify/ctanify
268scripts/dtxgen/dtxgen
269scripts/findhyph/findhyph
270scripts/latexpand/latexpand
271scripts/ltxfileinfo/ltxfileinfo
272scripts/latexdiff/latexdiff-vc.pl
273scripts/latexdiff/latexdiff.pl
274scripts/texfot/texfot.pl
275scripts/fontools/autoinst
276scripts/luaotfload/luaotfload-tool.lua
277scripts/oberdiek/pdfatfi.pl
278fonts/map/glyphlist/glyphlist.txt ## texlive-collection-basic-2017-1vl7.noarch
279scripts/tex4ht/xhlatex.sh ## texlive-collection-plaingeneric-2017-1vl7.noarch
280scripts/latexindent/latexindent.pl ## texlive-collection-binextra-2017-1vl7.noarch
281scripts/texosquery/texosquery-jre5.sh ## texlive-collection-binextra-2017-1vl7.noarch
282scripts/texosquery/texosquery-jre8.sh ## texlive-collection-binextra-2017-1vl7.noarch
283scripts/texosquery/texosquery.sh ## texlive-collection-binextra-2017-1vl7.noarch
[7770]284)
285if [ -d %{buildroot}%{_tl_texmfdist} ]; then
286pushd %{buildroot}%{_tl_texmfdist}
287%__rm -f ${x[@]} ||:
[5207]288popd
[7770]289fi
290
[1533]291## Files list
292find %{buildroot} -type f -or -type l | \
293    %__sed -e "s|%{buildroot}||g" > filelist.full
294
[7770]295find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]296    %__sed -e "s|^%{buildroot}|%dir |" \
297           -e "s|$|/|"             >> filelist.full
298
299## subpackages
300grep "/texmf-dist/doc/" filelist.full > filelist.doc
301cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
302%__mv -f filelist.tmp filelist.full
303
304%clean
305%__rm -rf %{buildroot}
306
307%post
[7770]308%_tl_touch_run texhash
309%_tl_touch_run mtxrun
[1533]310
[7770]311[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]312
[9034]313    %_tl_enable_map Map bkaiu.map
314    %_tl_enable_map Map bsmiu.map
315    %_tl_enable_map Map gbsnu.map
316    %_tl_enable_map Map gkaiu.map
[2505]317
[7770]318%_tl_touch_run fmtutil
[2505]319
[1533]320exit 0
321
322
323%postun
324if [ "$1" = 0 ]; then
[7770]325    %_tl_touch_run texhash
[1533]326
[7770]327    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]328
[9034]329    %_tl_disable_map bkaiu.map
330    %_tl_disable_map bsmiu.map
331    %_tl_disable_map gbsnu.map
332    %_tl_disable_map gkaiu.map
[1533]333
334fi
335
336exit 0
337
[7148]338%posttrans
[7770]339%{_tl_exec_texhash}
340%{_tl_exec_mtxrun}
341%{_tl_exec_updmap}
342%{_tl_exec_fmtutil}
[7148]343exit 0
344
345
[1533]346%files -f filelist.full
[5207]347%defattr(-,root,root,-)
[1533]348
349%files -f filelist.doc doc
[5207]350%defattr(-,root,root,-)
[1533]351
352%changelog
[11118]353* Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-2
354- synced tlnet to 20170616 (TeX Live 2017)
355
356* Thu Jun 08 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-1
357- synced tlnet to 20170607 (TeX Live 2017)
358
359* Tue Aug 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-5
360- synced tlnet to 20160823 (TeX Live 2016)
361
[10360]362* Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
363- synced tlnet to 20160607 (TeX Live 2016)
364
365* Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
366- synced tlnet to 20160514 (TeX Live 2016/pretest)
367
[10269]368* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
369- synced tlnet to 20160510 (TeX Live 2016/pretest)
370
371* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
372- TeX Live 2016/pretest
373- synced tlnet to 20160428 (TeX Live 2016/pretest)
374
[9955]375* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
376- remove duplicated files from texlive-collection-*
377- synced tlnet to 20160113 (TeX Live 2015)
378
[9950]379* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
380- TeX Live 2016/dev
381- synced tlnet to 20160110 (TeX Live 2016/dev)
382
[9576]383* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
384- TeX Live 2015/pretest
385- synced tlnet to 20150522 (TeX Live 2015/pretest)
[9034]386
[9576]387* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
388- TeX Live 2015/pretest
389- synced tlnet to 20150426 (TeX Live 2015/pretest)
390
391* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
392- synced tlnet to 20150401
393
394* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
395- synced tlnet to 20141028
396
397* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
398- synced tlnet to 20140706
399
400* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
401- upgraded to TeX Live 2014
402
403* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
404- synced tlnet to 20140406
405
406* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
407- synced tlnet to 20131218
408
409* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
410- synced tlnet to 20131101
411
412* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
413- synced tlnet to 20131002
414
415* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
416- synced tlnet to 20130919
417
418* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
419- upgraded to TeX Live 2013
420  - used tlnet archives
421  - synced tlnet to 20130823
422- added macros.texlive
423
424* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
425- updated to TeX Live 2012
426
427* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
428- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
429  - set external dependencies (texlive-collection-binextra,
430    texlive-collection-fontutils)
431
432* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
433- updated to TeX Live 2011
434- merged texlive-vtlpkg-2009-osx.patch from OSXWS
435- added %doc README (%files)
436
437* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
438- applied texlive-vtlpkg-2009-vine.patch
439  - remove arch dependent binaries
440- updated tlpdb2rpmspec.sh.in:
441  - improved tlpdb4a()
442  - make symlinks of core script utils (texlive-collection-binextra,
443    texlive-collection-context, texlive-collection-fontutils,
444    texlive-collection-langgreek, texlive-collection-langindic,
445    texlive-collection-latex, texlive-collection-latexextra,
446    texlive-collection-latexrecommended, texlive-collection-pictures,
447    texlive-collection-pstricks, texlive-collection-science)
448
449* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
450- updated tlpdb2rpmspec.sh.in:
451  - improved %post
452
453* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
454- updated tlpdb2rpmspec.sh.in:
455  - removed arch dependent binaries (texlive-collection-latexextra)
456  - improved updmap process in %post and %postun
457  - fixed perl path
458
459* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
460- initial build
Note: See TracBrowser for help on using the repository browser.