1 | ## -*- coding: utf-8-unix -*- |
---|
2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5: |
---|
3 | ## tlpdb2rpmspec collection-basic |
---|
4 | |
---|
5 | %global _use_internal_dependency_generator 0 |
---|
6 | %global __find_provides %{nil} |
---|
7 | %global __find_requires %{nil} |
---|
8 | |
---|
9 | Summary: TeX Live: Essential programs and files |
---|
10 | Summary(ja): TeX Live: Essential programs and files |
---|
11 | Name: texlive-collection-basic |
---|
12 | Version: 2013 |
---|
13 | Release: 5%{?_dist_release} |
---|
14 | License: OFSFLD, Knuth, GPL+, LPPL, Freely redistributable without restriction, LPPL 1.3, LGPLv2+ |
---|
15 | Group: Applications/Publishing |
---|
16 | URL:http://www.tug.org/texlive/ |
---|
17 | |
---|
18 | Source0: texlive.infra.doc.tar.xz |
---|
19 | Source1: texlive.infra.tar.xz |
---|
20 | Source2: amsfonts.doc.tar.xz |
---|
21 | Source3: amsfonts.source.tar.xz |
---|
22 | Source4: amsfonts.tar.xz |
---|
23 | Source5: bibtex.doc.tar.xz |
---|
24 | Source6: bibtex.tar.xz |
---|
25 | Source7: cm.doc.tar.xz |
---|
26 | Source8: cm.tar.xz |
---|
27 | Source9: dvipdfmx.doc.tar.xz |
---|
28 | Source10: dvipdfmx.tar.xz |
---|
29 | Source11: dvipdfmx-def.tar.xz |
---|
30 | Source12: dvips.doc.tar.xz |
---|
31 | Source13: dvips.tar.xz |
---|
32 | Source14: enctex.doc.tar.xz |
---|
33 | Source15: enctex.tar.xz |
---|
34 | Source16: etex.doc.tar.xz |
---|
35 | Source17: etex.tar.xz |
---|
36 | Source18: etex-pkg.doc.tar.xz |
---|
37 | Source19: etex-pkg.tar.xz |
---|
38 | Source20: glyphlist.tar.xz |
---|
39 | Source21: gsftopk.doc.tar.xz |
---|
40 | Source22: gsftopk.tar.xz |
---|
41 | Source23: hyph-utf8.doc.tar.xz |
---|
42 | Source24: hyph-utf8.source.tar.xz |
---|
43 | Source25: hyph-utf8.tar.xz |
---|
44 | Source26: hyphen-base.tar.xz |
---|
45 | Source27: ifluatex.doc.tar.xz |
---|
46 | Source28: ifluatex.source.tar.xz |
---|
47 | Source29: ifluatex.tar.xz |
---|
48 | Source30: ifxetex.doc.tar.xz |
---|
49 | Source31: ifxetex.source.tar.xz |
---|
50 | Source32: ifxetex.tar.xz |
---|
51 | Source33: kpathsea.doc.tar.xz |
---|
52 | Source34: kpathsea.tar.xz |
---|
53 | Source35: lua-alt-getopt.doc.tar.xz |
---|
54 | Source36: lua-alt-getopt.tar.xz |
---|
55 | Source37: luatex.doc.tar.xz |
---|
56 | Source38: luatex.tar.xz |
---|
57 | Source39: makeindex.doc.tar.xz |
---|
58 | Source40: makeindex.tar.xz |
---|
59 | Source41: metafont.doc.tar.xz |
---|
60 | Source42: metafont.tar.xz |
---|
61 | Source43: mflogo.doc.tar.xz |
---|
62 | Source44: mflogo.source.tar.xz |
---|
63 | Source45: mflogo.tar.xz |
---|
64 | Source46: mfware.doc.tar.xz |
---|
65 | Source47: mfware.tar.xz |
---|
66 | Source48: misc.tar.xz |
---|
67 | Source49: pdftex.doc.tar.xz |
---|
68 | Source50: pdftex.tar.xz |
---|
69 | Source51: plain.tar.xz |
---|
70 | Source52: tetex.doc.tar.xz |
---|
71 | Source53: tetex.tar.xz |
---|
72 | Source54: tex.doc.tar.xz |
---|
73 | Source55: tex.tar.xz |
---|
74 | Source56: texconfig.doc.tar.xz |
---|
75 | Source57: texconfig.tar.xz |
---|
76 | Source58: texlive-common.doc.tar.xz |
---|
77 | Source59: texlive-common.tar.xz |
---|
78 | Source60: texlive-docindex.doc.tar.xz |
---|
79 | Source61: texlive-docindex.tar.xz |
---|
80 | Source62: texlive-en.doc.tar.xz |
---|
81 | Source63: texlive-en.tar.xz |
---|
82 | Source64: texlive-msg-translations.tar.xz |
---|
83 | Source65: texlive-scripts.doc.tar.xz |
---|
84 | Source66: texlive-scripts.tar.xz |
---|
85 | Source67: xdvi.doc.tar.xz |
---|
86 | Source68: xdvi.tar.xz |
---|
87 | |
---|
88 | Requires: texlive = %{version} |
---|
89 | |
---|
90 | |
---|
91 | Requires(post): texlive = %{version} |
---|
92 | Requires(postun): texlive = %{version} |
---|
93 | |
---|
94 | BuildArch: noarch |
---|
95 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
96 | |
---|
97 | Vendor: Project Vine |
---|
98 | Distribution: Vine Linux |
---|
99 | Packager: munepi |
---|
100 | |
---|
101 | %description |
---|
102 | The TeX Live software distribution offers a complete TeX system for a |
---|
103 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
104 | encompasses programs for editing, typesetting, previewing and printing |
---|
105 | of TeX documents in many different languages, and a large collection |
---|
106 | of TeX macros and font libraries. |
---|
107 | |
---|
108 | The distribution includes extensive general documentation about TeX, |
---|
109 | as well as the documentation for the included software packages. |
---|
110 | |
---|
111 | This package is a collection of Essential programs and files: |
---|
112 | These files are regarded as basic for any TeX system, covering |
---|
113 | plain TeX macros, Computer Modern fonts, and configuration for |
---|
114 | common drivers; no LaTeX. |
---|
115 | |
---|
116 | This package contains the following CTAN packages: |
---|
117 | texlive.infra: basic TeX Live infrastructure |
---|
118 | amsfonts: TeX fonts from the American Mathematical Society. |
---|
119 | bibtex: Process bibliographies for LaTeX, etc. |
---|
120 | cm: Computer Modern fonts. |
---|
121 | dvipdfmx: An extended version of dvipdfm. |
---|
122 | dvipdfmx-def: Configuration file for dvipdfmx graphics. |
---|
123 | dvips: A DVI to PostScript driver. |
---|
124 | enctex: A TeX extension that translates input on its way into TeX. |
---|
125 | etex: An extended version of TeX, from the NTS project. |
---|
126 | etex-pkg: E-TeX support package. |
---|
127 | glyphlist: |
---|
128 | gsftopk: Convert "ghostscript fonts" to PK files. |
---|
129 | hyph-utf8: Hyphenation patterns expressed in UTF-8. |
---|
130 | hyphen-base: |
---|
131 | ifluatex: Provides the ifluatex switch. |
---|
132 | ifxetex: Am I running under XeTeX? |
---|
133 | kpathsea: Path searching library for TeX-related files. |
---|
134 | lua-alt-getopt: Process application arguments the same way as getopt_long. |
---|
135 | luatex: The LuaTeX engine. |
---|
136 | makeindex: Process index output to produce typesettable code. |
---|
137 | metafont: A system for specifying fonts. |
---|
138 | mflogo: LaTeX support for MetaFont logo fonts. |
---|
139 | mfware: Supporting tools for use with Metafont. |
---|
140 | misc: |
---|
141 | pdftex: A TeX extension for direct creation of PDF. |
---|
142 | plain: |
---|
143 | tetex: scripts and files originally written for or included in teTeX |
---|
144 | tex: A sophisticated typesetting engine. |
---|
145 | texconfig: |
---|
146 | texlive-common: TeX Live documentation (common elements) |
---|
147 | texlive-docindex: top-level TeX Live doc.html, etc. |
---|
148 | texlive-en: TeX Live manual (English) |
---|
149 | texlive-msg-translations: translations of the TeX Live installer and TeX Live Manager |
---|
150 | texlive-scripts: TeX Live infrastructure programs |
---|
151 | xdvi: A DVI previewer for the X Window System. |
---|
152 | |
---|
153 | %description -l ja |
---|
154 | TeX Live ソフトウェアディストリビューションは、 |
---|
155 | さまざまな Unix, Macintosh, Windows、および |
---|
156 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
157 | 多くの異なった言語を含む TeX ドキュメントの |
---|
158 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
159 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
160 | 同梱しています。 |
---|
161 | |
---|
162 | このディストリビューションは |
---|
163 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
164 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
165 | |
---|
166 | このパッケージは以下のようなパッケージ集です。 |
---|
167 | Essential programs and files: |
---|
168 | These files are regarded as basic for any TeX system, covering |
---|
169 | plain TeX macros, Computer Modern fonts, and configuration for |
---|
170 | common drivers; no LaTeX. |
---|
171 | |
---|
172 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
173 | texlive.infra: basic TeX Live infrastructure |
---|
174 | amsfonts: TeX fonts from the American Mathematical Society. |
---|
175 | bibtex: Process bibliographies for LaTeX, etc. |
---|
176 | cm: Computer Modern fonts. |
---|
177 | dvipdfmx: An extended version of dvipdfm. |
---|
178 | dvipdfmx-def: Configuration file for dvipdfmx graphics. |
---|
179 | dvips: A DVI to PostScript driver. |
---|
180 | enctex: A TeX extension that translates input on its way into TeX. |
---|
181 | etex: An extended version of TeX, from the NTS project. |
---|
182 | etex-pkg: E-TeX support package. |
---|
183 | glyphlist: |
---|
184 | gsftopk: Convert "ghostscript fonts" to PK files. |
---|
185 | hyph-utf8: Hyphenation patterns expressed in UTF-8. |
---|
186 | hyphen-base: |
---|
187 | ifluatex: Provides the ifluatex switch. |
---|
188 | ifxetex: Am I running under XeTeX? |
---|
189 | kpathsea: Path searching library for TeX-related files. |
---|
190 | lua-alt-getopt: Process application arguments the same way as getopt_long. |
---|
191 | luatex: The LuaTeX engine. |
---|
192 | makeindex: Process index output to produce typesettable code. |
---|
193 | metafont: A system for specifying fonts. |
---|
194 | mflogo: LaTeX support for MetaFont logo fonts. |
---|
195 | mfware: Supporting tools for use with Metafont. |
---|
196 | misc: |
---|
197 | pdftex: A TeX extension for direct creation of PDF. |
---|
198 | plain: |
---|
199 | tetex: scripts and files originally written for or included in teTeX |
---|
200 | tex: A sophisticated typesetting engine. |
---|
201 | texconfig: |
---|
202 | texlive-common: TeX Live documentation (common elements) |
---|
203 | texlive-docindex: top-level TeX Live doc.html, etc. |
---|
204 | texlive-en: TeX Live manual (English) |
---|
205 | texlive-msg-translations: translations of the TeX Live installer and TeX Live Manager |
---|
206 | texlive-scripts: TeX Live infrastructure programs |
---|
207 | xdvi: A DVI previewer for the X Window System. |
---|
208 | |
---|
209 | %package doc |
---|
210 | Summary: TeX Live: Documentation files of %{name} |
---|
211 | Group: Applications/Publishing |
---|
212 | Requires: %{name} = %{version}-%{release} |
---|
213 | |
---|
214 | %description doc |
---|
215 | This package contains documentation files of %{name}. |
---|
216 | |
---|
217 | %prep |
---|
218 | %setup -c -n %{name}-%{version} |
---|
219 | %__tar -xvf %{SOURCE1} |
---|
220 | %__tar -xvf %{SOURCE2} |
---|
221 | %__tar -xvf %{SOURCE3} |
---|
222 | %__tar -xvf %{SOURCE4} |
---|
223 | %__tar -xvf %{SOURCE5} |
---|
224 | %__tar -xvf %{SOURCE6} |
---|
225 | %__tar -xvf %{SOURCE7} |
---|
226 | %__tar -xvf %{SOURCE8} |
---|
227 | %__tar -xvf %{SOURCE9} |
---|
228 | %__tar -xvf %{SOURCE10} |
---|
229 | %__tar -xvf %{SOURCE11} |
---|
230 | %__tar -xvf %{SOURCE12} |
---|
231 | %__tar -xvf %{SOURCE13} |
---|
232 | %__tar -xvf %{SOURCE14} |
---|
233 | %__tar -xvf %{SOURCE15} |
---|
234 | %__tar -xvf %{SOURCE16} |
---|
235 | %__tar -xvf %{SOURCE17} |
---|
236 | %__tar -xvf %{SOURCE18} |
---|
237 | %__tar -xvf %{SOURCE19} |
---|
238 | %__tar -xvf %{SOURCE20} |
---|
239 | %__tar -xvf %{SOURCE21} |
---|
240 | %__tar -xvf %{SOURCE22} |
---|
241 | %__tar -xvf %{SOURCE23} |
---|
242 | %__tar -xvf %{SOURCE24} |
---|
243 | %__tar -xvf %{SOURCE25} |
---|
244 | %__tar -xvf %{SOURCE26} |
---|
245 | %__tar -xvf %{SOURCE27} |
---|
246 | %__tar -xvf %{SOURCE28} |
---|
247 | %__tar -xvf %{SOURCE29} |
---|
248 | %__tar -xvf %{SOURCE30} |
---|
249 | %__tar -xvf %{SOURCE31} |
---|
250 | %__tar -xvf %{SOURCE32} |
---|
251 | %__tar -xvf %{SOURCE33} |
---|
252 | %__tar -xvf %{SOURCE34} |
---|
253 | %__tar -xvf %{SOURCE35} |
---|
254 | %__tar -xvf %{SOURCE36} |
---|
255 | %__tar -xvf %{SOURCE37} |
---|
256 | %__tar -xvf %{SOURCE38} |
---|
257 | %__tar -xvf %{SOURCE39} |
---|
258 | %__tar -xvf %{SOURCE40} |
---|
259 | %__tar -xvf %{SOURCE41} |
---|
260 | %__tar -xvf %{SOURCE42} |
---|
261 | %__tar -xvf %{SOURCE43} |
---|
262 | %__tar -xvf %{SOURCE44} |
---|
263 | %__tar -xvf %{SOURCE45} |
---|
264 | %__tar -xvf %{SOURCE46} |
---|
265 | %__tar -xvf %{SOURCE47} |
---|
266 | %__tar -xvf %{SOURCE48} |
---|
267 | %__tar -xvf %{SOURCE49} |
---|
268 | %__tar -xvf %{SOURCE50} |
---|
269 | %__tar -xvf %{SOURCE51} |
---|
270 | %__tar -xvf %{SOURCE52} |
---|
271 | %__tar -xvf %{SOURCE53} |
---|
272 | %__tar -xvf %{SOURCE54} |
---|
273 | %__tar -xvf %{SOURCE55} |
---|
274 | %__tar -xvf %{SOURCE56} |
---|
275 | %__tar -xvf %{SOURCE57} |
---|
276 | %__tar -xvf %{SOURCE58} |
---|
277 | %__tar -xvf %{SOURCE59} |
---|
278 | %__tar -xvf %{SOURCE60} |
---|
279 | %__tar -xvf %{SOURCE61} |
---|
280 | %__tar -xvf %{SOURCE62} |
---|
281 | %__tar -xvf %{SOURCE63} |
---|
282 | %__tar -xvf %{SOURCE64} |
---|
283 | %__tar -xvf %{SOURCE65} |
---|
284 | %__tar -xvf %{SOURCE66} |
---|
285 | %__tar -xvf %{SOURCE67} |
---|
286 | %__tar -xvf %{SOURCE68} |
---|
287 | |
---|
288 | %build |
---|
289 | |
---|
290 | %install |
---|
291 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
292 | |
---|
293 | %__mkdir_p %{buildroot}%{_datadir} |
---|
294 | |
---|
295 | ## move texmf-dist to /usr/share/texmf-dist |
---|
296 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
297 | |
---|
298 | ## move texmf to /usr/share/texmf |
---|
299 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
300 | |
---|
301 | ## move tlpkg to /usr/share/tlpkg |
---|
302 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
303 | |
---|
304 | ## move all non-arch binaries to /usr/bin |
---|
305 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
306 | |
---|
307 | ## move others into /usr/share/texmf-dist |
---|
308 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
309 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
310 | %__rm -rf * ||: |
---|
311 | |
---|
312 | |
---|
313 | ## remove duplicated files between texlive and texlive-collection-* |
---|
314 | ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive |
---|
315 | ## remove unpacked files |
---|
316 | x=( |
---|
317 | scripts/fontools/autoinst |
---|
318 | scripts/texlive/tlmgr.pl |
---|
319 | scripts/texlive/updmap.pl |
---|
320 | texconfig/tcfmgr |
---|
321 | texconfig/tcfmgr.map |
---|
322 | web2c/fmtutil.cnf |
---|
323 | web2c/mktex.opt |
---|
324 | web2c/mktexdir |
---|
325 | web2c/mktexdir.opt |
---|
326 | web2c/mktexnam |
---|
327 | web2c/mktexnam.opt |
---|
328 | web2c/mktexupd |
---|
329 | web2c/texmf.cnf |
---|
330 | web2c/updmap.cfg |
---|
331 | web2c/updmap-hdr.cfg |
---|
332 | doc/chktex/ChkTeX.pdf |
---|
333 | install-tl |
---|
334 | ) |
---|
335 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
336 | pushd %{buildroot}%{_tl_texmfdist} |
---|
337 | %__rm -f ${x[@]} ||: |
---|
338 | popd |
---|
339 | fi |
---|
340 | |
---|
341 | ## Files list |
---|
342 | find %{buildroot} -type f -or -type l | \ |
---|
343 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
344 | |
---|
345 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
346 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
347 | -e "s|$|/|" >> filelist.full |
---|
348 | |
---|
349 | ## subpackages |
---|
350 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
351 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
352 | %__mv -f filelist.tmp filelist.full |
---|
353 | |
---|
354 | %clean |
---|
355 | %__rm -rf %{buildroot} |
---|
356 | |
---|
357 | %post |
---|
358 | %_tl_touch_run texhash |
---|
359 | %_tl_touch_run mtxrun |
---|
360 | |
---|
361 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
362 | |
---|
363 | %_tl_enable_map MixedMap cm.map |
---|
364 | %_tl_enable_map MixedMap cmextra.map |
---|
365 | %_tl_enable_map MixedMap cyrillic.map |
---|
366 | %_tl_enable_map Map euler.map |
---|
367 | %_tl_enable_map MixedMap latxfont.map |
---|
368 | %_tl_enable_map MixedMap symbols.map |
---|
369 | %_tl_enable_map MixedMap cmtext-bsr-interpolated.map |
---|
370 | %_tl_enable_map MixedMap mflogo.map |
---|
371 | %_tl_enable_map Map mathpple.map |
---|
372 | |
---|
373 | %_tl_touch_run fmtutil |
---|
374 | |
---|
375 | exit 0 |
---|
376 | |
---|
377 | |
---|
378 | %postun |
---|
379 | if [ "$1" = 0 ]; then |
---|
380 | %_tl_touch_run texhash |
---|
381 | |
---|
382 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
383 | |
---|
384 | %_tl_disable_map cm.map |
---|
385 | %_tl_disable_map cmextra.map |
---|
386 | %_tl_disable_map cyrillic.map |
---|
387 | %_tl_disable_map euler.map |
---|
388 | %_tl_disable_map latxfont.map |
---|
389 | %_tl_disable_map symbols.map |
---|
390 | %_tl_disable_map cmtext-bsr-interpolated.map |
---|
391 | %_tl_disable_map mflogo.map |
---|
392 | %_tl_disable_map mathpple.map |
---|
393 | |
---|
394 | fi |
---|
395 | |
---|
396 | exit 0 |
---|
397 | |
---|
398 | %posttrans |
---|
399 | %{_tl_exec_texhash} |
---|
400 | %{_tl_exec_mtxrun} |
---|
401 | %{_tl_exec_updmap} |
---|
402 | %{_tl_exec_fmtutil} |
---|
403 | exit 0 |
---|
404 | |
---|
405 | |
---|
406 | %files -f filelist.full |
---|
407 | %defattr(-,root,root,-) |
---|
408 | |
---|
409 | %files -f filelist.doc doc |
---|
410 | %defattr(-,root,root,-) |
---|
411 | |
---|
412 | %changelog |
---|
413 | * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5 |
---|
414 | - TLNET 20131218 |
---|
415 | |
---|
416 | * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
417 | - TLNET 20131101 |
---|
418 | |
---|
419 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
420 | - TLNET 20131002 |
---|
421 | |
---|
422 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
423 | - TLNET 20130919 |
---|
424 | |
---|
425 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
426 | - TLNET 20130823 |
---|