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

Revision 7770, 12.6 KB checked in by munepi, 11 years ago (diff)

dropped all obsolete texlive-collection packages of TeX Live 2012

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-1:
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: 1%{?_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=(
299texconfig/tcfmgr
300texconfig/tcfmgr.map
301web2c/fmtutil.cnf
302web2c/mktex.opt
303web2c/mktexdir
304web2c/mktexdir.opt
305web2c/mktexnam
306web2c/mktexnam.opt
307web2c/mktexupd
308web2c/texmf.cnf
309web2c/updmap.cfg
310web2c/updmap-hdr.cfg
311doc/chktex/ChkTeX.pdf
312install-tl
313)
314if [ -d %{buildroot}%{_tl_texmfdist} ]; then
315pushd %{buildroot}%{_tl_texmfdist}
316%__rm -f ${x[@]} ||:
317popd
318fi
319
320## Files list
321find %{buildroot} -type f -or -type l | \
322    %__sed -e "s|%{buildroot}||g" > filelist.full
323
324find %{buildroot}%{_tl_texmfdist} -type d | \
325    %__sed -e "s|^%{buildroot}|%dir |" \
326           -e "s|$|/|"             >> filelist.full
327
328## subpackages
329grep "/texmf-dist/doc/" filelist.full > filelist.doc
330cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
331%__mv -f filelist.tmp filelist.full
332
333%clean
334%__rm -rf %{buildroot}
335
336%post
337%_tl_touch_run texhash
338%_tl_touch_run mtxrun
339
340[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
341
342    %_tl_enable_map Map charter.map
343    %_tl_enable_map Map fpls.map
344    %_tl_enable_map Map pazo.map
345    %_tl_enable_map Map utopia.map
346
347%_tl_touch_run fmtutil
348
349exit 0
350
351
352%postun
353if [ "$1" = 0 ]; then
354    %_tl_touch_run texhash
355
356    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
357
358    %_tl_disable_map charter.map
359    %_tl_disable_map fpls.map
360    %_tl_disable_map pazo.map
361    %_tl_disable_map utopia.map
362
363fi
364
365exit 0
366
367%posttrans
368%{_tl_exec_texhash}
369%{_tl_exec_mtxrun}
370%{_tl_exec_updmap}
371%{_tl_exec_fmtutil}
372exit 0
373
374
375%files -f filelist.full
376%defattr(-,root,root,-)
377
378%files -f filelist.doc doc
379%defattr(-,root,root,-)
380
381%changelog
382* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
383- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-latex
384- TLNET 20130823
385
386* Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
387- generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-latex
388
389* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
390- generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-latex
391- set external dependencies (texlive-collection-binextra,
392  texlive-collection-fontutils)
393
394* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
395- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-latex
396
397* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
398- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-latex
399- make symlinks of core script utils (texlive-collection-binextra,
400  texlive-collection-context, texlive-collection-fontutils,
401  texlive-collection-langgreek, texlive-collection-langindic,
402  texlive-collection-latex, texlive-collection-latexextra,
403  texlive-collection-latexrecommended, texlive-collection-pictures,
404  texlive-collection-pstricks, texlive-collection-science)
405
406* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
407- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-latex
408- improved %%post
409
410* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
411- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-latex
412- removed arch dependent binaries (texlive-collection-latexextra)
413- fixed perl path
414- improved updmap process in %%post and %%postun
415
416* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
417- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-latex
Note: See TracBrowser for help on using the repository browser.