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

Revision 9529, 13.1 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

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