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

Revision 9034, 11.0 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20141028

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-3:
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: 2014
13Release: 3%{?_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.source.tar.xz
58Source40: pxchfon.tar.xz
59Source41: pxcjkcat.doc.tar.xz
60Source42: pxcjkcat.tar.xz
61Source43: pxjahyper.doc.tar.xz
62Source44: pxjahyper.tar.xz
63Source45: pxrubrica.doc.tar.xz
64Source46: pxrubrica.source.tar.xz
65Source47: pxrubrica.tar.xz
66Source48: uptex.doc.tar.xz
67Source49: uptex.source.tar.xz
68Source50: uptex.tar.xz
69Source51: wadalab.doc.tar.xz
70Source52: wadalab.tar.xz
71Source53: zxjafbfont.doc.tar.xz
72Source54: zxjafbfont.tar.xz
73Source55: zxjatype.doc.tar.xz
74Source56: zxjatype.tar.xz
75
76Requires: texlive = %{version}
77Requires: texlive-collection-langcjk = %{version}
78
79Requires(post):         texlive = %{version}
80Requires(postun):       texlive = %{version}
81
82BuildArch:      noarch
83Buildroot:      %{_tmppath}/%{name}-%{version}-root
84
85Vendor:         Project Vine
86Distribution:   Vine Linux
87Packager:       munepi
88
89%description
90The TeX Live software distribution offers a complete TeX system for a
91variety of Unix, Macintosh, Windows and other platforms. It
92encompasses programs for editing, typesetting, previewing and printing
93of TeX documents in many different languages, and a large collection
94of TeX macros and font libraries.
95
96The distribution includes extensive general documentation about TeX,
97as well as the documentation for the included software packages.
98
99This package is a collection of Japanese:
100Support for Japanese; additional packages in collection-
101langcjk.
102
103This package contains the following CTAN packages:
104bxbase: BX bundle base components.
105bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK.
106bxjscls: Document classes based on jsclasses.
107convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref.
108ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan.
109japanese: A substitute for a babel package for Japanese.
110japanese-otf: Advanced font selection for platex and its friends.
111japanese-otf-uptex: Support for Japanese OTF files in upLaTeX.
112jfontmaps: Font maps and configuration tools for Japanese fonts.
113jsclasses: Classes tailored for use with Japanese.
114lshort-japanese: Japanese version of A Short Introduction to LaTeX2e
115luatexja: Typeset Japanese with lua(la)tex.
116ptex: A TeX system for publishing in Japanese.
117ptex2pdf: Convert Japanese TeX documents to PDF.
118pxbase: Tools for use with (u)pLaTeX.
119pxchfon: Japanese font setup for pLaTeX and upLaTeX.
120pxcjkcat: LaTeX interface for the CJK category codes of upTeX.
121pxjahyper: Hyperref support for pLaTeX.
122pxrubrica:
123uptex: Unicode version of pTeX.
124wadalab: Wadalab (Japanese) font packages.
125zxjafbfont: Fallback CJK font support for xeCJK.
126zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX.
127
128%description -l ja
129TeX Live ソフトウェアディストリビューションは、
130さまざまな Unix, Macintosh, Windows、および
131他のプラットホームに対して完全な TeX システムを提供します。
132多くの異なった言語を含む TeX ドキュメントの
133編集、組版、閲覧、印刷するためのプログラム、
134そして、TeX マクロやフォントライブラリの大きなコレクションを
135同梱しています。
136
137このディストリビューションは
138同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
139TeX に関するたくさんの一般的なドキュメントを含んでいます。
140
141このパッケージは以下のようなパッケージ集です。
142Japanese:
143Support for Japanese; additional packages in collection-
144langcjk.
145
146このパッケージは以下の CTAN パッケージを含んでいます:
147bxbase: BX bundle base components.
148bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK.
149bxjscls: Document classes based on jsclasses.
150convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref.
151ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan.
152japanese: A substitute for a babel package for Japanese.
153japanese-otf: Advanced font selection for platex and its friends.
154japanese-otf-uptex: Support for Japanese OTF files in upLaTeX.
155jfontmaps: Font maps and configuration tools for Japanese fonts.
156jsclasses: Classes tailored for use with Japanese.
157lshort-japanese: Japanese version of A Short Introduction to LaTeX2e
158luatexja: Typeset Japanese with lua(la)tex.
159ptex: A TeX system for publishing in Japanese.
160ptex2pdf: Convert Japanese TeX documents to PDF.
161pxbase: Tools for use with (u)pLaTeX.
162pxchfon: Japanese font setup for pLaTeX and upLaTeX.
163pxcjkcat: LaTeX interface for the CJK category codes of upTeX.
164pxjahyper: Hyperref support for pLaTeX.
165pxrubrica:
166uptex: Unicode version of pTeX.
167wadalab: Wadalab (Japanese) font packages.
168zxjafbfont: Fallback CJK font support for xeCJK.
169zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX.
170
171%package doc
172Summary: TeX Live: Documentation files of %{name}
173Group: Applications/Publishing
174Requires: %{name} = %{version}-%{release}
175
176%description doc
177This package contains documentation files of %{name}.
178
179%prep
180%setup -c -n %{name}-%{version}
181%__tar -xvf %{SOURCE1}
182%__tar -xvf %{SOURCE2}
183%__tar -xvf %{SOURCE3}
184%__tar -xvf %{SOURCE4}
185%__tar -xvf %{SOURCE5}
186%__tar -xvf %{SOURCE6}
187%__tar -xvf %{SOURCE7}
188%__tar -xvf %{SOURCE8}
189%__tar -xvf %{SOURCE9}
190%__tar -xvf %{SOURCE10}
191%__tar -xvf %{SOURCE11}
192%__tar -xvf %{SOURCE12}
193%__tar -xvf %{SOURCE13}
194%__tar -xvf %{SOURCE14}
195%__tar -xvf %{SOURCE15}
196%__tar -xvf %{SOURCE16}
197%__tar -xvf %{SOURCE17}
198%__tar -xvf %{SOURCE18}
199%__tar -xvf %{SOURCE19}
200%__tar -xvf %{SOURCE20}
201%__tar -xvf %{SOURCE21}
202%__tar -xvf %{SOURCE22}
203%__tar -xvf %{SOURCE23}
204%__tar -xvf %{SOURCE24}
205%__tar -xvf %{SOURCE25}
206%__tar -xvf %{SOURCE26}
207%__tar -xvf %{SOURCE27}
208%__tar -xvf %{SOURCE28}
209%__tar -xvf %{SOURCE29}
210%__tar -xvf %{SOURCE30}
211%__tar -xvf %{SOURCE31}
212%__tar -xvf %{SOURCE32}
213%__tar -xvf %{SOURCE33}
214%__tar -xvf %{SOURCE34}
215%__tar -xvf %{SOURCE35}
216%__tar -xvf %{SOURCE36}
217%__tar -xvf %{SOURCE37}
218%__tar -xvf %{SOURCE38}
219%__tar -xvf %{SOURCE39}
220%__tar -xvf %{SOURCE40}
221%__tar -xvf %{SOURCE41}
222%__tar -xvf %{SOURCE42}
223%__tar -xvf %{SOURCE43}
224%__tar -xvf %{SOURCE44}
225%__tar -xvf %{SOURCE45}
226%__tar -xvf %{SOURCE46}
227%__tar -xvf %{SOURCE47}
228%__tar -xvf %{SOURCE48}
229%__tar -xvf %{SOURCE49}
230%__tar -xvf %{SOURCE50}
231%__tar -xvf %{SOURCE51}
232%__tar -xvf %{SOURCE52}
233%__tar -xvf %{SOURCE53}
234%__tar -xvf %{SOURCE54}
235%__tar -xvf %{SOURCE55}
236%__tar -xvf %{SOURCE56}
237
238%build
239
240%install
241[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
242
243%__mkdir_p %{buildroot}%{_datadir}
244
245## move texmf-dist to /usr/share/texmf-dist
246[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
247
248## move texmf to /usr/share/texmf
249[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
250
251## move tlpkg to /usr/share/tlpkg
252[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
253
254## move all non-arch binaries to /usr/bin
255[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
256
257## move others into /usr/share/texmf-dist
258%__mkdir_p %{buildroot}%{_tl_texmfdist}
259%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
260%__rm -rf * ||:
261
262
263## remove duplicated files between texlive and texlive-collection-*
264## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
265## remove unpacked files
266x=(
267scripts/epstopdf/epstopdf.pl
268scripts/texlive/fmtutil.sh
269texconfig/tcfmgr
270web2c/texmf.cnf
271web2c/updmap-hdr.cfg
272web2c/updmap.cfg
273install-tl
274)
275if [ -d %{buildroot}%{_tl_texmfdist} ]; then
276pushd %{buildroot}%{_tl_texmfdist}
277%__rm -f ${x[@]} ||:
278popd
279fi
280
281## Files list
282find %{buildroot} -type f -or -type l | \
283    %__sed -e "s|%{buildroot}||g" > filelist.full
284
285find %{buildroot}%{_tl_texmfdist} -type d | \
286    %__sed -e "s|^%{buildroot}|%dir |" \
287           -e "s|$|/|"             >> filelist.full
288
289## subpackages
290grep "/texmf-dist/doc/" filelist.full > filelist.doc
291cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
292%__mv -f filelist.tmp filelist.full
293
294%clean
295%__rm -rf %{buildroot}
296
297%post
298%_tl_touch_run texhash
299%_tl_touch_run mtxrun
300
301[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
302
303    %_tl_enable_map KanjiMap otf-cktx.map
304    %_tl_enable_map KanjiMap otf-@kanjiEmbed@.map
305    %_tl_enable_map KanjiMap otf-up-@kanjiEmbed@.map
306    %_tl_enable_map KanjiMap ptex-@kanjiEmbed@@kanjiVariant@.map
307    %_tl_enable_map KanjiMap morisawa.map
308    %_tl_enable_map KanjiMap uptex-@kanjiEmbed@@kanjiVariant@.map
309    %_tl_enable_map Map dgj.map
310    %_tl_enable_map Map dmj.map
311    %_tl_enable_map Map mc2j.map
312    %_tl_enable_map Map mcj.map
313    %_tl_enable_map Map mr2j.map
314    %_tl_enable_map Map mrj.map
315
316%_tl_touch_run fmtutil
317
318exit 0
319
320
321%postun
322if [ "$1" = 0 ]; then
323    %_tl_touch_run texhash
324
325    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
326
327    %_tl_disable_map otf-cktx.map
328    %_tl_disable_map otf-@kanjiEmbed@.map
329    %_tl_disable_map otf-up-@kanjiEmbed@.map
330    %_tl_disable_map ptex-@kanjiEmbed@@kanjiVariant@.map
331    %_tl_disable_map morisawa.map
332    %_tl_disable_map uptex-@kanjiEmbed@@kanjiVariant@.map
333    %_tl_disable_map dgj.map
334    %_tl_disable_map dmj.map
335    %_tl_disable_map mc2j.map
336    %_tl_disable_map mcj.map
337    %_tl_disable_map mr2j.map
338    %_tl_disable_map mrj.map
339
340fi
341
342exit 0
343
344%posttrans
345%{_tl_exec_texhash}
346%{_tl_exec_mtxrun}
347%{_tl_exec_updmap}
348%{_tl_exec_fmtutil}
349exit 0
350
351
352%files -f filelist.full
353%defattr(-,root,root,-)
354
355%files -f filelist.doc doc
356%defattr(-,root,root,-)
357
358%changelog
359* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
360- synced tlnet to 20141028
361
362* Sun Jul  6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
363- synced tlnet to 20140706
364
365* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
366- synced tlnet to 20140524
Note: See TracBrowser for help on using the repository browser.