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

Revision 7855, 11.2 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-latex
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: LaTeX fundamental packages
10Summary(ja): TeX Live: LaTeX fundamental packages
11Name: texlive-collection-latex
12Version: 2013
13Release: 3%{?_dist_release}
14License: LPPL, LPPL 1.3, Public Domain
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
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
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
111This package is a collection of LaTeX fundamental packages:
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.
120babel-english:
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.
125fix2col: Fix miscellaneous two column mode features.
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.
135mptopdf: mpost to PDF, native MetaPost graphics inclusion
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このパッケージは以下のようなパッケージ集です。
158LaTeX fundamental packages:
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.
167babel-english:
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.
172fix2col: Fix miscellaneous two column mode features.
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.
182mptopdf: mpost to PDF, native MetaPost graphics inclusion
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
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}
269
270%build
271
272%install
273[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
274
275%__mkdir_p %{buildroot}%{_datadir}
276
277## move texmf-dist to /usr/share/texmf-dist
278[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
279
280## move texmf to /usr/share/texmf
281[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
282
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=(
299scripts/texlive/tlmgr.pl
300texconfig/tcfmgr
301texconfig/tcfmgr.map
302web2c/fmtutil.cnf
303web2c/mktex.opt
304web2c/mktexdir
305web2c/mktexdir.opt
306web2c/mktexnam
307web2c/mktexnam.opt
308web2c/mktexupd
309web2c/texmf.cnf
310web2c/updmap.cfg
311web2c/updmap-hdr.cfg
312doc/chktex/ChkTeX.pdf
313install-tl
314)
315if [ -d %{buildroot}%{_tl_texmfdist} ]; then
316pushd %{buildroot}%{_tl_texmfdist}
317%__rm -f ${x[@]} ||:
318popd
319fi
320
321## Files list
322find %{buildroot} -type f -or -type l | \
323    %__sed -e "s|%{buildroot}||g" > filelist.full
324
325find %{buildroot}%{_tl_texmfdist} -type d | \
326    %__sed -e "s|^%{buildroot}|%dir |" \
327           -e "s|$|/|"             >> filelist.full
328
329## subpackages
330grep "/texmf-dist/doc/" filelist.full > filelist.doc
331cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
332%__mv -f filelist.tmp filelist.full
333
334%clean
335%__rm -rf %{buildroot}
336
337%post
338%_tl_touch_run texhash
339%_tl_touch_run mtxrun
340
341[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
342
343    %_tl_enable_map Map charter.map
344    %_tl_enable_map Map fpls.map
345    %_tl_enable_map Map pazo.map
346    %_tl_enable_map Map utopia.map
347
348%_tl_touch_run fmtutil
349
350exit 0
351
352
353%postun
354if [ "$1" = 0 ]; then
355    %_tl_touch_run texhash
356
357    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
358
359    %_tl_disable_map charter.map
360    %_tl_disable_map fpls.map
361    %_tl_disable_map pazo.map
362    %_tl_disable_map utopia.map
363
364fi
365
366exit 0
367
368%posttrans
369%{_tl_exec_texhash}
370%{_tl_exec_mtxrun}
371%{_tl_exec_updmap}
372%{_tl_exec_fmtutil}
373exit 0
374
375
376%files -f filelist.full
377%defattr(-,root,root,-)
378
379%files -f filelist.doc doc
380%defattr(-,root,root,-)
381
382%changelog
383* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
384- TLNET 20131002
385
386* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
387- TLNET 20130919
388
389* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
390- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-latex
391- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.