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

Revision 9034, 12.6 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20141028

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-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: 2014
13Release: 3%{?_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: 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
75
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:
100Recommended fonts, including the base 35 PostScript fonts,
101Latin Modern, TeX Gyre, and T1 and other encoding support for
102Computer Modern, in outline form.
103
104This package contains the following CTAN packages:
105avantgar: URW "Base 35" font pack for LaTeX.
106bookman: URW "Base 35" font pack for LaTeX.
107charter: Charter fonts.
108cm-super: CM-Super family of fonts
109cmextra: Knuth's local information.
110courier: URW "Base 35" font pack for LaTeX.
111ec: Computer modern fonts in T1 and TS1 encodings.
112euro: Provide Euro values for national currency amounts.
113euro-ce: Euro and CE sign font.
114eurosym: Metafont and macros for Euro sign.
115fpl: SC and OsF fonts for URW Palladio L
116helvetic: URW "Base 35" font pack for LaTeX.
117lm: Latin modern fonts in outline formats.
118lm-math: OpenType maths fonts for Latin Modern.
119marvosym: Martin Vogel's Symbols (marvosym) font.
120mathpazo: Fonts to typeset mathematics to match Palatino.
121ncntrsbk: URW "Base 35" font pack for LaTeX.
122palatino: URW "Base 35" font pack for LaTeX.
123pxfonts: Palatino-like fonts in support of mathematics.
124rsfs: Ralph Smith's Formal Script font.
125symbol: URW "Base 35" font pack for LaTeX.
126tex-gyre: TeX Fonts extending freely available URW fonts.
127tex-gyre-math: Maths fonts to match tex-gyre text fonts.
128times: URW "Base 35" font pack for LaTeX.
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
134zapfchan: URW "Base 35" font pack for LaTeX.
135zapfding: URW "Base 35" font pack for LaTeX.
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:
152Recommended fonts, including the base 35 PostScript fonts,
153Latin Modern, TeX Gyre, and T1 and other encoding support for
154Computer Modern, in outline form.
155
156このパッケージは以下の CTAN パッケージを含んでいます:
157avantgar: URW "Base 35" font pack for LaTeX.
158bookman: URW "Base 35" font pack for LaTeX.
159charter: Charter fonts.
160cm-super: CM-Super family of fonts
161cmextra: Knuth's local information.
162courier: URW "Base 35" font pack for LaTeX.
163ec: Computer modern fonts in T1 and TS1 encodings.
164euro: Provide Euro values for national currency amounts.
165euro-ce: Euro and CE sign font.
166eurosym: Metafont and macros for Euro sign.
167fpl: SC and OsF fonts for URW Palladio L
168helvetic: URW "Base 35" font pack for LaTeX.
169lm: Latin modern fonts in outline formats.
170lm-math: OpenType maths fonts for Latin Modern.
171marvosym: Martin Vogel's Symbols (marvosym) font.
172mathpazo: Fonts to typeset mathematics to match Palatino.
173ncntrsbk: URW "Base 35" font pack for LaTeX.
174palatino: URW "Base 35" font pack for LaTeX.
175pxfonts: Palatino-like fonts in support of mathematics.
176rsfs: Ralph Smith's Formal Script font.
177symbol: URW "Base 35" font pack for LaTeX.
178tex-gyre: TeX Fonts extending freely available URW fonts.
179tex-gyre-math: Maths fonts to match tex-gyre text fonts.
180times: URW "Base 35" font pack for LaTeX.
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
186zapfchan: URW "Base 35" font pack for LaTeX.
187zapfding: URW "Base 35" font pack for LaTeX.
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
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}
253%__tar -xvf %{SOURCE55}
254%__tar -xvf %{SOURCE56}
255
256%build
257
258%install
259[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
260
261%__mkdir_p %{buildroot}%{_datadir}
262
263## move texmf-dist to /usr/share/texmf-dist
264[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
265
266## move texmf to /usr/share/texmf
267[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
268
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=(
285scripts/epstopdf/epstopdf.pl
286scripts/texlive/fmtutil.sh
287texconfig/tcfmgr
288web2c/texmf.cnf
289web2c/updmap-hdr.cfg
290web2c/updmap.cfg
291install-tl
292)
293if [ -d %{buildroot}%{_tl_texmfdist} ]; then
294pushd %{buildroot}%{_tl_texmfdist}
295%__rm -f ${x[@]} ||:
296popd
297fi
298
299## Files list
300find %{buildroot} -type f -or -type l | \
301    %__sed -e "s|%{buildroot}||g" > filelist.full
302
303find %{buildroot}%{_tl_texmfdist} -type d | \
304    %__sed -e "s|^%{buildroot}|%dir |" \
305           -e "s|$|/|"             >> filelist.full
306
307## subpackages
308grep "/texmf-dist/doc/" filelist.full > filelist.doc
309cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
310%__mv -f filelist.tmp filelist.full
311
312%clean
313%__rm -rf %{buildroot}
314
315%post
316%_tl_touch_run texhash
317%_tl_touch_run mtxrun
318
319[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
320
321    %_tl_enable_map Map uag.map
322    %_tl_enable_map Map ubk.map
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 Map ucr.map
330    %_tl_enable_map MixedMap eurosym.map
331    %_tl_enable_map Map uhv.map
332    %_tl_enable_map Map lm.map
333    %_tl_enable_map Map marvosym.map
334    %_tl_enable_map Map unc.map
335    %_tl_enable_map Map upl.map
336    %_tl_enable_map Map pxfonts.map
337    %_tl_enable_map MixedMap rsfs.map
338    %_tl_enable_map Map usy.map
339    %_tl_enable_map Map qag.map
340    %_tl_enable_map Map qbk.map
341    %_tl_enable_map Map qcr.map
342    %_tl_enable_map Map qcs.map
343    %_tl_enable_map Map qhv.map
344    %_tl_enable_map Map qpl.map
345    %_tl_enable_map Map qtm.map
346    %_tl_enable_map Map qzc.map
347    %_tl_enable_map Map utm.map
348    %_tl_enable_map MixedMap tipa.map
349    %_tl_enable_map Map txfonts.map
350    %_tl_enable_map MixedMap wasy.map
351    %_tl_enable_map Map uzc.map
352    %_tl_enable_map Map uzd.map
353
354exit 0
355
356
357%postun
358if [ "$1" = 0 ]; then
359    %_tl_touch_run texhash
360
361    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
362
363    %_tl_disable_map uag.map
364    %_tl_disable_map ubk.map
365    %_tl_disable_map cm-super-t1.map
366    %_tl_disable_map cm-super-t2a.map
367    %_tl_disable_map cm-super-t2b.map
368    %_tl_disable_map cm-super-t2c.map
369    %_tl_disable_map cm-super-ts1.map
370    %_tl_disable_map cm-super-x2.map
371    %_tl_disable_map ucr.map
372    %_tl_disable_map eurosym.map
373    %_tl_disable_map uhv.map
374    %_tl_disable_map lm.map
375    %_tl_disable_map marvosym.map
376    %_tl_disable_map unc.map
377    %_tl_disable_map upl.map
378    %_tl_disable_map pxfonts.map
379    %_tl_disable_map rsfs.map
380    %_tl_disable_map usy.map
381    %_tl_disable_map qag.map
382    %_tl_disable_map qbk.map
383    %_tl_disable_map qcr.map
384    %_tl_disable_map qcs.map
385    %_tl_disable_map qhv.map
386    %_tl_disable_map qpl.map
387    %_tl_disable_map qtm.map
388    %_tl_disable_map qzc.map
389    %_tl_disable_map utm.map
390    %_tl_disable_map tipa.map
391    %_tl_disable_map txfonts.map
392    %_tl_disable_map wasy.map
393    %_tl_disable_map uzc.map
394    %_tl_disable_map uzd.map
395
396fi
397
398exit 0
399
400%posttrans
401%{_tl_exec_texhash}
402%{_tl_exec_mtxrun}
403%{_tl_exec_updmap}
404%{_tl_exec_fmtutil}
405exit 0
406
407
408%files -f filelist.full
409%defattr(-,root,root,-)
410
411%files -f filelist.doc doc
412%defattr(-,root,root,-)
413
414%changelog
415* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
416- synced tlnet to 20141028
417
418* Sun Jul  6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
419- synced tlnet to 20140706
420
421* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
422- synced tlnet to 20140524
Note: See TracBrowser for help on using the repository browser.