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

Revision 7855, 11.9 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-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: 3%{?_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/texlive/tlmgr.pl
280texconfig/tcfmgr
281texconfig/tcfmgr.map
282web2c/fmtutil.cnf
283web2c/mktex.opt
284web2c/mktexdir
285web2c/mktexdir.opt
286web2c/mktexnam
287web2c/mktexnam.opt
288web2c/mktexupd
289web2c/texmf.cnf
290web2c/updmap.cfg
291web2c/updmap-hdr.cfg
292doc/chktex/ChkTeX.pdf
293install-tl
294)
295if [ -d %{buildroot}%{_tl_texmfdist} ]; then
296pushd %{buildroot}%{_tl_texmfdist}
297%__rm -f ${x[@]} ||:
298popd
299fi
300
301## Files list
302find %{buildroot} -type f -or -type l | \
303    %__sed -e "s|%{buildroot}||g" > filelist.full
304
305find %{buildroot}%{_tl_texmfdist} -type d | \
306    %__sed -e "s|^%{buildroot}|%dir |" \
307           -e "s|$|/|"             >> filelist.full
308
309## subpackages
310grep "/texmf-dist/doc/" filelist.full > filelist.doc
311cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
312%__mv -f filelist.tmp filelist.full
313
314%clean
315%__rm -rf %{buildroot}
316
317%post
318%_tl_touch_run texhash
319%_tl_touch_run mtxrun
320
321[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
322
323    %_tl_enable_map MixedMap cm-super-t1.map
324    %_tl_enable_map MixedMap cm-super-t2a.map
325    %_tl_enable_map MixedMap cm-super-t2b.map
326    %_tl_enable_map MixedMap cm-super-t2c.map
327    %_tl_enable_map MixedMap cm-super-ts1.map
328    %_tl_enable_map MixedMap cm-super-x2.map
329    %_tl_enable_map MixedMap eurosym.map
330    %_tl_enable_map Map lm.map
331    %_tl_enable_map Map marvosym.map
332    %_tl_enable_map Map pxfonts.map
333    %_tl_enable_map MixedMap rsfs.map
334    %_tl_enable_map Map qag.map
335    %_tl_enable_map Map qbk.map
336    %_tl_enable_map Map qcr.map
337    %_tl_enable_map Map qcs.map
338    %_tl_enable_map Map qhv.map
339    %_tl_enable_map Map qpl.map
340    %_tl_enable_map Map qtm.map
341    %_tl_enable_map Map qzc.map
342    %_tl_enable_map MixedMap tipa.map
343    %_tl_enable_map Map txfonts.map
344    %_tl_enable_map MixedMap wasy.map
345
346exit 0
347
348
349%postun
350if [ "$1" = 0 ]; then
351    %_tl_touch_run texhash
352
353    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
354
355    %_tl_disable_map cm-super-t1.map
356    %_tl_disable_map cm-super-t2a.map
357    %_tl_disable_map cm-super-t2b.map
358    %_tl_disable_map cm-super-t2c.map
359    %_tl_disable_map cm-super-ts1.map
360    %_tl_disable_map cm-super-x2.map
361    %_tl_disable_map eurosym.map
362    %_tl_disable_map lm.map
363    %_tl_disable_map marvosym.map
364    %_tl_disable_map pxfonts.map
365    %_tl_disable_map rsfs.map
366    %_tl_disable_map qag.map
367    %_tl_disable_map qbk.map
368    %_tl_disable_map qcr.map
369    %_tl_disable_map qcs.map
370    %_tl_disable_map qhv.map
371    %_tl_disable_map qpl.map
372    %_tl_disable_map qtm.map
373    %_tl_disable_map qzc.map
374    %_tl_disable_map tipa.map
375    %_tl_disable_map txfonts.map
376    %_tl_disable_map wasy.map
377
378fi
379
380exit 0
381
382%posttrans
383%{_tl_exec_texhash}
384%{_tl_exec_mtxrun}
385%{_tl_exec_updmap}
386%{_tl_exec_fmtutil}
387exit 0
388
389
390%files -f filelist.full
391%defattr(-,root,root,-)
392
393%files -f filelist.doc doc
394%defattr(-,root,root,-)
395
396%changelog
397* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
398- TLNET 20131002
399
400* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
401- TLNET 20130919
402
403* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
404- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-fontsrecommended
405- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.