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

Revision 9955, 16.1 KB checked in by munepi, 8 years ago (diff)

reverted to texlive-20150521-source (TeX Live 2015)
remove duplicated files from texlive-collection-*

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