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 | |
---|
9 | Summary: TeX Live: Japanese |
---|
10 | Summary(ja): TeX Live: Japanese |
---|
11 | Name: texlive-collection-langjapanese |
---|
12 | Version: 2014 |
---|
13 | Release: 3%{?_dist_release} |
---|
14 | License: Freely redistributable without restriction, LPPL, BSD, GPL+, GPLv2+ |
---|
15 | Group: Applications/Publishing |
---|
16 | URL:http://www.tug.org/texlive/ |
---|
17 | |
---|
18 | Source0: bxbase.doc.tar.xz |
---|
19 | Source1: bxbase.tar.xz |
---|
20 | Source2: bxcjkjatype.doc.tar.xz |
---|
21 | Source3: bxcjkjatype.tar.xz |
---|
22 | Source4: bxjscls.doc.tar.xz |
---|
23 | Source5: bxjscls.source.tar.xz |
---|
24 | Source6: bxjscls.tar.xz |
---|
25 | Source7: convbkmk.doc.tar.xz |
---|
26 | Source8: convbkmk.tar.xz |
---|
27 | Source9: ipaex.doc.tar.xz |
---|
28 | Source10: ipaex.tar.xz |
---|
29 | Source11: japanese.doc.tar.xz |
---|
30 | Source12: japanese.source.tar.xz |
---|
31 | Source13: japanese.tar.xz |
---|
32 | Source14: japanese-otf.doc.tar.xz |
---|
33 | Source15: japanese-otf.source.tar.xz |
---|
34 | Source16: japanese-otf.tar.xz |
---|
35 | Source17: japanese-otf-uptex.doc.tar.xz |
---|
36 | Source18: japanese-otf-uptex.source.tar.xz |
---|
37 | Source19: japanese-otf-uptex.tar.xz |
---|
38 | Source20: jfontmaps.doc.tar.xz |
---|
39 | Source21: jfontmaps.source.tar.xz |
---|
40 | Source22: jfontmaps.tar.xz |
---|
41 | Source23: jsclasses.doc.tar.xz |
---|
42 | Source24: jsclasses.source.tar.xz |
---|
43 | Source25: jsclasses.tar.xz |
---|
44 | Source26: lshort-japanese.doc.tar.xz |
---|
45 | Source27: lshort-japanese.tar.xz |
---|
46 | Source28: luatexja.doc.tar.xz |
---|
47 | Source29: luatexja.source.tar.xz |
---|
48 | Source30: luatexja.tar.xz |
---|
49 | Source31: ptex.doc.tar.xz |
---|
50 | Source32: ptex.source.tar.xz |
---|
51 | Source33: ptex.tar.xz |
---|
52 | Source34: ptex2pdf.doc.tar.xz |
---|
53 | Source35: ptex2pdf.tar.xz |
---|
54 | Source36: pxbase.doc.tar.xz |
---|
55 | Source37: pxbase.tar.xz |
---|
56 | Source38: pxchfon.doc.tar.xz |
---|
57 | Source39: pxchfon.source.tar.xz |
---|
58 | Source40: pxchfon.tar.xz |
---|
59 | Source41: pxcjkcat.doc.tar.xz |
---|
60 | Source42: pxcjkcat.tar.xz |
---|
61 | Source43: pxjahyper.doc.tar.xz |
---|
62 | Source44: pxjahyper.tar.xz |
---|
63 | Source45: pxrubrica.doc.tar.xz |
---|
64 | Source46: pxrubrica.source.tar.xz |
---|
65 | Source47: pxrubrica.tar.xz |
---|
66 | Source48: uptex.doc.tar.xz |
---|
67 | Source49: uptex.source.tar.xz |
---|
68 | Source50: uptex.tar.xz |
---|
69 | Source51: wadalab.doc.tar.xz |
---|
70 | Source52: wadalab.tar.xz |
---|
71 | Source53: zxjafbfont.doc.tar.xz |
---|
72 | Source54: zxjafbfont.tar.xz |
---|
73 | Source55: zxjatype.doc.tar.xz |
---|
74 | Source56: zxjatype.tar.xz |
---|
75 | |
---|
76 | Requires: texlive = %{version} |
---|
77 | Requires: texlive-collection-langcjk = %{version} |
---|
78 | |
---|
79 | Requires(post): texlive = %{version} |
---|
80 | Requires(postun): texlive = %{version} |
---|
81 | |
---|
82 | BuildArch: noarch |
---|
83 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
84 | |
---|
85 | Vendor: Project Vine |
---|
86 | Distribution: Vine Linux |
---|
87 | Packager: munepi |
---|
88 | |
---|
89 | %description |
---|
90 | The TeX Live software distribution offers a complete TeX system for a |
---|
91 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
92 | encompasses programs for editing, typesetting, previewing and printing |
---|
93 | of TeX documents in many different languages, and a large collection |
---|
94 | of TeX macros and font libraries. |
---|
95 | |
---|
96 | The distribution includes extensive general documentation about TeX, |
---|
97 | as well as the documentation for the included software packages. |
---|
98 | |
---|
99 | This package is a collection of Japanese: |
---|
100 | Support for Japanese; additional packages in collection- |
---|
101 | langcjk. |
---|
102 | |
---|
103 | This package contains the following CTAN packages: |
---|
104 | bxbase: BX bundle base components. |
---|
105 | bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK. |
---|
106 | bxjscls: Document classes based on jsclasses. |
---|
107 | convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref. |
---|
108 | ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan. |
---|
109 | japanese: A substitute for a babel package for Japanese. |
---|
110 | japanese-otf: Advanced font selection for platex and its friends. |
---|
111 | japanese-otf-uptex: Support for Japanese OTF files in upLaTeX. |
---|
112 | jfontmaps: Font maps and configuration tools for Japanese fonts. |
---|
113 | jsclasses: Classes tailored for use with Japanese. |
---|
114 | lshort-japanese: Japanese version of A Short Introduction to LaTeX2e |
---|
115 | luatexja: Typeset Japanese with lua(la)tex. |
---|
116 | ptex: A TeX system for publishing in Japanese. |
---|
117 | ptex2pdf: Convert Japanese TeX documents to PDF. |
---|
118 | pxbase: Tools for use with (u)pLaTeX. |
---|
119 | pxchfon: Japanese font setup for pLaTeX and upLaTeX. |
---|
120 | pxcjkcat: LaTeX interface for the CJK category codes of upTeX. |
---|
121 | pxjahyper: Hyperref support for pLaTeX. |
---|
122 | pxrubrica: |
---|
123 | uptex: Unicode version of pTeX. |
---|
124 | wadalab: Wadalab (Japanese) font packages. |
---|
125 | zxjafbfont: Fallback CJK font support for xeCJK. |
---|
126 | zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX. |
---|
127 | |
---|
128 | %description -l ja |
---|
129 | TeX Live ソフトウェアディストリビューションは、 |
---|
130 | さまざまな Unix, Macintosh, Windows、および |
---|
131 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
132 | 多くの異なった言語を含む TeX ドキュメントの |
---|
133 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
134 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
135 | 同梱しています。 |
---|
136 | |
---|
137 | このディストリビューションは |
---|
138 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
139 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
140 | |
---|
141 | このパッケージは以下のようなパッケージ集です。 |
---|
142 | Japanese: |
---|
143 | Support for Japanese; additional packages in collection- |
---|
144 | langcjk. |
---|
145 | |
---|
146 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
147 | bxbase: BX bundle base components. |
---|
148 | bxcjkjatype: Typeset Japanese with pdfLaTeX and CJK. |
---|
149 | bxjscls: Document classes based on jsclasses. |
---|
150 | convbkmk: Correct platex/uplatex bookmarks in PDF created with hyperref. |
---|
151 | ipaex: IPA and IPAex fonts from Information-technology Promotion Agency, Japan. |
---|
152 | japanese: A substitute for a babel package for Japanese. |
---|
153 | japanese-otf: Advanced font selection for platex and its friends. |
---|
154 | japanese-otf-uptex: Support for Japanese OTF files in upLaTeX. |
---|
155 | jfontmaps: Font maps and configuration tools for Japanese fonts. |
---|
156 | jsclasses: Classes tailored for use with Japanese. |
---|
157 | lshort-japanese: Japanese version of A Short Introduction to LaTeX2e |
---|
158 | luatexja: Typeset Japanese with lua(la)tex. |
---|
159 | ptex: A TeX system for publishing in Japanese. |
---|
160 | ptex2pdf: Convert Japanese TeX documents to PDF. |
---|
161 | pxbase: Tools for use with (u)pLaTeX. |
---|
162 | pxchfon: Japanese font setup for pLaTeX and upLaTeX. |
---|
163 | pxcjkcat: LaTeX interface for the CJK category codes of upTeX. |
---|
164 | pxjahyper: Hyperref support for pLaTeX. |
---|
165 | pxrubrica: |
---|
166 | uptex: Unicode version of pTeX. |
---|
167 | wadalab: Wadalab (Japanese) font packages. |
---|
168 | zxjafbfont: Fallback CJK font support for xeCJK. |
---|
169 | zxjatype: Standard conforming typesetting of Japanese, for XeLaTeX. |
---|
170 | |
---|
171 | %package doc |
---|
172 | Summary: TeX Live: Documentation files of %{name} |
---|
173 | Group: Applications/Publishing |
---|
174 | Requires: %{name} = %{version}-%{release} |
---|
175 | |
---|
176 | %description doc |
---|
177 | This 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 |
---|
266 | x=( |
---|
267 | scripts/epstopdf/epstopdf.pl |
---|
268 | scripts/texlive/fmtutil.sh |
---|
269 | texconfig/tcfmgr |
---|
270 | web2c/texmf.cnf |
---|
271 | web2c/updmap-hdr.cfg |
---|
272 | web2c/updmap.cfg |
---|
273 | install-tl |
---|
274 | ) |
---|
275 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
276 | pushd %{buildroot}%{_tl_texmfdist} |
---|
277 | %__rm -f ${x[@]} ||: |
---|
278 | popd |
---|
279 | fi |
---|
280 | |
---|
281 | ## Files list |
---|
282 | find %{buildroot} -type f -or -type l | \ |
---|
283 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
284 | |
---|
285 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
286 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
287 | -e "s|$|/|" >> filelist.full |
---|
288 | |
---|
289 | ## subpackages |
---|
290 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
291 | cat 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 | |
---|
318 | exit 0 |
---|
319 | |
---|
320 | |
---|
321 | %postun |
---|
322 | if [ "$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 | |
---|
340 | fi |
---|
341 | |
---|
342 | exit 0 |
---|
343 | |
---|
344 | %posttrans |
---|
345 | %{_tl_exec_texhash} |
---|
346 | %{_tl_exec_mtxrun} |
---|
347 | %{_tl_exec_updmap} |
---|
348 | %{_tl_exec_fmtutil} |
---|
349 | exit 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 |
---|