source: projects/specs/trunk/t/texlive-collection-latexrecommended/texlive-collection-latexrecommended-vl.spec @ 8744

Revision 8744, 15.9 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20140706

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-2:
3## tlpdb2rpmspec collection-latexrecommended
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: LaTeX recommended packages
10Summary(ja): TeX Live: LaTeX recommended packages
11Name: texlive-collection-latexrecommended
12Version: 2014
13Release: 2%{?_dist_release}
14License: Public Domain, GPL+, LPPL 1.3, Freely redistributable without restriction, LPPL, LPPL 1.2
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: anysize.doc.tar.xz
19Source1: anysize.tar.xz
20Source2: beamer.doc.tar.xz
21Source3: beamer.tar.xz
22Source4: booktabs.doc.tar.xz
23Source5: booktabs.source.tar.xz
24Source6: booktabs.tar.xz
25Source7: caption.doc.tar.xz
26Source8: caption.source.tar.xz
27Source9: caption.tar.xz
28Source10: cite.doc.tar.xz
29Source11: cite.tar.xz
30Source12: cmap.doc.tar.xz
31Source13: cmap.tar.xz
32Source14: crop.doc.tar.xz
33Source15: crop.source.tar.xz
34Source16: crop.tar.xz
35Source17: ctable.doc.tar.xz
36Source18: ctable.source.tar.xz
37Source19: ctable.tar.xz
38Source20: eso-pic.doc.tar.xz
39Source21: eso-pic.source.tar.xz
40Source22: eso-pic.tar.xz
41Source23: euler.doc.tar.xz
42Source24: euler.source.tar.xz
43Source25: euler.tar.xz
44Source26: extsizes.doc.tar.xz
45Source27: extsizes.tar.xz
46Source28: fancybox.doc.tar.xz
47Source29: fancybox.tar.xz
48Source30: fancyref.doc.tar.xz
49Source31: fancyref.source.tar.xz
50Source32: fancyref.tar.xz
51Source33: fancyvrb.doc.tar.xz
52Source34: fancyvrb.source.tar.xz
53Source35: fancyvrb.tar.xz
54Source36: float.doc.tar.xz
55Source37: float.source.tar.xz
56Source38: float.tar.xz
57Source39: fontspec.doc.tar.xz
58Source40: fontspec.source.tar.xz
59Source41: fontspec.tar.xz
60Source42: fp.doc.tar.xz
61Source43: fp.tar.xz
62Source44: index.doc.tar.xz
63Source45: index.source.tar.xz
64Source46: index.tar.xz
65Source47: jknapltx.doc.tar.xz
66Source48: jknapltx.tar.xz
67Source49: koma-script.tar.xz
68Source50: l3kernel.doc.tar.xz
69Source51: l3kernel.source.tar.xz
70Source52: l3kernel.tar.xz
71Source53: l3packages.doc.tar.xz
72Source54: l3packages.source.tar.xz
73Source55: l3packages.tar.xz
74Source56: l3experimental.doc.tar.xz
75Source57: l3experimental.source.tar.xz
76Source58: l3experimental.tar.xz
77Source59: listings.doc.tar.xz
78Source60: listings.source.tar.xz
79Source61: listings.tar.xz
80Source62: mdwtools.doc.tar.xz
81Source63: mdwtools.source.tar.xz
82Source64: mdwtools.tar.xz
83Source65: memoir.doc.tar.xz
84Source66: memoir.source.tar.xz
85Source67: memoir.tar.xz
86Source68: metalogo.doc.tar.xz
87Source69: metalogo.source.tar.xz
88Source70: metalogo.tar.xz
89Source71: mh.doc.tar.xz
90Source72: mh.source.tar.xz
91Source73: mh.tar.xz
92Source74: microtype.doc.tar.xz
93Source75: microtype.source.tar.xz
94Source76: microtype.tar.xz
95Source77: ms.doc.tar.xz
96Source78: ms.source.tar.xz
97Source79: ms.tar.xz
98Source80: ntgclass.doc.tar.xz
99Source81: ntgclass.source.tar.xz
100Source82: ntgclass.tar.xz
101Source83: parskip.doc.tar.xz
102Source84: parskip.tar.xz
103Source85: pdfpages.doc.tar.xz
104Source86: pdfpages.source.tar.xz
105Source87: pdfpages.tar.xz
106Source88: powerdot.doc.tar.xz
107Source89: powerdot.source.tar.xz
108Source90: powerdot.tar.xz
109Source91: psfrag.doc.tar.xz
110Source92: psfrag.source.tar.xz
111Source93: psfrag.tar.xz
112Source94: rcs.doc.tar.xz
113Source95: rcs.source.tar.xz
114Source96: rcs.tar.xz
115Source97: rotating.doc.tar.xz
116Source98: rotating.source.tar.xz
117Source99: rotating.tar.xz
118Source100: sansmath.doc.tar.xz
119Source101: sansmath.tar.xz
120Source102: section.doc.tar.xz
121Source103: section.tar.xz
122Source104: seminar.doc.tar.xz
123Source105: seminar.tar.xz
124Source106: sepnum.doc.tar.xz
125Source107: sepnum.tar.xz
126Source108: setspace.doc.tar.xz
127Source109: setspace.tar.xz
128Source110: subfig.doc.tar.xz
129Source111: subfig.source.tar.xz
130Source112: subfig.tar.xz
131Source113: textcase.doc.tar.xz
132Source114: textcase.source.tar.xz
133Source115: textcase.tar.xz
134Source116: thumbpdf.doc.tar.xz
135Source117: thumbpdf.tar.xz
136Source118: typehtml.doc.tar.xz
137Source119: typehtml.source.tar.xz
138Source120: typehtml.tar.xz
139Source121: underscore.doc.tar.xz
140Source122: underscore.tar.xz
141Source123: xcolor.doc.tar.xz
142Source124: xcolor.source.tar.xz
143Source125: xcolor.tar.xz
144Source126: xkeyval.doc.tar.xz
145Source127: xkeyval.source.tar.xz
146Source128: xkeyval.tar.xz
147
148Requires: texlive = %{version}
149Requires: texlive-collection-latex = %{version}
150
151Requires(post):         texlive = %{version}
152Requires(postun):       texlive = %{version}
153
154BuildArch:      noarch
155Buildroot:      %{_tmppath}/%{name}-%{version}-root
156
157Vendor:         Project Vine
158Distribution:   Vine Linux
159Packager:       munepi
160
161%description
162The TeX Live software distribution offers a complete TeX system for a
163variety of Unix, Macintosh, Windows and other platforms. It
164encompasses programs for editing, typesetting, previewing and printing
165of TeX documents in many different languages, and a large collection
166of TeX macros and font libraries.
167
168The distribution includes extensive general documentation about TeX,
169as well as the documentation for the included software packages.
170
171This package is a collection of LaTeX recommended packages:
172A collection of recommended add-on packages for LaTeX which
173have widespread use.
174
175This package contains the following CTAN packages:
176anysize: A simple package to set up document margins.
177beamer: A LaTeX class for producing presentations and slides.
178booktabs: Publication quality tables in LaTeX
179caption: Customising captions in floating environments.
180cite: Improved citation handling in LaTeX.
181cmap: Make PDF files searchable and copyable.
182crop: Support for cropmarks.
183ctable: Flexible typesetting of table and figure floats using key/value directives.
184eso-pic: Add picture commands (or backgrounds) to every page.
185euler: Use AMS Euler fonts for math.
186extsizes: Extend the standard classes' size options.
187fancybox: Variants of fbox and other games with boxes.
188fancyref: A LaTeX package for fancy cross-referencing.
189fancyvrb: Sophisticated verbatim text.
190float: Improved interface for floating objects.
191fontspec: Advanced font selection in XeLaTeX and LuaLaTeX.
192fp: Fixed point arithmetic.
193index: Extended index for LaTeX including multiple indexes.
194jknapltx: Miscellaneous packages by Joerg Knappen.
195koma-script: A bundle of versatile classes and packages
196l3kernel: LaTeX3 programming conventions.
197l3packages: High-level LaTeX3 concepts.
198l3experimental: Experimental LaTeX3 concepts.
199listings: Typeset source code listings using LaTeX.
200mdwtools: Miscellaneous tools by Mark Wooding.
201memoir: Typeset fiction, non-fiction and mathematical books.
202metalogo: Extended TeX logo macros.
203mh: The MH bundle
204microtype: Subliminal refinements towards typographical perfection.
205ms: Various LaTeX packages by Martin Schroder.
206ntgclass: "European" versions of standard classes.
207parskip: Layout with zero parindent, non-zero parskip.
208pdfpages: Include PDF documents in LaTeX.
209powerdot: A presentation class.
210psfrag: Replace strings in encapsulated PostScript figures.
211rcs: Use RCS (revision control system) tags in LaTeX documents.
212rotating: Rotation tools, including rotated full-page floats.
213sansmath: Maths in a sans font.
214section: Modifying section commands in LaTeX.
215seminar: Make overhead slides.
216sepnum: Print numbers in a "friendly" format.
217setspace: Set space between lines.
218subfig: Figures broken into subfigures
219textcase: Case conversion ignoring mathematics, etc.
220thumbpdf: Thumbnails for pdfTeX and dvips/ps2pdf.
221typehtml: Typeset HTML directly from LaTeX.
222underscore: Control the behaviour of "_" in text.
223xcolor: Driver-independent color extensions for LaTeX and pdfLaTeX.
224xkeyval: Extension of the keyval package.
225
226%description -l ja
227TeX Live ソフトウェアディストリビューションは、
228さまざまな Unix, Macintosh, Windows、および
229他のプラットホームに対して完全な TeX システムを提供します。
230多くの異なった言語を含む TeX ドキュメントの
231編集、組版、閲覧、印刷するためのプログラム、
232そして、TeX マクロやフォントライブラリの大きなコレクションを
233同梱しています。
234
235このディストリビューションは
236同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
237TeX に関するたくさんの一般的なドキュメントを含んでいます。
238
239このパッケージは以下のようなパッケージ集です。
240LaTeX recommended packages:
241A collection of recommended add-on packages for LaTeX which
242have widespread use.
243
244このパッケージは以下の CTAN パッケージを含んでいます:
245anysize: A simple package to set up document margins.
246beamer: A LaTeX class for producing presentations and slides.
247booktabs: Publication quality tables in LaTeX
248caption: Customising captions in floating environments.
249cite: Improved citation handling in LaTeX.
250cmap: Make PDF files searchable and copyable.
251crop: Support for cropmarks.
252ctable: Flexible typesetting of table and figure floats using key/value directives.
253eso-pic: Add picture commands (or backgrounds) to every page.
254euler: Use AMS Euler fonts for math.
255extsizes: Extend the standard classes' size options.
256fancybox: Variants of fbox and other games with boxes.
257fancyref: A LaTeX package for fancy cross-referencing.
258fancyvrb: Sophisticated verbatim text.
259float: Improved interface for floating objects.
260fontspec: Advanced font selection in XeLaTeX and LuaLaTeX.
261fp: Fixed point arithmetic.
262index: Extended index for LaTeX including multiple indexes.
263jknapltx: Miscellaneous packages by Joerg Knappen.
264koma-script: A bundle of versatile classes and packages
265l3kernel: LaTeX3 programming conventions.
266l3packages: High-level LaTeX3 concepts.
267l3experimental: Experimental LaTeX3 concepts.
268listings: Typeset source code listings using LaTeX.
269mdwtools: Miscellaneous tools by Mark Wooding.
270memoir: Typeset fiction, non-fiction and mathematical books.
271metalogo: Extended TeX logo macros.
272mh: The MH bundle
273microtype: Subliminal refinements towards typographical perfection.
274ms: Various LaTeX packages by Martin Schroder.
275ntgclass: "European" versions of standard classes.
276parskip: Layout with zero parindent, non-zero parskip.
277pdfpages: Include PDF documents in LaTeX.
278powerdot: A presentation class.
279psfrag: Replace strings in encapsulated PostScript figures.
280rcs: Use RCS (revision control system) tags in LaTeX documents.
281rotating: Rotation tools, including rotated full-page floats.
282sansmath: Maths in a sans font.
283section: Modifying section commands in LaTeX.
284seminar: Make overhead slides.
285sepnum: Print numbers in a "friendly" format.
286setspace: Set space between lines.
287subfig: Figures broken into subfigures
288textcase: Case conversion ignoring mathematics, etc.
289thumbpdf: Thumbnails for pdfTeX and dvips/ps2pdf.
290typehtml: Typeset HTML directly from LaTeX.
291underscore: Control the behaviour of "_" in text.
292xcolor: Driver-independent color extensions for LaTeX and pdfLaTeX.
293xkeyval: Extension of the keyval package.
294
295%package doc
296Summary: TeX Live: Documentation files of %{name}
297Group: Applications/Publishing
298Requires: %{name} = %{version}-%{release}
299
300%description doc
301This package contains documentation files of %{name}.
302
303%prep
304%setup -c -n %{name}-%{version}
305%__tar -xvf %{SOURCE1}
306%__tar -xvf %{SOURCE2}
307%__tar -xvf %{SOURCE3}
308%__tar -xvf %{SOURCE4}
309%__tar -xvf %{SOURCE5}
310%__tar -xvf %{SOURCE6}
311%__tar -xvf %{SOURCE7}
312%__tar -xvf %{SOURCE8}
313%__tar -xvf %{SOURCE9}
314%__tar -xvf %{SOURCE10}
315%__tar -xvf %{SOURCE11}
316%__tar -xvf %{SOURCE12}
317%__tar -xvf %{SOURCE13}
318%__tar -xvf %{SOURCE14}
319%__tar -xvf %{SOURCE15}
320%__tar -xvf %{SOURCE16}
321%__tar -xvf %{SOURCE17}
322%__tar -xvf %{SOURCE18}
323%__tar -xvf %{SOURCE19}
324%__tar -xvf %{SOURCE20}
325%__tar -xvf %{SOURCE21}
326%__tar -xvf %{SOURCE22}
327%__tar -xvf %{SOURCE23}
328%__tar -xvf %{SOURCE24}
329%__tar -xvf %{SOURCE25}
330%__tar -xvf %{SOURCE26}
331%__tar -xvf %{SOURCE27}
332%__tar -xvf %{SOURCE28}
333%__tar -xvf %{SOURCE29}
334%__tar -xvf %{SOURCE30}
335%__tar -xvf %{SOURCE31}
336%__tar -xvf %{SOURCE32}
337%__tar -xvf %{SOURCE33}
338%__tar -xvf %{SOURCE34}
339%__tar -xvf %{SOURCE35}
340%__tar -xvf %{SOURCE36}
341%__tar -xvf %{SOURCE37}
342%__tar -xvf %{SOURCE38}
343%__tar -xvf %{SOURCE39}
344%__tar -xvf %{SOURCE40}
345%__tar -xvf %{SOURCE41}
346%__tar -xvf %{SOURCE42}
347%__tar -xvf %{SOURCE43}
348%__tar -xvf %{SOURCE44}
349%__tar -xvf %{SOURCE45}
350%__tar -xvf %{SOURCE46}
351%__tar -xvf %{SOURCE47}
352%__tar -xvf %{SOURCE48}
353%__tar -xvf %{SOURCE49}
354%__tar -xvf %{SOURCE50}
355%__tar -xvf %{SOURCE51}
356%__tar -xvf %{SOURCE52}
357%__tar -xvf %{SOURCE53}
358%__tar -xvf %{SOURCE54}
359%__tar -xvf %{SOURCE55}
360%__tar -xvf %{SOURCE56}
361%__tar -xvf %{SOURCE57}
362%__tar -xvf %{SOURCE58}
363%__tar -xvf %{SOURCE59}
364%__tar -xvf %{SOURCE60}
365%__tar -xvf %{SOURCE61}
366%__tar -xvf %{SOURCE62}
367%__tar -xvf %{SOURCE63}
368%__tar -xvf %{SOURCE64}
369%__tar -xvf %{SOURCE65}
370%__tar -xvf %{SOURCE66}
371%__tar -xvf %{SOURCE67}
372%__tar -xvf %{SOURCE68}
373%__tar -xvf %{SOURCE69}
374%__tar -xvf %{SOURCE70}
375%__tar -xvf %{SOURCE71}
376%__tar -xvf %{SOURCE72}
377%__tar -xvf %{SOURCE73}
378%__tar -xvf %{SOURCE74}
379%__tar -xvf %{SOURCE75}
380%__tar -xvf %{SOURCE76}
381%__tar -xvf %{SOURCE77}
382%__tar -xvf %{SOURCE78}
383%__tar -xvf %{SOURCE79}
384%__tar -xvf %{SOURCE80}
385%__tar -xvf %{SOURCE81}
386%__tar -xvf %{SOURCE82}
387%__tar -xvf %{SOURCE83}
388%__tar -xvf %{SOURCE84}
389%__tar -xvf %{SOURCE85}
390%__tar -xvf %{SOURCE86}
391%__tar -xvf %{SOURCE87}
392%__tar -xvf %{SOURCE88}
393%__tar -xvf %{SOURCE89}
394%__tar -xvf %{SOURCE90}
395%__tar -xvf %{SOURCE91}
396%__tar -xvf %{SOURCE92}
397%__tar -xvf %{SOURCE93}
398%__tar -xvf %{SOURCE94}
399%__tar -xvf %{SOURCE95}
400%__tar -xvf %{SOURCE96}
401%__tar -xvf %{SOURCE97}
402%__tar -xvf %{SOURCE98}
403%__tar -xvf %{SOURCE99}
404%__tar -xvf %{SOURCE100}
405%__tar -xvf %{SOURCE101}
406%__tar -xvf %{SOURCE102}
407%__tar -xvf %{SOURCE103}
408%__tar -xvf %{SOURCE104}
409%__tar -xvf %{SOURCE105}
410%__tar -xvf %{SOURCE106}
411%__tar -xvf %{SOURCE107}
412%__tar -xvf %{SOURCE108}
413%__tar -xvf %{SOURCE109}
414%__tar -xvf %{SOURCE110}
415%__tar -xvf %{SOURCE111}
416%__tar -xvf %{SOURCE112}
417%__tar -xvf %{SOURCE113}
418%__tar -xvf %{SOURCE114}
419%__tar -xvf %{SOURCE115}
420%__tar -xvf %{SOURCE116}
421%__tar -xvf %{SOURCE117}
422%__tar -xvf %{SOURCE118}
423%__tar -xvf %{SOURCE119}
424%__tar -xvf %{SOURCE120}
425%__tar -xvf %{SOURCE121}
426%__tar -xvf %{SOURCE122}
427%__tar -xvf %{SOURCE123}
428%__tar -xvf %{SOURCE124}
429%__tar -xvf %{SOURCE125}
430%__tar -xvf %{SOURCE126}
431%__tar -xvf %{SOURCE127}
432%__tar -xvf %{SOURCE128}
433
434%build
435
436%install
437[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
438
439%__mkdir_p %{buildroot}%{_datadir}
440
441## move texmf-dist to /usr/share/texmf-dist
442[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
443
444## move texmf to /usr/share/texmf
445[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
446
447## move tlpkg to /usr/share/tlpkg
448[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
449
450## move all non-arch binaries to /usr/bin
451[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
452
453## move others into /usr/share/texmf-dist
454%__mkdir_p %{buildroot}%{_tl_texmfdist}
455%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
456%__rm -rf * ||:
457
458
459## remove duplicated files between texlive and texlive-collection-*
460## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
461## remove unpacked files
462x=(
463scripts/texlive/fmtutil.sh
464texconfig/tcfmgr
465web2c/texmf.cnf
466web2c/updmap-hdr.cfg
467web2c/updmap.cfg
468install-tl
469)
470if [ -d %{buildroot}%{_tl_texmfdist} ]; then
471pushd %{buildroot}%{_tl_texmfdist}
472%__rm -f ${x[@]} ||:
473popd
474fi
475
476## Files list
477find %{buildroot} -type f -or -type l | \
478    %__sed -e "s|%{buildroot}||g" > filelist.full
479
480find %{buildroot}%{_tl_texmfdist} -type d | \
481    %__sed -e "s|^%{buildroot}|%dir |" \
482           -e "s|$|/|"             >> filelist.full
483
484## subpackages
485grep "/texmf-dist/doc/" filelist.full > filelist.doc
486cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
487%__mv -f filelist.tmp filelist.full
488
489%clean
490%__rm -rf %{buildroot}
491
492%post
493%_tl_touch_run texhash
494%_tl_touch_run mtxrun
495
496exit 0
497
498
499%postun
500if [ "$1" = 0 ]; then
501    %_tl_touch_run texhash
502
503fi
504
505exit 0
506
507%posttrans
508%{_tl_exec_texhash}
509%{_tl_exec_mtxrun}
510%{_tl_exec_updmap}
511%{_tl_exec_fmtutil}
512exit 0
513
514
515%files -f filelist.full
516%defattr(-,root,root,-)
517
518%files -f filelist.doc doc
519%defattr(-,root,root,-)
520
521%changelog
522* Sun Jul  6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
523- synced tlnet to 20140706
524
525* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
526- synced tlnet to 20140524
Note: See TracBrowser for help on using the repository browser.