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

Revision 10360, 14.2 KB checked in by munepi, 8 years ago (diff)

updated to TeX Live 2016

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