source: projects/specs/trunk/t/texlive-collection-basic/texlive-collection-basic-vl.spec @ 7855

Revision 7855, 12.3 KB checked in by munepi, 11 years ago (diff)

update source snapshot, TLNET: 20131002

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-3:
3## tlpdb2rpmspec collection-basic
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Essential programs and files
10Summary(ja): TeX Live: Essential programs and files
11Name: texlive-collection-basic
12Version: 2013
13Release: 3%{?_dist_release}
14License: OFSFLD, Knuth, GPL+, LPPL, Freely redistributable without restriction, LPPL 1.3, LGPLv2+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: texlive.infra.doc.tar.xz
19Source1: texlive.infra.tar.xz
20Source2: amsfonts.doc.tar.xz
21Source3: amsfonts.source.tar.xz
22Source4: amsfonts.tar.xz
23Source5: bibtex.doc.tar.xz
24Source6: bibtex.tar.xz
25Source7: cm.doc.tar.xz
26Source8: cm.tar.xz
27Source9: dvipdfmx.doc.tar.xz
28Source10: dvipdfmx.tar.xz
29Source11: dvipdfmx-def.tar.xz
30Source12: dvips.doc.tar.xz
31Source13: dvips.tar.xz
32Source14: enctex.doc.tar.xz
33Source15: enctex.tar.xz
34Source16: etex.doc.tar.xz
35Source17: etex.tar.xz
36Source18: etex-pkg.doc.tar.xz
37Source19: etex-pkg.tar.xz
38Source20: glyphlist.tar.xz
39Source21: gsftopk.doc.tar.xz
40Source22: gsftopk.tar.xz
41Source23: hyph-utf8.doc.tar.xz
42Source24: hyph-utf8.source.tar.xz
43Source25: hyph-utf8.tar.xz
44Source26: hyphen-base.tar.xz
45Source27: ifluatex.doc.tar.xz
46Source28: ifluatex.source.tar.xz
47Source29: ifluatex.tar.xz
48Source30: ifxetex.doc.tar.xz
49Source31: ifxetex.source.tar.xz
50Source32: ifxetex.tar.xz
51Source33: kpathsea.doc.tar.xz
52Source34: kpathsea.tar.xz
53Source35: lua-alt-getopt.doc.tar.xz
54Source36: lua-alt-getopt.tar.xz
55Source37: luatex.doc.tar.xz
56Source38: luatex.tar.xz
57Source39: makeindex.doc.tar.xz
58Source40: makeindex.tar.xz
59Source41: metafont.doc.tar.xz
60Source42: metafont.tar.xz
61Source43: mflogo.doc.tar.xz
62Source44: mflogo.source.tar.xz
63Source45: mflogo.tar.xz
64Source46: mfware.doc.tar.xz
65Source47: mfware.tar.xz
66Source48: misc.tar.xz
67Source49: pdftex.doc.tar.xz
68Source50: pdftex.tar.xz
69Source51: plain.tar.xz
70Source52: tetex.doc.tar.xz
71Source53: tetex.tar.xz
72Source54: tex.doc.tar.xz
73Source55: tex.tar.xz
74Source56: texconfig.doc.tar.xz
75Source57: texconfig.tar.xz
76Source58: texlive-common.doc.tar.xz
77Source59: texlive-common.tar.xz
78Source60: texlive-docindex.doc.tar.xz
79Source61: texlive-docindex.tar.xz
80Source62: texlive-en.doc.tar.xz
81Source63: texlive-en.tar.xz
82Source64: texlive-msg-translations.tar.xz
83Source65: texlive-scripts.doc.tar.xz
84Source66: texlive-scripts.tar.xz
85Source67: xdvi.doc.tar.xz
86Source68: xdvi.tar.xz
87
88Requires: texlive = %{version}
89
90
91Requires(post):         texlive = %{version}
92Requires(postun):       texlive = %{version}
93
94BuildArch:      noarch
95Buildroot:      %{_tmppath}/%{name}-%{version}-root
96
97Vendor:         Project Vine
98Distribution:   Vine Linux
99Packager:       munepi
100
101%description
102The TeX Live software distribution offers a complete TeX system for a
103variety of Unix, Macintosh, Windows and other platforms. It
104encompasses programs for editing, typesetting, previewing and printing
105of TeX documents in many different languages, and a large collection
106of TeX macros and font libraries.
107
108The distribution includes extensive general documentation about TeX,
109as well as the documentation for the included software packages.
110
111This package is a collection of Essential programs and files:
112These files are regarded as basic for any TeX system, covering
113plain TeX macros, Computer Modern fonts, and configuration for
114common drivers; no LaTeX.
115
116This package contains the following CTAN packages:
117texlive.infra: basic TeX Live infrastructure
118amsfonts: TeX fonts from the American Mathematical Society.
119bibtex: Process bibliographies for LaTeX, etc.
120cm: Computer Modern fonts.
121dvipdfmx: An extended version of dvipdfm.
122dvipdfmx-def: Configuration file for dvipdfmx graphics.
123dvips: A DVI to PostScript driver.
124enctex: A TeX extension that translates input on its way into TeX.
125etex: An extended version of TeX, from the NTS project.
126etex-pkg: E-TeX support package.
127glyphlist:
128gsftopk: Convert "ghostscript fonts" to PK files.
129hyph-utf8: Hyphenation patterns expressed in UTF-8.
130hyphen-base:
131ifluatex: Provides the ifluatex switch.
132ifxetex: Am I running under XeTeX?
133kpathsea: Path searching library for TeX-related files.
134lua-alt-getopt: Process application arguments the same way as getopt_long.
135luatex: The LuaTeX engine.
136makeindex: Process index output to produce typesettable code.
137metafont: A system for specifying fonts.
138mflogo: LaTeX support for MetaFont logo fonts.
139mfware: Supporting tools for use with Metafont.
140misc:
141pdftex: A TeX extension for direct creation of PDF.
142plain:
143tetex: scripts and files originally written for or included in teTeX
144tex: A sophisticated typesetting engine.
145texconfig:
146texlive-common: TeX Live documentation (common elements)
147texlive-docindex: top-level TeX Live doc.html, etc.
148texlive-en: TeX Live manual (English)
149texlive-msg-translations: translations of the TeX Live installer and TeX Live Manager
150texlive-scripts: TeX Live infrastructure programs
151xdvi: A DVI previewer for the X Window System.
152
153%description -l ja
154TeX Live ソフトウェアディストリビューションは、
155さまざまな Unix, Macintosh, Windows、および
156他のプラットホームに対して完全な TeX システムを提供します。
157多くの異なった言語を含む TeX ドキュメントの
158編集、組版、閲覧、印刷するためのプログラム、
159そして、TeX マクロやフォントライブラリの大きなコレクションを
160同梱しています。
161
162このディストリビューションは
163同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
164TeX に関するたくさんの一般的なドキュメントを含んでいます。
165
166このパッケージは以下のようなパッケージ集です。
167Essential programs and files:
168These files are regarded as basic for any TeX system, covering
169plain TeX macros, Computer Modern fonts, and configuration for
170common drivers; no LaTeX.
171
172このパッケージは以下の CTAN パッケージを含んでいます:
173texlive.infra: basic TeX Live infrastructure
174amsfonts: TeX fonts from the American Mathematical Society.
175bibtex: Process bibliographies for LaTeX, etc.
176cm: Computer Modern fonts.
177dvipdfmx: An extended version of dvipdfm.
178dvipdfmx-def: Configuration file for dvipdfmx graphics.
179dvips: A DVI to PostScript driver.
180enctex: A TeX extension that translates input on its way into TeX.
181etex: An extended version of TeX, from the NTS project.
182etex-pkg: E-TeX support package.
183glyphlist:
184gsftopk: Convert "ghostscript fonts" to PK files.
185hyph-utf8: Hyphenation patterns expressed in UTF-8.
186hyphen-base:
187ifluatex: Provides the ifluatex switch.
188ifxetex: Am I running under XeTeX?
189kpathsea: Path searching library for TeX-related files.
190lua-alt-getopt: Process application arguments the same way as getopt_long.
191luatex: The LuaTeX engine.
192makeindex: Process index output to produce typesettable code.
193metafont: A system for specifying fonts.
194mflogo: LaTeX support for MetaFont logo fonts.
195mfware: Supporting tools for use with Metafont.
196misc:
197pdftex: A TeX extension for direct creation of PDF.
198plain:
199tetex: scripts and files originally written for or included in teTeX
200tex: A sophisticated typesetting engine.
201texconfig:
202texlive-common: TeX Live documentation (common elements)
203texlive-docindex: top-level TeX Live doc.html, etc.
204texlive-en: TeX Live manual (English)
205texlive-msg-translations: translations of the TeX Live installer and TeX Live Manager
206texlive-scripts: TeX Live infrastructure programs
207xdvi: A DVI previewer for the X Window System.
208
209%package doc
210Summary: TeX Live: Documentation files of %{name}
211Group: Applications/Publishing
212Requires: %{name} = %{version}-%{release}
213
214%description doc
215This 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
316x=(
317scripts/texlive/tlmgr.pl
318texconfig/tcfmgr
319texconfig/tcfmgr.map
320web2c/fmtutil.cnf
321web2c/mktex.opt
322web2c/mktexdir
323web2c/mktexdir.opt
324web2c/mktexnam
325web2c/mktexnam.opt
326web2c/mktexupd
327web2c/texmf.cnf
328web2c/updmap.cfg
329web2c/updmap-hdr.cfg
330doc/chktex/ChkTeX.pdf
331install-tl
332)
333if [ -d %{buildroot}%{_tl_texmfdist} ]; then
334pushd %{buildroot}%{_tl_texmfdist}
335%__rm -f ${x[@]} ||:
336popd
337fi
338
339## Files list
340find %{buildroot} -type f -or -type l | \
341    %__sed -e "s|%{buildroot}||g" > filelist.full
342
343find %{buildroot}%{_tl_texmfdist} -type d | \
344    %__sed -e "s|^%{buildroot}|%dir |" \
345           -e "s|$|/|"             >> filelist.full
346
347## subpackages
348grep "/texmf-dist/doc/" filelist.full > filelist.doc
349cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
350%__mv -f filelist.tmp filelist.full
351
352%clean
353%__rm -rf %{buildroot}
354
355%post
356%_tl_touch_run texhash
357%_tl_touch_run mtxrun
358
359[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
360
361    %_tl_enable_map MixedMap cm.map
362    %_tl_enable_map MixedMap cmextra.map
363    %_tl_enable_map MixedMap cyrillic.map
364    %_tl_enable_map Map euler.map
365    %_tl_enable_map MixedMap latxfont.map
366    %_tl_enable_map MixedMap symbols.map
367    %_tl_enable_map MixedMap cmtext-bsr-interpolated.map
368    %_tl_enable_map MixedMap mflogo.map
369    %_tl_enable_map Map mathpple.map
370
371%_tl_touch_run fmtutil
372
373exit 0
374
375
376%postun
377if [ "$1" = 0 ]; then
378    %_tl_touch_run texhash
379
380    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
381
382    %_tl_disable_map cm.map
383    %_tl_disable_map cmextra.map
384    %_tl_disable_map cyrillic.map
385    %_tl_disable_map euler.map
386    %_tl_disable_map latxfont.map
387    %_tl_disable_map symbols.map
388    %_tl_disable_map cmtext-bsr-interpolated.map
389    %_tl_disable_map mflogo.map
390    %_tl_disable_map mathpple.map
391
392fi
393
394exit 0
395
396%posttrans
397%{_tl_exec_texhash}
398%{_tl_exec_mtxrun}
399%{_tl_exec_updmap}
400%{_tl_exec_fmtutil}
401exit 0
402
403
404%files -f filelist.full
405%defattr(-,root,root,-)
406
407%files -f filelist.doc doc
408%defattr(-,root,root,-)
409
410%changelog
411* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
412- TLNET 20131002
413
414* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
415- TLNET 20130919
416
417* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
418- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-basic
419- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.