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

Revision 9955, 13.5 KB checked in by munepi, 8 years ago (diff)

reverted to texlive-20150521-source (TeX Live 2015)
remove duplicated files from texlive-collection-*

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[9955]2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4:
[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
[9955]13Release: 4%{?_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
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=(
[9955]213dvipdfmx/dvipdfmx.cfg
[9576]214scripts/context/stubs/unix/mtxrun
215scripts/ptex2pdf/ptex2pdf.lua
216scripts/texlive/fmtutil.pl
[9529]217scripts/texlive/texconfig-dialog.sh
218scripts/texlive/texconfig-sys.sh
219scripts/texlive/texconfig.sh
220scripts/texlive/texlinks.sh
221scripts/texlive/tlmgr.pl
[9576]222scripts/texlive/updmap.pl
[9529]223texconfig/tcfmgr
[9576]224web2c/fmtutil.cnf
[9529]225web2c/mktex.opt
226web2c/mktexdir
227web2c/mktexdir.opt
228web2c/mktexnam
229web2c/mktexnam.opt
230web2c/mktexupd
231web2c/texmf.cnf
232web2c/updmap-hdr.cfg
233web2c/updmap.cfg
[9576]234install-tl
[9955]235#
236scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
237scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
238scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
239scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
240scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
241scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
242scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
243scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
244scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
245scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
246scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
247scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
248scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
249scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
250scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
251scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
252scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
253scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
254scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
255scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
256scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
257scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
[7770]258)
259if [ -d %{buildroot}%{_tl_texmfdist} ]; then
260pushd %{buildroot}%{_tl_texmfdist}
261%__rm -f ${x[@]} ||:
[5207]262popd
[7770]263fi
264
[1533]265## Files list
266find %{buildroot} -type f -or -type l | \
267    %__sed -e "s|%{buildroot}||g" > filelist.full
268
[7770]269find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]270    %__sed -e "s|^%{buildroot}|%dir |" \
271           -e "s|$|/|"             >> filelist.full
272
273## subpackages
274grep "/texmf-dist/doc/" filelist.full > filelist.doc
275cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
276%__mv -f filelist.tmp filelist.full
277
278%clean
279%__rm -rf %{buildroot}
280
281%post
[7770]282%_tl_touch_run texhash
283%_tl_touch_run mtxrun
[1533]284
[7770]285[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]286
[9034]287    %_tl_enable_map Map bkaiu.map
288    %_tl_enable_map Map bsmiu.map
289    %_tl_enable_map Map gbsnu.map
290    %_tl_enable_map Map gkaiu.map
[2505]291
[7770]292%_tl_touch_run fmtutil
[2505]293
[1533]294exit 0
295
296
297%postun
298if [ "$1" = 0 ]; then
[7770]299    %_tl_touch_run texhash
[1533]300
[7770]301    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]302
[9034]303    %_tl_disable_map bkaiu.map
304    %_tl_disable_map bsmiu.map
305    %_tl_disable_map gbsnu.map
306    %_tl_disable_map gkaiu.map
[1533]307
308fi
309
310exit 0
311
[7148]312%posttrans
[7770]313%{_tl_exec_texhash}
314%{_tl_exec_mtxrun}
315%{_tl_exec_updmap}
316%{_tl_exec_fmtutil}
[7148]317exit 0
318
319
[1533]320%files -f filelist.full
[5207]321%defattr(-,root,root,-)
[1533]322
323%files -f filelist.doc doc
[5207]324%defattr(-,root,root,-)
[1533]325
326%changelog
[9955]327* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
328- remove duplicated files from texlive-collection-*
329- synced tlnet to 20160113 (TeX Live 2015)
330
[9950]331* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
332- TeX Live 2016/dev
333- synced tlnet to 20160110 (TeX Live 2016/dev)
334
[9576]335* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
336- TeX Live 2015/pretest
337- synced tlnet to 20150522 (TeX Live 2015/pretest)
[9034]338
[9576]339* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
340- TeX Live 2015/pretest
341- synced tlnet to 20150426 (TeX Live 2015/pretest)
342
343* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
344- synced tlnet to 20150401
345
346* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
347- synced tlnet to 20141028
348
349* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
350- synced tlnet to 20140706
351
352* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
353- upgraded to TeX Live 2014
354
355* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
356- synced tlnet to 20140406
357
358* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
359- synced tlnet to 20131218
360
361* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
362- synced tlnet to 20131101
363
364* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
365- synced tlnet to 20131002
366
367* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
368- synced tlnet to 20130919
369
370* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
371- upgraded to TeX Live 2013
372  - used tlnet archives
373  - synced tlnet to 20130823
374- added macros.texlive
375
376* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
377- updated to TeX Live 2012
378
379* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
380- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
381  - set external dependencies (texlive-collection-binextra,
382    texlive-collection-fontutils)
383
384* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
385- updated to TeX Live 2011
386- merged texlive-vtlpkg-2009-osx.patch from OSXWS
387- added %doc README (%files)
388
389* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
390- applied texlive-vtlpkg-2009-vine.patch
391  - remove arch dependent binaries
392- updated tlpdb2rpmspec.sh.in:
393  - improved tlpdb4a()
394  - make symlinks of core script utils (texlive-collection-binextra,
395    texlive-collection-context, texlive-collection-fontutils,
396    texlive-collection-langgreek, texlive-collection-langindic,
397    texlive-collection-latex, texlive-collection-latexextra,
398    texlive-collection-latexrecommended, texlive-collection-pictures,
399    texlive-collection-pstricks, texlive-collection-science)
400
401* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
402- updated tlpdb2rpmspec.sh.in:
403  - improved %post
404
405* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
406- updated tlpdb2rpmspec.sh.in:
407  - removed arch dependent binaries (texlive-collection-latexextra)
408  - improved updmap process in %post and %postun
409  - fixed perl path
410
411* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
412- initial build
Note: See TracBrowser for help on using the repository browser.