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

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

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

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