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

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