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

Revision 9576, 11.5 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

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