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

Revision 9576, 13.7 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-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: 2015
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: 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: Document classes based on jsclasses.
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: Document classes based on jsclasses.
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=(
265scripts/context/stubs/unix/mtxrun
266scripts/ptex2pdf/ptex2pdf.lua
267scripts/texlive/fmtutil.pl
268scripts/texlive/texconfig-dialog.sh
269scripts/texlive/texconfig-sys.sh
270scripts/texlive/texconfig.sh
271scripts/texlive/texlinks.sh
272scripts/texlive/tlmgr.pl
273scripts/texlive/updmap.pl
274texconfig/tcfmgr
275web2c/fmtutil.cnf
276web2c/mktex.opt
277web2c/mktexdir
278web2c/mktexdir.opt
279web2c/mktexnam
280web2c/mktexnam.opt
281web2c/mktexupd
282web2c/texmf.cnf
283web2c/updmap-hdr.cfg
284web2c/updmap.cfg
285install-tl
286)
287if [ -d %{buildroot}%{_tl_texmfdist} ]; then
288pushd %{buildroot}%{_tl_texmfdist}
289%__rm -f ${x[@]} ||:
290popd
291fi
292
293## Files list
294find %{buildroot} -type f -or -type l | \
295    %__sed -e "s|%{buildroot}||g" > filelist.full
296
297find %{buildroot}%{_tl_texmfdist} -type d | \
298    %__sed -e "s|^%{buildroot}|%dir |" \
299           -e "s|$|/|"             >> filelist.full
300
301## subpackages
302grep "/texmf-dist/doc/" filelist.full > filelist.doc
303cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
304%__mv -f filelist.tmp filelist.full
305
306%clean
307%__rm -rf %{buildroot}
308
309%post
310%_tl_touch_run texhash
311%_tl_touch_run mtxrun
312
313[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
314
315    %_tl_enable_map KanjiMap otf-cktx.map
316    %_tl_enable_map KanjiMap otf-@kanjiEmbed@.map
317    %_tl_enable_map KanjiMap otf-up-@kanjiEmbed@.map
318    %_tl_enable_map KanjiMap ptex-@kanjiEmbed@@kanjiVariant@.map
319    %_tl_enable_map KanjiMap morisawa.map
320    %_tl_enable_map KanjiMap uptex-@kanjiEmbed@@kanjiVariant@.map
321    %_tl_enable_map Map dgj.map
322    %_tl_enable_map Map dmj.map
323    %_tl_enable_map Map mc2j.map
324    %_tl_enable_map Map mcj.map
325    %_tl_enable_map Map mr2j.map
326    %_tl_enable_map Map mrj.map
327
328%_tl_touch_run fmtutil
329
330exit 0
331
332
333%postun
334if [ "$1" = 0 ]; then
335    %_tl_touch_run texhash
336
337    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
338
339    %_tl_disable_map otf-cktx.map
340    %_tl_disable_map otf-@kanjiEmbed@.map
341    %_tl_disable_map otf-up-@kanjiEmbed@.map
342    %_tl_disable_map ptex-@kanjiEmbed@@kanjiVariant@.map
343    %_tl_disable_map morisawa.map
344    %_tl_disable_map uptex-@kanjiEmbed@@kanjiVariant@.map
345    %_tl_disable_map dgj.map
346    %_tl_disable_map dmj.map
347    %_tl_disable_map mc2j.map
348    %_tl_disable_map mcj.map
349    %_tl_disable_map mr2j.map
350    %_tl_disable_map mrj.map
351
352fi
353
354exit 0
355
356%posttrans
357%{_tl_exec_texhash}
358%{_tl_exec_mtxrun}
359%{_tl_exec_updmap}
360%{_tl_exec_fmtutil}
361exit 0
362
363
364%files -f filelist.full
365%defattr(-,root,root,-)
366
367%files -f filelist.doc doc
368%defattr(-,root,root,-)
369
370%changelog
371* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
372- TeX Live 2015/pretest
373- synced tlnet to 20150522 (TeX Live 2015/pretest)
374
375* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
376- TeX Live 2015/pretest
377- synced tlnet to 20150426 (TeX Live 2015/pretest)
378
379* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
380- synced tlnet to 20150401
381
382* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
383- synced tlnet to 20141028
384
385* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
386- synced tlnet to 20140706
387
388* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
389- upgraded to TeX Live 2014
390
391* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
392- synced tlnet to 20140406
393
394* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
395- synced tlnet to 20131218
396
397* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
398- synced tlnet to 20131101
399
400* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
401- synced tlnet to 20131002
402
403* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
404- synced tlnet to 20130919
405
406* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
407- upgraded to TeX Live 2013
408  - used tlnet archives
409  - synced tlnet to 20130823
410- added macros.texlive
411
412* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
413- updated to TeX Live 2012
414
415* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
416- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
417  - set external dependencies (texlive-collection-binextra,
418    texlive-collection-fontutils)
419
420* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
421- updated to TeX Live 2011
422- merged texlive-vtlpkg-2009-osx.patch from OSXWS
423- added %doc README (%files)
424
425* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
426- applied texlive-vtlpkg-2009-vine.patch
427  - remove arch dependent binaries
428- updated tlpdb2rpmspec.sh.in:
429  - improved tlpdb4a()
430  - make symlinks of core script utils (texlive-collection-binextra,
431    texlive-collection-context, texlive-collection-fontutils,
432    texlive-collection-langgreek, texlive-collection-langindic,
433    texlive-collection-latex, texlive-collection-latexextra,
434    texlive-collection-latexrecommended, texlive-collection-pictures,
435    texlive-collection-pstricks, texlive-collection-science)
436
437* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
438- updated tlpdb2rpmspec.sh.in:
439  - improved %post
440
441* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
442- updated tlpdb2rpmspec.sh.in:
443  - removed arch dependent binaries (texlive-collection-latexextra)
444  - improved updmap process in %post and %postun
445  - fixed perl path
446
447* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
448- initial build
Note: See TracBrowser for help on using the repository browser.