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

Revision 8049, 11.4 KB checked in by munepi, 11 years ago (diff)

TLNET 20131218

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[8049]2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5:
[1974]3## tlpdb2rpmspec collection-latex
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[7770]9Summary: TeX Live: LaTeX fundamental packages
10Summary(ja): TeX Live: LaTeX fundamental packages
[1533]11Name: texlive-collection-latex
[7770]12Version: 2013
[8049]13Release: 5%{?_dist_release}
[7770]14License: LPPL, LPPL 1.3, Public Domain
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]18Source0: ae.doc.tar.xz
19Source1: ae.source.tar.xz
20Source2: ae.tar.xz
21Source3: amscls.doc.tar.xz
22Source4: amscls.source.tar.xz
23Source5: amscls.tar.xz
24Source6: amsmath.doc.tar.xz
25Source7: amsmath.source.tar.xz
26Source8: amsmath.tar.xz
27Source9: babel.doc.tar.xz
28Source10: babel.source.tar.xz
29Source11: babel.tar.xz
30Source12: babel-english.doc.tar.xz
31Source13: babel-english.source.tar.xz
32Source14: babel-english.tar.xz
33Source15: babelbib.doc.tar.xz
34Source16: babelbib.tar.xz
35Source17: carlisle.doc.tar.xz
36Source18: carlisle.source.tar.xz
37Source19: carlisle.tar.xz
38Source20: colortbl.doc.tar.xz
39Source21: colortbl.source.tar.xz
40Source22: colortbl.tar.xz
41Source23: fancyhdr.doc.tar.xz
42Source24: fancyhdr.tar.xz
43Source25: fix2col.doc.tar.xz
44Source26: fix2col.source.tar.xz
45Source27: fix2col.tar.xz
46Source28: geometry.doc.tar.xz
47Source29: geometry.source.tar.xz
48Source30: geometry.tar.xz
49Source31: graphics.doc.tar.xz
50Source32: graphics.source.tar.xz
51Source33: graphics.tar.xz
52Source34: hyperref.doc.tar.xz
53Source35: hyperref.source.tar.xz
54Source36: hyperref.tar.xz
55Source37: latex.doc.tar.xz
56Source38: latex.source.tar.xz
57Source39: latex.tar.xz
58Source40: latex-bin.doc.tar.xz
59Source41: latex-bin.tar.xz
60Source42: latex-fonts.doc.tar.xz
61Source43: latex-fonts.tar.xz
62Source44: latexconfig.tar.xz
63Source45: ltxmisc.tar.xz
64Source46: mfnfss.doc.tar.xz
65Source47: mfnfss.source.tar.xz
66Source48: mfnfss.tar.xz
67Source49: mptopdf.doc.tar.xz
68Source50: mptopdf.tar.xz
69Source51: natbib.doc.tar.xz
70Source52: natbib.source.tar.xz
71Source53: natbib.tar.xz
72Source54: oberdiek.doc.tar.xz
73Source55: oberdiek.source.tar.xz
74Source56: oberdiek.tar.xz
75Source57: pdftex-def.tar.xz
76Source58: pslatex.source.tar.xz
77Source59: pslatex.tar.xz
78Source60: psnfss.doc.tar.xz
79Source61: psnfss.source.tar.xz
80Source62: psnfss.tar.xz
81Source63: pspicture.doc.tar.xz
82Source64: pspicture.source.tar.xz
83Source65: pspicture.tar.xz
84Source66: tools.doc.tar.xz
85Source67: tools.source.tar.xz
86Source68: tools.tar.xz
87
[1533]88Requires: texlive = %{version}
89Requires: texlive-collection-basic = %{version}
90
91Requires(post):         texlive = %{version}
92Requires(postun):       texlive = %{version}
93
94BuildArch:      noarch
95Buildroot:      %{_tmppath}/%{name}-%{version}-root
96
97Vendor:         Project Vine
98Distribution:   Vine Linux
99Packager:       munepi
100
101%description
102The TeX Live software distribution offers a complete TeX system for a
103variety of Unix, Macintosh, Windows and other platforms. It
104encompasses programs for editing, typesetting, previewing and printing
105of TeX documents in many different languages, and a large collection
106of TeX macros and font libraries.
107
108The distribution includes extensive general documentation about TeX,
109as well as the documentation for the included software packages.
110
[7770]111This package is a collection of LaTeX fundamental packages:
[1533]112These packages are mandated by the core LaTeX team, or at least
113very strongly recommended.
114
115This package contains the following CTAN packages:
116ae: Virtual fonts for T1 encoded CMR-fonts.
117amscls: AMS document classes for LaTeX.
118amsmath: AMS mathematical facilities for LaTeX.
119babel: Multilingual support for Plain TeX or LaTeX.
[7770]120babel-english:
[1533]121babelbib: Multilingual bibliographies.
122carlisle: David Carlisle's small packages.
123colortbl: Add colour to LaTeX tables.
124fancyhdr: Extensive control of page headers and footers in LaTeX2e.
[5207]125fix2col: Fix miscellaneous two column mode features.
[1533]126geometry: Flexible and complete interface to document dimensions.
127graphics: Standard LaTeX graphics.
128hyperref: Extensive support for hypertext in LaTeX.
129latex: A TeX macro package that defines LaTeX.
130latex-bin: LaTeX executables and man pages.
131latex-fonts: A collection of fonts used in LaTeX distributions.
132latexconfig:
133ltxmisc: Miscellaneous LaTeX packages, etc.
134mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
[5207]135mptopdf: mpost to PDF, native MetaPost graphics inclusion
[1533]136natbib: Flexible bibliography support.
137oberdiek: A bundle of packages submitted by Heiko Oberdiek.
138pdftex-def: Colour and Graphics support for PDFTeX.
139pslatex: Use PostScript fonts by default.
140psnfss: Font support for common PostScript fonts.
141pspicture: PostScript picture support.
142tools: The LaTeX standard tools bundle.
143
144%description -l ja
145TeX Live ソフトウェアディストリビューションは、
146さまざまな Unix, Macintosh, Windows、および
147他のプラットホームに対して完全な TeX システムを提供します。
148多くの異なった言語を含む TeX ドキュメントの
149編集、組版、閲覧、印刷するためのプログラム、
150そして、TeX マクロやフォントライブラリの大きなコレクションを
151同梱しています。
152
153このディストリビューションは
154同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
155TeX に関するたくさんの一般的なドキュメントを含んでいます。
156
157このパッケージは以下のようなパッケージ集です。
[7770]158LaTeX fundamental packages:
[1533]159These packages are mandated by the core LaTeX team, or at least
160very strongly recommended.
161
162このパッケージは以下の CTAN パッケージを含んでいます:
163ae: Virtual fonts for T1 encoded CMR-fonts.
164amscls: AMS document classes for LaTeX.
165amsmath: AMS mathematical facilities for LaTeX.
166babel: Multilingual support for Plain TeX or LaTeX.
[7770]167babel-english:
[1533]168babelbib: Multilingual bibliographies.
169carlisle: David Carlisle's small packages.
170colortbl: Add colour to LaTeX tables.
171fancyhdr: Extensive control of page headers and footers in LaTeX2e.
[5207]172fix2col: Fix miscellaneous two column mode features.
[1533]173geometry: Flexible and complete interface to document dimensions.
174graphics: Standard LaTeX graphics.
175hyperref: Extensive support for hypertext in LaTeX.
176latex: A TeX macro package that defines LaTeX.
177latex-bin: LaTeX executables and man pages.
178latex-fonts: A collection of fonts used in LaTeX distributions.
179latexconfig:
180ltxmisc: Miscellaneous LaTeX packages, etc.
181mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX.
[5207]182mptopdf: mpost to PDF, native MetaPost graphics inclusion
[1533]183natbib: Flexible bibliography support.
184oberdiek: A bundle of packages submitted by Heiko Oberdiek.
185pdftex-def: Colour and Graphics support for PDFTeX.
186pslatex: Use PostScript fonts by default.
187psnfss: Font support for common PostScript fonts.
188pspicture: PostScript picture support.
189tools: The LaTeX standard tools bundle.
190
191%package doc
192Summary: TeX Live: Documentation files of %{name}
193Group: Applications/Publishing
194Requires: %{name} = %{version}-%{release}
195
196%description doc
197This package contains documentation files of %{name}.
198
199%prep
[7770]200%setup -c -n %{name}-%{version}
201%__tar -xvf %{SOURCE1}
202%__tar -xvf %{SOURCE2}
203%__tar -xvf %{SOURCE3}
204%__tar -xvf %{SOURCE4}
205%__tar -xvf %{SOURCE5}
206%__tar -xvf %{SOURCE6}
207%__tar -xvf %{SOURCE7}
208%__tar -xvf %{SOURCE8}
209%__tar -xvf %{SOURCE9}
210%__tar -xvf %{SOURCE10}
211%__tar -xvf %{SOURCE11}
212%__tar -xvf %{SOURCE12}
213%__tar -xvf %{SOURCE13}
214%__tar -xvf %{SOURCE14}
215%__tar -xvf %{SOURCE15}
216%__tar -xvf %{SOURCE16}
217%__tar -xvf %{SOURCE17}
218%__tar -xvf %{SOURCE18}
219%__tar -xvf %{SOURCE19}
220%__tar -xvf %{SOURCE20}
221%__tar -xvf %{SOURCE21}
222%__tar -xvf %{SOURCE22}
223%__tar -xvf %{SOURCE23}
224%__tar -xvf %{SOURCE24}
225%__tar -xvf %{SOURCE25}
226%__tar -xvf %{SOURCE26}
227%__tar -xvf %{SOURCE27}
228%__tar -xvf %{SOURCE28}
229%__tar -xvf %{SOURCE29}
230%__tar -xvf %{SOURCE30}
231%__tar -xvf %{SOURCE31}
232%__tar -xvf %{SOURCE32}
233%__tar -xvf %{SOURCE33}
234%__tar -xvf %{SOURCE34}
235%__tar -xvf %{SOURCE35}
236%__tar -xvf %{SOURCE36}
237%__tar -xvf %{SOURCE37}
238%__tar -xvf %{SOURCE38}
239%__tar -xvf %{SOURCE39}
240%__tar -xvf %{SOURCE40}
241%__tar -xvf %{SOURCE41}
242%__tar -xvf %{SOURCE42}
243%__tar -xvf %{SOURCE43}
244%__tar -xvf %{SOURCE44}
245%__tar -xvf %{SOURCE45}
246%__tar -xvf %{SOURCE46}
247%__tar -xvf %{SOURCE47}
248%__tar -xvf %{SOURCE48}
249%__tar -xvf %{SOURCE49}
250%__tar -xvf %{SOURCE50}
251%__tar -xvf %{SOURCE51}
252%__tar -xvf %{SOURCE52}
253%__tar -xvf %{SOURCE53}
254%__tar -xvf %{SOURCE54}
255%__tar -xvf %{SOURCE55}
256%__tar -xvf %{SOURCE56}
257%__tar -xvf %{SOURCE57}
258%__tar -xvf %{SOURCE58}
259%__tar -xvf %{SOURCE59}
260%__tar -xvf %{SOURCE60}
261%__tar -xvf %{SOURCE61}
262%__tar -xvf %{SOURCE62}
263%__tar -xvf %{SOURCE63}
264%__tar -xvf %{SOURCE64}
265%__tar -xvf %{SOURCE65}
266%__tar -xvf %{SOURCE66}
267%__tar -xvf %{SOURCE67}
268%__tar -xvf %{SOURCE68}
[1533]269
270%build
271
272%install
273[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
274
[7770]275%__mkdir_p %{buildroot}%{_datadir}
[1533]276
[7770]277## move texmf-dist to /usr/share/texmf-dist
278[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]279
[7770]280## move texmf to /usr/share/texmf
281[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]282
[7770]283## move tlpkg to /usr/share/tlpkg
284[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
285
286## move all non-arch binaries to /usr/bin
287[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
288
289## move others into /usr/share/texmf-dist
290%__mkdir_p %{buildroot}%{_tl_texmfdist}
291%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
292%__rm -rf * ||:
293
294
295## remove duplicated files between texlive and texlive-collection-*
296## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
297## remove unpacked files
298x=(
[7951]299scripts/fontools/autoinst
[7855]300scripts/texlive/tlmgr.pl
[7951]301scripts/texlive/updmap.pl
[7770]302texconfig/tcfmgr
303texconfig/tcfmgr.map
304web2c/fmtutil.cnf
305web2c/mktex.opt
306web2c/mktexdir
307web2c/mktexdir.opt
308web2c/mktexnam
309web2c/mktexnam.opt
310web2c/mktexupd
311web2c/texmf.cnf
312web2c/updmap.cfg
313web2c/updmap-hdr.cfg
314doc/chktex/ChkTeX.pdf
315install-tl
316)
317if [ -d %{buildroot}%{_tl_texmfdist} ]; then
318pushd %{buildroot}%{_tl_texmfdist}
319%__rm -f ${x[@]} ||:
[3944]320popd
[7770]321fi
322
[1533]323## Files list
324find %{buildroot} -type f -or -type l | \
325    %__sed -e "s|%{buildroot}||g" > filelist.full
326
[7770]327find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]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
[7770]340%_tl_touch_run texhash
341%_tl_touch_run mtxrun
[1533]342
[7770]343[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]344
[7770]345    %_tl_enable_map Map charter.map
346    %_tl_enable_map Map fpls.map
347    %_tl_enable_map Map pazo.map
348    %_tl_enable_map Map utopia.map
[2505]349
[7770]350%_tl_touch_run fmtutil
[2505]351
[1533]352exit 0
353
354
355%postun
356if [ "$1" = 0 ]; then
[7770]357    %_tl_touch_run texhash
[1533]358
[7770]359    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]360
[7770]361    %_tl_disable_map charter.map
362    %_tl_disable_map fpls.map
363    %_tl_disable_map pazo.map
364    %_tl_disable_map utopia.map
[1533]365
366fi
367
368exit 0
369
[7148]370%posttrans
[7770]371%{_tl_exec_texhash}
372%{_tl_exec_mtxrun}
373%{_tl_exec_updmap}
374%{_tl_exec_fmtutil}
[7148]375exit 0
376
377
[1533]378%files -f filelist.full
[5207]379%defattr(-,root,root,-)
[1533]380
381%files -f filelist.doc doc
[5207]382%defattr(-,root,root,-)
[1533]383
384%changelog
[8049]385* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
386- TLNET 20131218
387
[7951]388* Fri Nov  1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
389- TLNET 20131101
390
[7855]391* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
392- TLNET 20131002
393
[7810]394* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
395- TLNET 20130919
396
[7770]397* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
398- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.