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

Revision 9529, 16.8 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

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