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

Revision 11118, 16.8 KB checked in by munepi, 7 years ago (diff)

TeX Live 2017

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