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

Revision 10360, 17.1 KB checked in by munepi, 8 years ago (diff)

updated to TeX Live 2016

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2016-4:
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: 2016
13Release: 4%{?_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: dvisvgm-def.doc.tar.xz
42Source24: dvisvgm-def.tar.xz
43Source25: fancyhdr.doc.tar.xz
44Source26: fancyhdr.tar.xz
45Source27: fix2col.doc.tar.xz
46Source28: fix2col.source.tar.xz
47Source29: fix2col.tar.xz
48Source30: geometry.doc.tar.xz
49Source31: geometry.source.tar.xz
50Source32: geometry.tar.xz
51Source33: graphics.doc.tar.xz
52Source34: graphics.source.tar.xz
53Source35: graphics.tar.xz
54Source36: graphics-cfg.doc.tar.xz
55Source37: graphics-cfg.tar.xz
56Source38: hyperref.doc.tar.xz
57Source39: hyperref.source.tar.xz
58Source40: hyperref.tar.xz
59Source41: latex.doc.tar.xz
60Source42: latex.source.tar.xz
61Source43: latex.tar.xz
62Source44: latex-bin.doc.tar.xz
63Source45: latex-bin.tar.xz
64Source46: latex-fonts.doc.tar.xz
65Source47: latex-fonts.tar.xz
66Source48: latexconfig.tar.xz
67Source49: ltxmisc.tar.xz
68Source50: mfnfss.doc.tar.xz
69Source51: mfnfss.source.tar.xz
70Source52: mfnfss.tar.xz
71Source53: mptopdf.doc.tar.xz
72Source54: mptopdf.tar.xz
73Source55: natbib.doc.tar.xz
74Source56: natbib.source.tar.xz
75Source57: natbib.tar.xz
76Source58: oberdiek.doc.tar.xz
77Source59: oberdiek.source.tar.xz
78Source60: oberdiek.tar.xz
79Source61: pdftex-def.tar.xz
80Source62: pslatex.source.tar.xz
81Source63: pslatex.tar.xz
82Source64: psnfss.doc.tar.xz
83Source65: psnfss.source.tar.xz
84Source66: psnfss.tar.xz
85Source67: pspicture.doc.tar.xz
86Source68: pspicture.source.tar.xz
87Source69: pspicture.tar.xz
88Source70: tools.doc.tar.xz
89Source71: tools.source.tar.xz
90Source72: tools.tar.xz
91Source73: url.doc.tar.xz
92Source74: url.tar.xz
93
94Requires: texlive = %{version}
95Requires: texlive-collection-basic = %{version}
96
97Requires(post):         texlive = %{version}
98Requires(postun):       texlive = %{version}
99
100BuildArch:      noarch
101Buildroot:      %{_tmppath}/%{name}-%{version}-root
102
103Vendor:         Project Vine
104Distribution:   Vine Linux
105Packager:       munepi
106
107%description
108The TeX Live software distribution offers a complete TeX system for a
109variety of Unix, Macintosh, Windows and other platforms. It
110encompasses programs for editing, typesetting, previewing and printing
111of TeX documents in many different languages, and a large collection
112of TeX macros and font libraries.
113
114The distribution includes extensive general documentation about TeX,
115as well as the documentation for the included software packages.
116
117This package is a collection of LaTeX fundamental packages:
118These packages are either mandated by the core LaTeX team, or
119very widely used and strongly recommended in practice.
120
121This package contains the following CTAN packages:
122ae: Virtual fonts for T1 encoded CMR-fonts
123amscls: AMS document classes for LaTeX
124amsmath: AMS mathematical facilities for LaTeX
125babel: Multilingual support for Plain TeX or LaTeX
126babel-english: Babel support for English
127babelbib: Multilingual bibliographies
128carlisle: David Carlisle's small packages
129colortbl: Add colour to LaTeX tables
130dvisvgm-def: Colour and Graphics support for dvisvgm
131fancyhdr: Extensive control of page headers and footers in LaTeX2e
132fix2col: Fix miscellaneous two column mode features
133geometry: Flexible and complete interface to document dimensions
134graphics: The LaTeX standard graphics bundle
135graphics-cfg: Sample configuration files for LaTeX color and graphics
136hyperref: Extensive support for hypertext in LaTeX
137latex: A TeX macro package that defines LaTeX
138latex-bin: LaTeX executables and man pages.
139latex-fonts: A collection of fonts used in LaTeX distributions
140latexconfig:
141ltxmisc: Miscellaneous LaTeX packages, etc
142mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX
143mptopdf: mpost to PDF, native MetaPost graphics inclusion
144natbib: Flexible bibliography support
145oberdiek: A bundle of packages submitted by Heiko Oberdiek
146pdftex-def: Colour and Graphics support for pdfTeX
147pslatex: Use PostScript fonts by default
148psnfss: Font support for common PostScript fonts
149pspicture: PostScript picture support
150tools: The LaTeX standard tools bundle
151url: Verbatim with URL-sensitive line breaks
152
153%description -l ja
154TeX Live ソフトウェアディストリビューションは、
155さまざまな Unix, Macintosh, Windows、および
156他のプラットホームに対して完全な TeX システムを提供します。
157多くの異なった言語を含む TeX ドキュメントの
158編集、組版、閲覧、印刷するためのプログラム、
159そして、TeX マクロやフォントライブラリの大きなコレクションを
160同梱しています。
161
162このディストリビューションは
163同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
164TeX に関するたくさんの一般的なドキュメントを含んでいます。
165
166このパッケージは以下のようなパッケージ集です。
167LaTeX fundamental packages:
168These packages are either mandated by the core LaTeX team, or
169very widely used and strongly recommended in practice.
170
171このパッケージは以下の CTAN パッケージを含んでいます:
172ae: Virtual fonts for T1 encoded CMR-fonts
173amscls: AMS document classes for LaTeX
174amsmath: AMS mathematical facilities for LaTeX
175babel: Multilingual support for Plain TeX or LaTeX
176babel-english: Babel support for English
177babelbib: Multilingual bibliographies
178carlisle: David Carlisle's small packages
179colortbl: Add colour to LaTeX tables
180dvisvgm-def: Colour and Graphics support for dvisvgm
181fancyhdr: Extensive control of page headers and footers in LaTeX2e
182fix2col: Fix miscellaneous two column mode features
183geometry: Flexible and complete interface to document dimensions
184graphics: The LaTeX standard graphics bundle
185graphics-cfg: Sample configuration files for LaTeX color and graphics
186hyperref: Extensive support for hypertext in LaTeX
187latex: A TeX macro package that defines LaTeX
188latex-bin: LaTeX executables and man pages.
189latex-fonts: A collection of fonts used in LaTeX distributions
190latexconfig:
191ltxmisc: Miscellaneous LaTeX packages, etc
192mfnfss: Packages to typeset oldgerman and pandora fonts in LaTeX
193mptopdf: mpost to PDF, native MetaPost graphics inclusion
194natbib: Flexible bibliography support
195oberdiek: A bundle of packages submitted by Heiko Oberdiek
196pdftex-def: Colour and Graphics support for pdfTeX
197pslatex: Use PostScript fonts by default
198psnfss: Font support for common PostScript fonts
199pspicture: PostScript picture support
200tools: The LaTeX standard tools bundle
201url: Verbatim with URL-sensitive line breaks
202
203%package doc
204Summary: TeX Live: Documentation files of %{name}
205Group: Applications/Publishing
206Requires: %{name} = %{version}-%{release}
207
208%description doc
209This package contains documentation files of %{name}.
210
211%prep
212%setup -c -n %{name}-%{version}
213%__tar -xvf %{SOURCE1}
214%__tar -xvf %{SOURCE2}
215%__tar -xvf %{SOURCE3}
216%__tar -xvf %{SOURCE4}
217%__tar -xvf %{SOURCE5}
218%__tar -xvf %{SOURCE6}
219%__tar -xvf %{SOURCE7}
220%__tar -xvf %{SOURCE8}
221%__tar -xvf %{SOURCE9}
222%__tar -xvf %{SOURCE10}
223%__tar -xvf %{SOURCE11}
224%__tar -xvf %{SOURCE12}
225%__tar -xvf %{SOURCE13}
226%__tar -xvf %{SOURCE14}
227%__tar -xvf %{SOURCE15}
228%__tar -xvf %{SOURCE16}
229%__tar -xvf %{SOURCE17}
230%__tar -xvf %{SOURCE18}
231%__tar -xvf %{SOURCE19}
232%__tar -xvf %{SOURCE20}
233%__tar -xvf %{SOURCE21}
234%__tar -xvf %{SOURCE22}
235%__tar -xvf %{SOURCE23}
236%__tar -xvf %{SOURCE24}
237%__tar -xvf %{SOURCE25}
238%__tar -xvf %{SOURCE26}
239%__tar -xvf %{SOURCE27}
240%__tar -xvf %{SOURCE28}
241%__tar -xvf %{SOURCE29}
242%__tar -xvf %{SOURCE30}
243%__tar -xvf %{SOURCE31}
244%__tar -xvf %{SOURCE32}
245%__tar -xvf %{SOURCE33}
246%__tar -xvf %{SOURCE34}
247%__tar -xvf %{SOURCE35}
248%__tar -xvf %{SOURCE36}
249%__tar -xvf %{SOURCE37}
250%__tar -xvf %{SOURCE38}
251%__tar -xvf %{SOURCE39}
252%__tar -xvf %{SOURCE40}
253%__tar -xvf %{SOURCE41}
254%__tar -xvf %{SOURCE42}
255%__tar -xvf %{SOURCE43}
256%__tar -xvf %{SOURCE44}
257%__tar -xvf %{SOURCE45}
258%__tar -xvf %{SOURCE46}
259%__tar -xvf %{SOURCE47}
260%__tar -xvf %{SOURCE48}
261%__tar -xvf %{SOURCE49}
262%__tar -xvf %{SOURCE50}
263%__tar -xvf %{SOURCE51}
264%__tar -xvf %{SOURCE52}
265%__tar -xvf %{SOURCE53}
266%__tar -xvf %{SOURCE54}
267%__tar -xvf %{SOURCE55}
268%__tar -xvf %{SOURCE56}
269%__tar -xvf %{SOURCE57}
270%__tar -xvf %{SOURCE58}
271%__tar -xvf %{SOURCE59}
272%__tar -xvf %{SOURCE60}
273%__tar -xvf %{SOURCE61}
274%__tar -xvf %{SOURCE62}
275%__tar -xvf %{SOURCE63}
276%__tar -xvf %{SOURCE64}
277%__tar -xvf %{SOURCE65}
278%__tar -xvf %{SOURCE66}
279%__tar -xvf %{SOURCE67}
280%__tar -xvf %{SOURCE68}
281%__tar -xvf %{SOURCE69}
282%__tar -xvf %{SOURCE70}
283%__tar -xvf %{SOURCE71}
284%__tar -xvf %{SOURCE72}
285%__tar -xvf %{SOURCE73}
286%__tar -xvf %{SOURCE74}
287
288%build
289
290%install
291[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
292
293%__mkdir_p %{buildroot}%{_datadir}
294
295## move texmf-dist to /usr/share/texmf-dist
296[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
297
298## move texmf to /usr/share/texmf
299[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
300
301## move tlpkg to /usr/share/tlpkg
302[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
303
304## move all non-arch binaries to /usr/bin
305[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
306
307## move others into /usr/share/texmf-dist
308%__mkdir_p %{buildroot}%{_tl_texmfdist}
309%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
310%__rm -rf * ||:
311
312
313## remove duplicated files between texlive and texlive-collection-*
314## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
315## remove unpacked files
316x=(
317dvipdfmx/dvipdfmx.cfg
318scripts/context/stubs/unix/mtxrun
319scripts/latexmk/latexmk.pl
320scripts/ptex2pdf/ptex2pdf.lua
321scripts/texlive/fmtutil.pl
322scripts/texlive/texconfig-dialog.sh
323scripts/texlive/texconfig-sys.sh
324scripts/texlive/texconfig.sh
325scripts/texlive/texlinks.sh
326scripts/texlive/tlmgr.pl
327scripts/texlive/updmap.pl
328texconfig/tcfmgr
329web2c/fmtutil.cnf
330web2c/mktex.opt
331web2c/mktexdir
332web2c/mktexdir.opt
333web2c/mktexnam
334web2c/mktexnam.opt
335web2c/mktexupd
336web2c/texmf.cnf
337web2c/updmap-hdr.cfg
338web2c/updmap.cfg
339install-tl
340#
341scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
342scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
343scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
344scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
345scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
346scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
347scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
348scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
349scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
350scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
351scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
352scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
353scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
354scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
355scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
356scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
357scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
358scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
359scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
360scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
361scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
362scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
363scripts/oberdiek/pdfatfi.pl #texlive-collection-latex-2016-2vl7.noarch
364)
365if [ -d %{buildroot}%{_tl_texmfdist} ]; then
366pushd %{buildroot}%{_tl_texmfdist}
367%__rm -f ${x[@]} ||:
368popd
369fi
370
371## Files list
372find %{buildroot} -type f -or -type l | \
373    %__sed -e "s|%{buildroot}||g" > filelist.full
374
375find %{buildroot}%{_tl_texmfdist} -type d | \
376    %__sed -e "s|^%{buildroot}|%dir |" \
377           -e "s|$|/|"             >> filelist.full
378
379## subpackages
380grep "/texmf-dist/doc/" filelist.full > filelist.doc
381cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
382%__mv -f filelist.tmp filelist.full
383
384%clean
385%__rm -rf %{buildroot}
386
387%post
388%_tl_touch_run texhash
389%_tl_touch_run mtxrun
390
391[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
392
393    %_tl_enable_map Map charter.map
394    %_tl_enable_map Map fpls.map
395    %_tl_enable_map Map pazo.map
396    %_tl_enable_map Map utopia.map
397
398%_tl_touch_run fmtutil
399
400exit 0
401
402
403%postun
404if [ "$1" = 0 ]; then
405    %_tl_touch_run texhash
406
407    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
408
409    %_tl_disable_map charter.map
410    %_tl_disable_map fpls.map
411    %_tl_disable_map pazo.map
412    %_tl_disable_map utopia.map
413
414fi
415
416exit 0
417
418%posttrans
419%{_tl_exec_texhash}
420%{_tl_exec_mtxrun}
421%{_tl_exec_updmap}
422%{_tl_exec_fmtutil}
423exit 0
424
425
426%files -f filelist.full
427%defattr(-,root,root,-)
428
429%files -f filelist.doc doc
430%defattr(-,root,root,-)
431
432%changelog
433* Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
434- synced tlnet to 20160607 (TeX Live 2016)
435
436* Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
437- synced tlnet to 20160514 (TeX Live 2016/pretest)
438
439* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
440- synced tlnet to 20160510 (TeX Live 2016/pretest)
441
442* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
443- TeX Live 2016/pretest
444- synced tlnet to 20160428 (TeX Live 2016/pretest)
445
446* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
447- remove duplicated files from texlive-collection-*
448- synced tlnet to 20160113 (TeX Live 2015)
449
450* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
451- TeX Live 2016/dev
452- synced tlnet to 20160110 (TeX Live 2016/dev)
453
454* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
455- TeX Live 2015/pretest
456- synced tlnet to 20150522 (TeX Live 2015/pretest)
457
458* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
459- TeX Live 2015/pretest
460- synced tlnet to 20150426 (TeX Live 2015/pretest)
461
462* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
463- synced tlnet to 20150401
464
465* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
466- synced tlnet to 20141028
467
468* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
469- synced tlnet to 20140706
470
471* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
472- upgraded to TeX Live 2014
473
474* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
475- synced tlnet to 20140406
476
477* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
478- synced tlnet to 20131218
479
480* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
481- synced tlnet to 20131101
482
483* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
484- synced tlnet to 20131002
485
486* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
487- synced tlnet to 20130919
488
489* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
490- upgraded to TeX Live 2013
491  - used tlnet archives
492  - synced tlnet to 20130823
493- added macros.texlive
494
495* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
496- updated to TeX Live 2012
497
498* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
499- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
500  - set external dependencies (texlive-collection-binextra,
501    texlive-collection-fontutils)
502
503* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
504- updated to TeX Live 2011
505- merged texlive-vtlpkg-2009-osx.patch from OSXWS
506- added %doc README (%files)
507
508* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
509- applied texlive-vtlpkg-2009-vine.patch
510  - remove arch dependent binaries
511- updated tlpdb2rpmspec.sh.in:
512  - improved tlpdb4a()
513  - make symlinks of core script utils (texlive-collection-binextra,
514    texlive-collection-context, texlive-collection-fontutils,
515    texlive-collection-langgreek, texlive-collection-langindic,
516    texlive-collection-latex, texlive-collection-latexextra,
517    texlive-collection-latexrecommended, texlive-collection-pictures,
518    texlive-collection-pstricks, texlive-collection-science)
519
520* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
521- updated tlpdb2rpmspec.sh.in:
522  - improved %post
523
524* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
525- updated tlpdb2rpmspec.sh.in:
526  - removed arch dependent binaries (texlive-collection-latexextra)
527  - improved updmap process in %post and %postun
528  - fixed perl path
529
530* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
531- initial build
Note: See TracBrowser for help on using the repository browser.