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

Revision 8049, 12.7 KB checked in by munepi, 10 years ago (diff)

TLNET 20131218

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