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

Revision 10269, 16.3 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-langjapanese
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Japanese
10Summary(ja): TeX Live: Japanese
11Name: texlive-collection-langjapanese
12Version: 2016
13Release: 2%{?_dist_release}
14License: Freely redistributable without restriction, LPPL, BSD, GPL+, GPLv2+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: bxbase.doc.tar.xz
19Source1: bxbase.tar.xz
20Source2: bxcjkjatype.doc.tar.xz
21Source3: bxcjkjatype.tar.xz
22Source4: bxjscls.doc.tar.xz
23Source5: bxjscls.source.tar.xz
24Source6: bxjscls.tar.xz
25Source7: convbkmk.doc.tar.xz
26Source8: convbkmk.tar.xz
27Source9: ipaex.doc.tar.xz
28Source10: ipaex.tar.xz
29Source11: japanese.doc.tar.xz
30Source12: japanese.source.tar.xz
31Source13: japanese.tar.xz
32Source14: japanese-otf.doc.tar.xz
33Source15: japanese-otf.source.tar.xz
34Source16: japanese-otf.tar.xz
35Source17: japanese-otf-uptex.doc.tar.xz
36Source18: japanese-otf-uptex.source.tar.xz
37Source19: japanese-otf-uptex.tar.xz
38Source20: jfontmaps.doc.tar.xz
39Source21: jfontmaps.source.tar.xz
40Source22: jfontmaps.tar.xz
41Source23: jsclasses.doc.tar.xz
42Source24: jsclasses.source.tar.xz
43Source25: jsclasses.tar.xz
44Source26: lshort-japanese.doc.tar.xz
45Source27: lshort-japanese.tar.xz
46Source28: luatexja.doc.tar.xz
47Source29: luatexja.source.tar.xz
48Source30: luatexja.tar.xz
49Source31: pbibtex-base.doc.tar.xz
50Source32: pbibtex-base.tar.xz
51Source33: ptex.doc.tar.xz
52Source34: ptex.source.tar.xz
53Source35: ptex.tar.xz
54Source36: ptex2pdf.doc.tar.xz
55Source37: ptex2pdf.tar.xz
56Source38: pxbase.doc.tar.xz
57Source39: pxbase.tar.xz
58Source40: pxchfon.doc.tar.xz
59Source41: pxchfon.tar.xz
60Source42: pxcjkcat.doc.tar.xz
61Source43: pxcjkcat.tar.xz
62Source44: pxjahyper.doc.tar.xz
63Source45: pxjahyper.tar.xz
64Source46: pxrubrica.doc.tar.xz
65Source47: pxrubrica.source.tar.xz
66Source48: pxrubrica.tar.xz
67Source49: uptex.doc.tar.xz
68Source50: uptex.source.tar.xz
69Source51: uptex.tar.xz
70Source52: wadalab.doc.tar.xz
71Source53: wadalab.tar.xz
72Source54: zxjafbfont.doc.tar.xz
73Source55: zxjafbfont.tar.xz
74Source56: zxjatype.doc.tar.xz
75Source57: zxjatype.tar.xz
76
77Requires: texlive = %{version}
78Requires: texlive-collection-langcjk = %{version}
79
80Requires(post):         texlive = %{version}
81Requires(postun):       texlive = %{version}
82
83BuildArch:      noarch
84Buildroot:      %{_tmppath}/%{name}-%{version}-root
85
86Vendor:         Project Vine
87Distribution:   Vine Linux
88Packager:       munepi
89
90%description
91The TeX Live software distribution offers a complete TeX system for a
92variety of Unix, Macintosh, Windows and other platforms. It
93encompasses programs for editing, typesetting, previewing and printing
94of TeX documents in many different languages, and a large collection
95of TeX macros and font libraries.
96
97The distribution includes extensive general documentation about TeX,
98as well as the documentation for the included software packages.
99
100This package is a collection of Japanese:
101Support for Japanese; additional packages in collection-
102langcjk.
103
104This package contains the following CTAN packages:
105bxbase: BX bundle base components
106bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK
107bxjscls: Japanese document class collection for all major engines
108convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref
109ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan.
110japanese: A substitute for a babel package for Japanese
111japanese-otf: Advanced font selection for platex and its friends
112japanese-otf-uptex: Support for Japanese OTF files in upLaTeX
113jfontmaps: Font maps and configuration tools for Japanese fonts
114jsclasses: Classes tailored for use with Japanese
115lshort-japanese: Japanese version of A Short Introduction to LaTeX2e
116luatexja: Typeset Japanese with Lua(La)TeX
117pbibtex-base: Bibliography styles and miscellaneous files for pBibTeX
118ptex: A TeX system for publishing in Japanese
119ptex2pdf: Convert Japanese TeX documents to PDF
120pxbase: Tools for use with (u)pLaTeX
121pxchfon: Japanese font setup for pLaTeX and upLaTeX
122pxcjkcat: LaTeX interface for the CJK category codes of upTeX
123pxjahyper: Hyperref support for pLaTeX
124pxrubrica:
125uptex: Unicode version of pTeX
126wadalab: Wadalab (Japanese) font packages
127zxjafbfont: Fallback CJK font support for xeCJK
128zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX
129
130%description -l ja
131TeX Live ソフトウェアディストリビューションは、
132さまざまな Unix, Macintosh, Windows、および
133他のプラットホームに対して完全な TeX システムを提供します。
134多くの異なった言語を含む TeX ドキュメントの
135編集、組版、閲覧、印刷するためのプログラム、
136そして、TeX マクロやフォントライブラリの大きなコレクションを
137同梱しています。
138
139このディストリビューションは
140同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
141TeX に関するたくさんの一般的なドキュメントを含んでいます。
142
143このパッケージは以下のようなパッケージ集です。
144Japanese:
145Support for Japanese; additional packages in collection-
146langcjk.
147
148このパッケージは以下の CTAN パッケージを含んでいます:
149bxbase: BX bundle base components
150bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK
151bxjscls: Japanese document class collection for all major engines
152convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref
153ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan.
154japanese: A substitute for a babel package for Japanese
155japanese-otf: Advanced font selection for platex and its friends
156japanese-otf-uptex: Support for Japanese OTF files in upLaTeX
157jfontmaps: Font maps and configuration tools for Japanese fonts
158jsclasses: Classes tailored for use with Japanese
159lshort-japanese: Japanese version of A Short Introduction to LaTeX2e
160luatexja: Typeset Japanese with Lua(La)TeX
161pbibtex-base: Bibliography styles and miscellaneous files for pBibTeX
162ptex: A TeX system for publishing in Japanese
163ptex2pdf: Convert Japanese TeX documents to PDF
164pxbase: Tools for use with (u)pLaTeX
165pxchfon: Japanese font setup for pLaTeX and upLaTeX
166pxcjkcat: LaTeX interface for the CJK category codes of upTeX
167pxjahyper: Hyperref support for pLaTeX
168pxrubrica:
169uptex: Unicode version of pTeX
170wadalab: Wadalab (Japanese) font packages
171zxjafbfont: Fallback CJK font support for xeCJK
172zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX
173
174%package doc
175Summary: TeX Live: Documentation files of %{name}
176Group: Applications/Publishing
177Requires: %{name} = %{version}-%{release}
178
179%description doc
180This package contains documentation files of %{name}.
181
182%prep
183%setup -c -n %{name}-%{version}
184%__tar -xvf %{SOURCE1}
185%__tar -xvf %{SOURCE2}
186%__tar -xvf %{SOURCE3}
187%__tar -xvf %{SOURCE4}
188%__tar -xvf %{SOURCE5}
189%__tar -xvf %{SOURCE6}
190%__tar -xvf %{SOURCE7}
191%__tar -xvf %{SOURCE8}
192%__tar -xvf %{SOURCE9}
193%__tar -xvf %{SOURCE10}
194%__tar -xvf %{SOURCE11}
195%__tar -xvf %{SOURCE12}
196%__tar -xvf %{SOURCE13}
197%__tar -xvf %{SOURCE14}
198%__tar -xvf %{SOURCE15}
199%__tar -xvf %{SOURCE16}
200%__tar -xvf %{SOURCE17}
201%__tar -xvf %{SOURCE18}
202%__tar -xvf %{SOURCE19}
203%__tar -xvf %{SOURCE20}
204%__tar -xvf %{SOURCE21}
205%__tar -xvf %{SOURCE22}
206%__tar -xvf %{SOURCE23}
207%__tar -xvf %{SOURCE24}
208%__tar -xvf %{SOURCE25}
209%__tar -xvf %{SOURCE26}
210%__tar -xvf %{SOURCE27}
211%__tar -xvf %{SOURCE28}
212%__tar -xvf %{SOURCE29}
213%__tar -xvf %{SOURCE30}
214%__tar -xvf %{SOURCE31}
215%__tar -xvf %{SOURCE32}
216%__tar -xvf %{SOURCE33}
217%__tar -xvf %{SOURCE34}
218%__tar -xvf %{SOURCE35}
219%__tar -xvf %{SOURCE36}
220%__tar -xvf %{SOURCE37}
221%__tar -xvf %{SOURCE38}
222%__tar -xvf %{SOURCE39}
223%__tar -xvf %{SOURCE40}
224%__tar -xvf %{SOURCE41}
225%__tar -xvf %{SOURCE42}
226%__tar -xvf %{SOURCE43}
227%__tar -xvf %{SOURCE44}
228%__tar -xvf %{SOURCE45}
229%__tar -xvf %{SOURCE46}
230%__tar -xvf %{SOURCE47}
231%__tar -xvf %{SOURCE48}
232%__tar -xvf %{SOURCE49}
233%__tar -xvf %{SOURCE50}
234%__tar -xvf %{SOURCE51}
235%__tar -xvf %{SOURCE52}
236%__tar -xvf %{SOURCE53}
237%__tar -xvf %{SOURCE54}
238%__tar -xvf %{SOURCE55}
239%__tar -xvf %{SOURCE56}
240%__tar -xvf %{SOURCE57}
241
242%build
243
244%install
245[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
246
247%__mkdir_p %{buildroot}%{_datadir}
248
249## move texmf-dist to /usr/share/texmf-dist
250[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
251
252## move texmf to /usr/share/texmf
253[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
254
255## move tlpkg to /usr/share/tlpkg
256[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
257
258## move all non-arch binaries to /usr/bin
259[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
260
261## move others into /usr/share/texmf-dist
262%__mkdir_p %{buildroot}%{_tl_texmfdist}
263%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
264%__rm -rf * ||:
265
266
267## remove duplicated files between texlive and texlive-collection-*
268## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
269## remove unpacked files
270x=(
271dvipdfmx/dvipdfmx.cfg
272scripts/context/stubs/unix/mtxrun
273scripts/latexmk/latexmk.pl
274scripts/ptex2pdf/ptex2pdf.lua
275scripts/texlive/fmtutil.pl
276scripts/texlive/texconfig-dialog.sh
277scripts/texlive/texconfig-sys.sh
278scripts/texlive/texconfig.sh
279scripts/texlive/texlinks.sh
280scripts/texlive/tlmgr.pl
281scripts/texlive/updmap.pl
282texconfig/tcfmgr
283web2c/fmtutil.cnf
284web2c/mktex.opt
285web2c/mktexdir
286web2c/mktexdir.opt
287web2c/mktexnam
288web2c/mktexnam.opt
289web2c/mktexupd
290web2c/texmf.cnf
291web2c/updmap-hdr.cfg
292web2c/updmap.cfg
293install-tl
294#
295scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
296scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
297scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
298scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
299scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
300scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
301scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
302scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
303scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
304scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
305scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
306scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
307scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
308scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
309scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
310scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
311scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
312scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
313scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
314scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
315scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
316scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
317)
318if [ -d %{buildroot}%{_tl_texmfdist} ]; then
319pushd %{buildroot}%{_tl_texmfdist}
320%__rm -f ${x[@]} ||:
321popd
322fi
323
324## Files list
325find %{buildroot} -type f -or -type l | \
326    %__sed -e "s|%{buildroot}||g" > filelist.full
327
328find %{buildroot}%{_tl_texmfdist} -type d | \
329    %__sed -e "s|^%{buildroot}|%dir |" \
330           -e "s|$|/|"             >> filelist.full
331
332## subpackages
333grep "/texmf-dist/doc/" filelist.full > filelist.doc
334cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
335%__mv -f filelist.tmp filelist.full
336
337%clean
338%__rm -rf %{buildroot}
339
340%post
341%_tl_touch_run texhash
342%_tl_touch_run mtxrun
343
344[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
345
346    %_tl_enable_map KanjiMap otf-cktx.map
347    %_tl_enable_map KanjiMap otf-@kanjiEmbed@.map
348    %_tl_enable_map KanjiMap otf-up-@kanjiEmbed@.map
349    %_tl_enable_map KanjiMap ptex-@kanjiEmbed@@kanjiVariant@.map
350    %_tl_enable_map KanjiMap morisawa.map
351    %_tl_enable_map KanjiMap uptex-@kanjiEmbed@@kanjiVariant@.map
352    %_tl_enable_map Map dgj.map
353    %_tl_enable_map Map dmj.map
354    %_tl_enable_map Map mc2j.map
355    %_tl_enable_map Map mcj.map
356    %_tl_enable_map Map mr2j.map
357    %_tl_enable_map Map mrj.map
358
359%_tl_touch_run fmtutil
360
361exit 0
362
363
364%postun
365if [ "$1" = 0 ]; then
366    %_tl_touch_run texhash
367
368    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
369
370    %_tl_disable_map otf-cktx.map
371    %_tl_disable_map otf-@kanjiEmbed@.map
372    %_tl_disable_map otf-up-@kanjiEmbed@.map
373    %_tl_disable_map ptex-@kanjiEmbed@@kanjiVariant@.map
374    %_tl_disable_map morisawa.map
375    %_tl_disable_map uptex-@kanjiEmbed@@kanjiVariant@.map
376    %_tl_disable_map dgj.map
377    %_tl_disable_map dmj.map
378    %_tl_disable_map mc2j.map
379    %_tl_disable_map mcj.map
380    %_tl_disable_map mr2j.map
381    %_tl_disable_map mrj.map
382
383fi
384
385exit 0
386
387%posttrans
388%{_tl_exec_texhash}
389%{_tl_exec_mtxrun}
390%{_tl_exec_updmap}
391%{_tl_exec_fmtutil}
392exit 0
393
394
395%files -f filelist.full
396%defattr(-,root,root,-)
397
398%files -f filelist.doc doc
399%defattr(-,root,root,-)
400
401%changelog
402* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
403- synced tlnet to 20160510 (TeX Live 2016/pretest)
404
405* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
406- TeX Live 2016/pretest
407- synced tlnet to 20160428 (TeX Live 2016/pretest)
408
409* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
410- remove duplicated files from texlive-collection-*
411- synced tlnet to 20160113 (TeX Live 2015)
412
413* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
414- TeX Live 2016/dev
415- synced tlnet to 20160110 (TeX Live 2016/dev)
416
417* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
418- TeX Live 2015/pretest
419- synced tlnet to 20150522 (TeX Live 2015/pretest)
420
421* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
422- TeX Live 2015/pretest
423- synced tlnet to 20150426 (TeX Live 2015/pretest)
424
425* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
426- synced tlnet to 20150401
427
428* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
429- synced tlnet to 20141028
430
431* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
432- synced tlnet to 20140706
433
434* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
435- upgraded to TeX Live 2014
436
437* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
438- synced tlnet to 20140406
439
440* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
441- synced tlnet to 20131218
442
443* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
444- synced tlnet to 20131101
445
446* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
447- synced tlnet to 20131002
448
449* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
450- synced tlnet to 20130919
451
452* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
453- upgraded to TeX Live 2013
454  - used tlnet archives
455  - synced tlnet to 20130823
456- added macros.texlive
457
458* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
459- updated to TeX Live 2012
460
461* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
462- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
463  - set external dependencies (texlive-collection-binextra,
464    texlive-collection-fontutils)
465
466* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
467- updated to TeX Live 2011
468- merged texlive-vtlpkg-2009-osx.patch from OSXWS
469- added %doc README (%files)
470
471* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
472- applied texlive-vtlpkg-2009-vine.patch
473  - remove arch dependent binaries
474- updated tlpdb2rpmspec.sh.in:
475  - improved tlpdb4a()
476  - make symlinks of core script utils (texlive-collection-binextra,
477    texlive-collection-context, texlive-collection-fontutils,
478    texlive-collection-langgreek, texlive-collection-langindic,
479    texlive-collection-latex, texlive-collection-latexextra,
480    texlive-collection-latexrecommended, texlive-collection-pictures,
481    texlive-collection-pstricks, texlive-collection-science)
482
483* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
484- updated tlpdb2rpmspec.sh.in:
485  - improved %post
486
487* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
488- updated tlpdb2rpmspec.sh.in:
489  - removed arch dependent binaries (texlive-collection-latexextra)
490  - improved updmap process in %post and %postun
491  - fixed perl path
492
493* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
494- initial build
Note: See TracBrowser for help on using the repository browser.