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

Revision 10269, 12.6 KB checked in by munepi, 8 years ago (diff)

upgrade to TeX Live 2016

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