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

Revision 10269, 16.6 KB checked in by munepi, 8 years ago (diff)

upgrade to TeX Live 2016

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