source: projects/specs/trunk/t/texlive-collection-fontsrecommended/texlive-collection-fontsrecommended-vl.spec @ 8476

Revision 8476, 13.0 KB checked in by munepi, 10 years ago (diff)

TeX Live 2014

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[8476]2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
[1974]3## tlpdb2rpmspec collection-fontsrecommended
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[1533]9Summary: TeX Live: Recommended fonts
10Summary(ja): TeX Live: Recommended fonts
11Name: texlive-collection-fontsrecommended
[8476]12Version: 2014
13Release: 1%{?_dist_release}
14License: GPL+, Freely redistributable without restriction, Knuth, LPPL, BSD, OFSFLD, Public Domain
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]18Source0: avantgar.tar.xz
19Source1: bookman.tar.xz
20Source2: charter.doc.tar.xz
21Source3: charter.tar.xz
22Source4: cm-super.doc.tar.xz
23Source5: cm-super.tar.xz
24Source6: cmextra.tar.xz
25Source7: courier.tar.xz
[8476]26Source8: ec.doc.tar.xz
27Source9: ec.tar.xz
28Source10: euro.doc.tar.xz
29Source11: euro.source.tar.xz
30Source12: euro.tar.xz
31Source13: euro-ce.doc.tar.xz
32Source14: euro-ce.tar.xz
33Source15: eurosym.doc.tar.xz
34Source16: eurosym.tar.xz
35Source17: fpl.doc.tar.xz
36Source18: fpl.source.tar.xz
37Source19: fpl.tar.xz
38Source20: helvetic.tar.xz
39Source21: lm.doc.tar.xz
40Source22: lm.source.tar.xz
41Source23: lm.tar.xz
42Source24: lm-math.doc.tar.xz
43Source25: lm-math.tar.xz
44Source26: marvosym.doc.tar.xz
45Source27: marvosym.source.tar.xz
46Source28: marvosym.tar.xz
47Source29: mathpazo.doc.tar.xz
48Source30: mathpazo.source.tar.xz
49Source31: mathpazo.tar.xz
50Source32: ncntrsbk.tar.xz
51Source33: palatino.tar.xz
52Source34: pxfonts.doc.tar.xz
53Source35: pxfonts.tar.xz
54Source36: rsfs.doc.tar.xz
55Source37: rsfs.tar.xz
56Source38: symbol.tar.xz
57Source39: tex-gyre.doc.tar.xz
58Source40: tex-gyre.tar.xz
59Source41: tex-gyre-math.doc.tar.xz
60Source42: tex-gyre-math.tar.xz
61Source43: times.tar.xz
62Source44: tipa.doc.tar.xz
63Source45: tipa.tar.xz
64Source46: txfonts.doc.tar.xz
65Source47: txfonts.tar.xz
66Source48: utopia.doc.tar.xz
67Source49: utopia.tar.xz
68Source50: wasy.doc.tar.xz
69Source51: wasy.tar.xz
70Source52: wasysym.doc.tar.xz
71Source53: wasysym.source.tar.xz
72Source54: wasysym.tar.xz
73Source55: zapfchan.tar.xz
74Source56: zapfding.tar.xz
[7770]75
[1533]76Requires: texlive = %{version}
77Requires: texlive-collection-basic = %{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 Recommended fonts:
[5207]100Recommended fonts, including the base 35 PostScript fonts,
101Latin Modern, TeX Gyre, and T1 and other encoding support for
102Computer Modern, in outline form.
[1533]103
104This package contains the following CTAN packages:
[5207]105avantgar: URW "Base 35" font pack for LaTeX.
106bookman: URW "Base 35" font pack for LaTeX.
[1533]107charter: Charter fonts.
[5207]108cm-super: CM-Super family of fonts
[8476]109cmextra: Knuth's local information.
[5207]110courier: URW "Base 35" font pack for LaTeX.
[8476]111ec: Computer modern fonts in T1 and TS1 encodings.
[1533]112euro: Provide Euro values for national currency amounts.
113euro-ce: Euro and CE sign font.
[8476]114eurosym: Metafont and macros for Euro sign.
[1533]115fpl: SC and OsF fonts for URW Palladio L
[5207]116helvetic: URW "Base 35" font pack for LaTeX.
[1533]117lm: Latin modern fonts in outline formats.
[7770]118lm-math: OpenType maths fonts for Latin Modern.
[1533]119marvosym: Martin Vogel's Symbols (marvosym) font.
120mathpazo: Fonts to typeset mathematics to match Palatino.
[5207]121ncntrsbk: URW "Base 35" font pack for LaTeX.
122palatino: URW "Base 35" font pack for LaTeX.
[1533]123pxfonts: Palatino-like fonts in support of mathematics.
124rsfs: Ralph Smith's Formal Script font.
[5207]125symbol: URW "Base 35" font pack for LaTeX.
[1533]126tex-gyre: TeX Fonts extending freely available URW fonts.
[7148]127tex-gyre-math: Maths fonts to match tex-gyre text fonts.
[5207]128times: URW "Base 35" font pack for LaTeX.
[1533]129tipa: Fonts and macros for IPA phonetics characters.
130txfonts: Times-like fonts in support of mathematics.
131utopia: Adobe Utopia fonts.
132wasy: The wasy fonts (Waldi symbol fonts).
133wasysym: LaTeX support file to use the WASY2 fonts
[5207]134zapfchan: URW "Base 35" font pack for LaTeX.
135zapfding: URW "Base 35" font pack for LaTeX.
[1533]136
137%description -l ja
138TeX Live ソフトウェアディストリビューションは、
139さまざまな Unix, Macintosh, Windows、および
140他のプラットホームに対して完全な TeX システムを提供します。
141多くの異なった言語を含む TeX ドキュメントの
142編集、組版、閲覧、印刷するためのプログラム、
143そして、TeX マクロやフォントライブラリの大きなコレクションを
144同梱しています。
145
146このディストリビューションは
147同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
148TeX に関するたくさんの一般的なドキュメントを含んでいます。
149
150このパッケージは以下のようなパッケージ集です。
151Recommended fonts:
[5207]152Recommended fonts, including the base 35 PostScript fonts,
153Latin Modern, TeX Gyre, and T1 and other encoding support for
154Computer Modern, in outline form.
[1533]155
156このパッケージは以下の CTAN パッケージを含んでいます:
[5207]157avantgar: URW "Base 35" font pack for LaTeX.
158bookman: URW "Base 35" font pack for LaTeX.
[1533]159charter: Charter fonts.
[5207]160cm-super: CM-Super family of fonts
[8476]161cmextra: Knuth's local information.
[5207]162courier: URW "Base 35" font pack for LaTeX.
[8476]163ec: Computer modern fonts in T1 and TS1 encodings.
[1533]164euro: Provide Euro values for national currency amounts.
165euro-ce: Euro and CE sign font.
[8476]166eurosym: Metafont and macros for Euro sign.
[1533]167fpl: SC and OsF fonts for URW Palladio L
[5207]168helvetic: URW "Base 35" font pack for LaTeX.
[1533]169lm: Latin modern fonts in outline formats.
[7770]170lm-math: OpenType maths fonts for Latin Modern.
[1533]171marvosym: Martin Vogel's Symbols (marvosym) font.
172mathpazo: Fonts to typeset mathematics to match Palatino.
[5207]173ncntrsbk: URW "Base 35" font pack for LaTeX.
174palatino: URW "Base 35" font pack for LaTeX.
[1533]175pxfonts: Palatino-like fonts in support of mathematics.
176rsfs: Ralph Smith's Formal Script font.
[5207]177symbol: URW "Base 35" font pack for LaTeX.
[1533]178tex-gyre: TeX Fonts extending freely available URW fonts.
[7148]179tex-gyre-math: Maths fonts to match tex-gyre text fonts.
[5207]180times: URW "Base 35" font pack for LaTeX.
[1533]181tipa: Fonts and macros for IPA phonetics characters.
182txfonts: Times-like fonts in support of mathematics.
183utopia: Adobe Utopia fonts.
184wasy: The wasy fonts (Waldi symbol fonts).
185wasysym: LaTeX support file to use the WASY2 fonts
[5207]186zapfchan: URW "Base 35" font pack for LaTeX.
187zapfding: URW "Base 35" font pack for LaTeX.
[1533]188
189%package doc
190Summary: TeX Live: Documentation files of %{name}
191Group: Applications/Publishing
192Requires: %{name} = %{version}-%{release}
193
194%description doc
195This package contains documentation files of %{name}.
196
197%prep
[7770]198%setup -c -n %{name}-%{version}
199%__tar -xvf %{SOURCE1}
200%__tar -xvf %{SOURCE2}
201%__tar -xvf %{SOURCE3}
202%__tar -xvf %{SOURCE4}
203%__tar -xvf %{SOURCE5}
204%__tar -xvf %{SOURCE6}
205%__tar -xvf %{SOURCE7}
206%__tar -xvf %{SOURCE8}
207%__tar -xvf %{SOURCE9}
208%__tar -xvf %{SOURCE10}
209%__tar -xvf %{SOURCE11}
210%__tar -xvf %{SOURCE12}
211%__tar -xvf %{SOURCE13}
212%__tar -xvf %{SOURCE14}
213%__tar -xvf %{SOURCE15}
214%__tar -xvf %{SOURCE16}
215%__tar -xvf %{SOURCE17}
216%__tar -xvf %{SOURCE18}
217%__tar -xvf %{SOURCE19}
218%__tar -xvf %{SOURCE20}
219%__tar -xvf %{SOURCE21}
220%__tar -xvf %{SOURCE22}
221%__tar -xvf %{SOURCE23}
222%__tar -xvf %{SOURCE24}
223%__tar -xvf %{SOURCE25}
224%__tar -xvf %{SOURCE26}
225%__tar -xvf %{SOURCE27}
226%__tar -xvf %{SOURCE28}
227%__tar -xvf %{SOURCE29}
228%__tar -xvf %{SOURCE30}
229%__tar -xvf %{SOURCE31}
230%__tar -xvf %{SOURCE32}
231%__tar -xvf %{SOURCE33}
232%__tar -xvf %{SOURCE34}
233%__tar -xvf %{SOURCE35}
234%__tar -xvf %{SOURCE36}
235%__tar -xvf %{SOURCE37}
236%__tar -xvf %{SOURCE38}
237%__tar -xvf %{SOURCE39}
238%__tar -xvf %{SOURCE40}
239%__tar -xvf %{SOURCE41}
240%__tar -xvf %{SOURCE42}
241%__tar -xvf %{SOURCE43}
242%__tar -xvf %{SOURCE44}
243%__tar -xvf %{SOURCE45}
244%__tar -xvf %{SOURCE46}
245%__tar -xvf %{SOURCE47}
246%__tar -xvf %{SOURCE48}
247%__tar -xvf %{SOURCE49}
248%__tar -xvf %{SOURCE50}
249%__tar -xvf %{SOURCE51}
250%__tar -xvf %{SOURCE52}
251%__tar -xvf %{SOURCE53}
252%__tar -xvf %{SOURCE54}
[8476]253%__tar -xvf %{SOURCE55}
254%__tar -xvf %{SOURCE56}
[1533]255
256%build
257
258%install
259[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
260
[7770]261%__mkdir_p %{buildroot}%{_datadir}
[1533]262
[7770]263## move texmf-dist to /usr/share/texmf-dist
264[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]265
[7770]266## move texmf to /usr/share/texmf
267[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]268
[7770]269## move tlpkg to /usr/share/tlpkg
270[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
271
272## move all non-arch binaries to /usr/bin
273[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
274
275## move others into /usr/share/texmf-dist
276%__mkdir_p %{buildroot}%{_tl_texmfdist}
277%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
278%__rm -rf * ||:
279
280
281## remove duplicated files between texlive and texlive-collection-*
282## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
283## remove unpacked files
284x=(
[8476]285# scripts/texlive/tlmgr.pl
286# scripts/texlive/updmap.pl
287# scripts/fontools/autoinst
288# scripts/glossaries/makeglossaries
289# scripts/m-tx/m-tx.lua
290# scripts/musixtex/musixtex.lua
291# scripts/pmx/pmx2pdf.lua
292# scripts/latexmk/latexmk.pl
293# scripts/jfontmaps/kanji-config-updmap.pl
294# scripts/jfontmaps/kanji-fontmap-creator.pl
295# scripts/latexpand/latexpand
296# scripts/epstopdf/epstopdf.pl
297# scripts/convbkmk/convbkmk.rb
298# scripts/jfontmaps/kanji-config-updmap-sys.sh
299# scripts/luaotfload/luaotfload-tool.lua
300# texconfig/tcfmgr
301# texconfig/tcfmgr.map
302# web2c/fmtutil.cnf
303# web2c/mktex.opt
304# web2c/mktexdir
305# web2c/mktexdir.opt
306# web2c/mktexnam
307# web2c/mktexnam.opt
308# web2c/mktexupd
309# web2c/texmf.cnf
310# web2c/updmap.cfg
311# web2c/updmap-hdr.cfg
312# doc/chktex/ChkTeX.pdf
[7770]313install-tl
314)
315if [ -d %{buildroot}%{_tl_texmfdist} ]; then
316pushd %{buildroot}%{_tl_texmfdist}
317%__rm -f ${x[@]} ||:
[5207]318popd
[7770]319fi
320
[1533]321## Files list
322find %{buildroot} -type f -or -type l | \
323    %__sed -e "s|%{buildroot}||g" > filelist.full
324
[7770]325find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]326    %__sed -e "s|^%{buildroot}|%dir |" \
327           -e "s|$|/|"             >> filelist.full
328
329## subpackages
330grep "/texmf-dist/doc/" filelist.full > filelist.doc
331cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
332%__mv -f filelist.tmp filelist.full
333
334%clean
335%__rm -rf %{buildroot}
336
337%post
[7770]338%_tl_touch_run texhash
339%_tl_touch_run mtxrun
[1533]340
[7770]341[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]342
[7951]343    %_tl_enable_map Map uag.map
344    %_tl_enable_map Map ubk.map
[7770]345    %_tl_enable_map MixedMap cm-super-t1.map
346    %_tl_enable_map MixedMap cm-super-t2a.map
347    %_tl_enable_map MixedMap cm-super-t2b.map
348    %_tl_enable_map MixedMap cm-super-t2c.map
349    %_tl_enable_map MixedMap cm-super-ts1.map
350    %_tl_enable_map MixedMap cm-super-x2.map
[7951]351    %_tl_enable_map Map ucr.map
[7770]352    %_tl_enable_map MixedMap eurosym.map
[7951]353    %_tl_enable_map Map uhv.map
[7770]354    %_tl_enable_map Map lm.map
355    %_tl_enable_map Map marvosym.map
[7951]356    %_tl_enable_map Map unc.map
357    %_tl_enable_map Map upl.map
[7770]358    %_tl_enable_map Map pxfonts.map
359    %_tl_enable_map MixedMap rsfs.map
[7951]360    %_tl_enable_map Map usy.map
[7770]361    %_tl_enable_map Map qag.map
362    %_tl_enable_map Map qbk.map
363    %_tl_enable_map Map qcr.map
364    %_tl_enable_map Map qcs.map
365    %_tl_enable_map Map qhv.map
366    %_tl_enable_map Map qpl.map
367    %_tl_enable_map Map qtm.map
368    %_tl_enable_map Map qzc.map
[7951]369    %_tl_enable_map Map utm.map
[7770]370    %_tl_enable_map MixedMap tipa.map
371    %_tl_enable_map Map txfonts.map
372    %_tl_enable_map MixedMap wasy.map
[7951]373    %_tl_enable_map Map uzc.map
374    %_tl_enable_map Map uzd.map
[2505]375
[1533]376exit 0
377
378
379%postun
380if [ "$1" = 0 ]; then
[7770]381    %_tl_touch_run texhash
[1533]382
[7770]383    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]384
[7951]385    %_tl_disable_map uag.map
386    %_tl_disable_map ubk.map
[7770]387    %_tl_disable_map cm-super-t1.map
388    %_tl_disable_map cm-super-t2a.map
389    %_tl_disable_map cm-super-t2b.map
390    %_tl_disable_map cm-super-t2c.map
391    %_tl_disable_map cm-super-ts1.map
392    %_tl_disable_map cm-super-x2.map
[7951]393    %_tl_disable_map ucr.map
[7770]394    %_tl_disable_map eurosym.map
[7951]395    %_tl_disable_map uhv.map
[7770]396    %_tl_disable_map lm.map
397    %_tl_disable_map marvosym.map
[7951]398    %_tl_disable_map unc.map
399    %_tl_disable_map upl.map
[7770]400    %_tl_disable_map pxfonts.map
401    %_tl_disable_map rsfs.map
[7951]402    %_tl_disable_map usy.map
[7770]403    %_tl_disable_map qag.map
404    %_tl_disable_map qbk.map
405    %_tl_disable_map qcr.map
406    %_tl_disable_map qcs.map
407    %_tl_disable_map qhv.map
408    %_tl_disable_map qpl.map
409    %_tl_disable_map qtm.map
410    %_tl_disable_map qzc.map
[7951]411    %_tl_disable_map utm.map
[7770]412    %_tl_disable_map tipa.map
413    %_tl_disable_map txfonts.map
414    %_tl_disable_map wasy.map
[7951]415    %_tl_disable_map uzc.map
416    %_tl_disable_map uzd.map
[1533]417
418fi
419
420exit 0
421
[7148]422%posttrans
[7770]423%{_tl_exec_texhash}
424%{_tl_exec_mtxrun}
425%{_tl_exec_updmap}
426%{_tl_exec_fmtutil}
[7148]427exit 0
428
429
[1533]430%files -f filelist.full
[5207]431%defattr(-,root,root,-)
[1533]432
433%files -f filelist.doc doc
[5207]434%defattr(-,root,root,-)
[1533]435
436%changelog
[8476]437* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
438- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.