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

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

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

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4:
3## tlpdb2rpmspec collection-basic
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Essential programs and files
10Summary(ja): TeX Live: Essential programs and files
11Name: texlive-collection-basic
12Version: 2015
13Release: 4%{?_dist_release}
14License: OFSFLD, Knuth, GPL+, LPPL, LPPL 1.3, Freely redistributable without restriction, LGPLv2+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: texlive.infra.doc.tar.xz
19Source1: texlive.infra.tar.xz
20Source2: amsfonts.doc.tar.xz
21Source3: amsfonts.source.tar.xz
22Source4: amsfonts.tar.xz
23Source5: bibtex.doc.tar.xz
24Source6: bibtex.tar.xz
25Source7: cm.doc.tar.xz
26Source8: cm.tar.xz
27Source9: dvipdfmx.doc.tar.xz
28Source10: dvipdfmx.tar.xz
29Source11: dvipdfmx-def.doc.tar.xz
30Source12: dvipdfmx-def.tar.xz
31Source13: dvips.doc.tar.xz
32Source14: dvips.tar.xz
33Source15: enctex.doc.tar.xz
34Source16: enctex.tar.xz
35Source17: etex.doc.tar.xz
36Source18: etex.tar.xz
37Source19: etex-pkg.doc.tar.xz
38Source20: etex-pkg.tar.xz
39Source21: glyphlist.tar.xz
40Source22: gsftopk.doc.tar.xz
41Source23: gsftopk.tar.xz
42Source24: hyph-utf8.doc.tar.xz
43Source25: hyph-utf8.source.tar.xz
44Source26: hyph-utf8.tar.xz
45Source27: hyphen-base.tar.xz
46Source28: ifluatex.doc.tar.xz
47Source29: ifluatex.source.tar.xz
48Source30: ifluatex.tar.xz
49Source31: ifxetex.doc.tar.xz
50Source32: ifxetex.source.tar.xz
51Source33: ifxetex.tar.xz
52Source34: knuth-lib.tar.xz
53Source35: knuth-local.tar.xz
54Source36: kpathsea.doc.tar.xz
55Source37: kpathsea.tar.xz
56Source38: lua-alt-getopt.doc.tar.xz
57Source39: lua-alt-getopt.tar.xz
58Source40: luatex.doc.tar.xz
59Source41: luatex.tar.xz
60Source42: makeindex.doc.tar.xz
61Source43: makeindex.tar.xz
62Source44: metafont.doc.tar.xz
63Source45: metafont.tar.xz
64Source46: mflogo.doc.tar.xz
65Source47: mflogo.source.tar.xz
66Source48: mflogo.tar.xz
67Source49: mfware.doc.tar.xz
68Source50: mfware.tar.xz
69Source51: pdftex.doc.tar.xz
70Source52: pdftex.tar.xz
71Source53: plain.tar.xz
72Source54: tetex.doc.tar.xz
73Source55: tetex.tar.xz
74Source56: tex.doc.tar.xz
75Source57: tex.tar.xz
76Source58: texconfig.doc.tar.xz
77Source59: texconfig.tar.xz
78Source60: texlive-common.doc.tar.xz
79Source61: texlive-common.tar.xz
80Source62: texlive-docindex.doc.tar.xz
81Source63: texlive-docindex.tar.xz
82Source64: texlive-en.doc.tar.xz
83Source65: texlive-en.tar.xz
84Source66: texlive-msg-translations.tar.xz
85Source67: texlive-scripts.doc.tar.xz
86Source68: texlive-scripts.tar.xz
87Source69: unicode-data.doc.tar.xz
88Source70: unicode-data.tar.xz
89Source71: xdvi.doc.tar.xz
90Source72: xdvi.tar.xz
91
92Requires: texlive = %{version}
93
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 Essential programs and files:
116These files are regarded as basic for any TeX system, covering
117plain TeX macros, Computer Modern fonts, and configuration for
118common drivers; no LaTeX.
119
120This package contains the following CTAN packages:
121texlive.infra: basic TeX Live infrastructure
122amsfonts: TeX fonts from the American Mathematical Society.
123bibtex: Process bibliographies for LaTeX, etc.
124cm: Computer Modern fonts.
125dvipdfmx: An extended version of dvipdfm
126dvipdfmx-def: Configuration file for dvipdfmx graphics
127dvips: A DVI to PostScript driver
128enctex: A TeX extension that translates input on its way into TeX.
129etex: An extended version of TeX, from the NTS project.
130etex-pkg: E-TeX support package
131glyphlist:
132gsftopk: Convert "ghostscript fonts" to PK files.
133hyph-utf8: Hyphenation patterns expressed in UTF-8
134hyphen-base:
135ifluatex: Provides the ifluatex switch.
136ifxetex: Am I running under XeTeX?
137knuth-lib: A small library of MetaFont sources.
138knuth-local: Knuth's local information
139kpathsea: Path searching library for TeX-related files
140lua-alt-getopt: Process application arguments the same way as getopt_long.
141luatex: The LuaTeX engine
142makeindex: Makeindex development sources.
143metafont: A system for specifying fonts
144mflogo: LaTeX support for Metafont logo fonts
145mfware: Supporting tools for use with Metafont.
146pdftex: A TeX extension for direct creation of PDF
147plain: The Plain TeX format
148tetex: scripts and files originally written for or included in teTeX
149tex: A sophisticated typesetting engine
150texconfig:
151texlive-common: TeX Live documentation (common elements)
152texlive-docindex: top-level TeX Live doc.html, etc.
153texlive-en: TeX Live manual (English)
154texlive-msg-translations: translations of the TeX Live installer and TeX Live Manager
155texlive-scripts: TeX Live infrastructure programs
156unicode-data: Unicode data and loaders for TeX
157xdvi: A DVI previewer for the X Window System.
158
159%description -l ja
160TeX Live ソフトウェアディストリビューションは、
161さまざまな Unix, Macintosh, Windows、および
162他のプラットホームに対して完全な TeX システムを提供します。
163多くの異なった言語を含む TeX ドキュメントの
164編集、組版、閲覧、印刷するためのプログラム、
165そして、TeX マクロやフォントライブラリの大きなコレクションを
166同梱しています。
167
168このディストリビューションは
169同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
170TeX に関するたくさんの一般的なドキュメントを含んでいます。
171
172このパッケージは以下のようなパッケージ集です。
173Essential programs and files:
174These files are regarded as basic for any TeX system, covering
175plain TeX macros, Computer Modern fonts, and configuration for
176common drivers; no LaTeX.
177
178このパッケージは以下の CTAN パッケージを含んでいます:
179texlive.infra: basic TeX Live infrastructure
180amsfonts: TeX fonts from the American Mathematical Society.
181bibtex: Process bibliographies for LaTeX, etc.
182cm: Computer Modern fonts.
183dvipdfmx: An extended version of dvipdfm
184dvipdfmx-def: Configuration file for dvipdfmx graphics
185dvips: A DVI to PostScript driver
186enctex: A TeX extension that translates input on its way into TeX.
187etex: An extended version of TeX, from the NTS project.
188etex-pkg: E-TeX support package
189glyphlist:
190gsftopk: Convert "ghostscript fonts" to PK files.
191hyph-utf8: Hyphenation patterns expressed in UTF-8
192hyphen-base:
193ifluatex: Provides the ifluatex switch.
194ifxetex: Am I running under XeTeX?
195knuth-lib: A small library of MetaFont sources.
196knuth-local: Knuth's local information
197kpathsea: Path searching library for TeX-related files
198lua-alt-getopt: Process application arguments the same way as getopt_long.
199luatex: The LuaTeX engine
200makeindex: Makeindex development sources.
201metafont: A system for specifying fonts
202mflogo: LaTeX support for Metafont logo fonts
203mfware: Supporting tools for use with Metafont.
204pdftex: A TeX extension for direct creation of PDF
205plain: The Plain TeX format
206tetex: scripts and files originally written for or included in teTeX
207tex: A sophisticated typesetting engine
208texconfig:
209texlive-common: TeX Live documentation (common elements)
210texlive-docindex: top-level TeX Live doc.html, etc.
211texlive-en: TeX Live manual (English)
212texlive-msg-translations: translations of the TeX Live installer and TeX Live Manager
213texlive-scripts: TeX Live infrastructure programs
214unicode-data: Unicode data and loaders for TeX
215xdvi: A DVI previewer for the X Window System.
216
217%package doc
218Summary: TeX Live: Documentation files of %{name}
219Group: Applications/Publishing
220Requires: %{name} = %{version}-%{release}
221
222%description doc
223This package contains documentation files of %{name}.
224
225%prep
226%setup -c -n %{name}-%{version}
227%__tar -xvf %{SOURCE1}
228%__tar -xvf %{SOURCE2}
229%__tar -xvf %{SOURCE3}
230%__tar -xvf %{SOURCE4}
231%__tar -xvf %{SOURCE5}
232%__tar -xvf %{SOURCE6}
233%__tar -xvf %{SOURCE7}
234%__tar -xvf %{SOURCE8}
235%__tar -xvf %{SOURCE9}
236%__tar -xvf %{SOURCE10}
237%__tar -xvf %{SOURCE11}
238%__tar -xvf %{SOURCE12}
239%__tar -xvf %{SOURCE13}
240%__tar -xvf %{SOURCE14}
241%__tar -xvf %{SOURCE15}
242%__tar -xvf %{SOURCE16}
243%__tar -xvf %{SOURCE17}
244%__tar -xvf %{SOURCE18}
245%__tar -xvf %{SOURCE19}
246%__tar -xvf %{SOURCE20}
247%__tar -xvf %{SOURCE21}
248%__tar -xvf %{SOURCE22}
249%__tar -xvf %{SOURCE23}
250%__tar -xvf %{SOURCE24}
251%__tar -xvf %{SOURCE25}
252%__tar -xvf %{SOURCE26}
253%__tar -xvf %{SOURCE27}
254%__tar -xvf %{SOURCE28}
255%__tar -xvf %{SOURCE29}
256%__tar -xvf %{SOURCE30}
257%__tar -xvf %{SOURCE31}
258%__tar -xvf %{SOURCE32}
259%__tar -xvf %{SOURCE33}
260%__tar -xvf %{SOURCE34}
261%__tar -xvf %{SOURCE35}
262%__tar -xvf %{SOURCE36}
263%__tar -xvf %{SOURCE37}
264%__tar -xvf %{SOURCE38}
265%__tar -xvf %{SOURCE39}
266%__tar -xvf %{SOURCE40}
267%__tar -xvf %{SOURCE41}
268%__tar -xvf %{SOURCE42}
269%__tar -xvf %{SOURCE43}
270%__tar -xvf %{SOURCE44}
271%__tar -xvf %{SOURCE45}
272%__tar -xvf %{SOURCE46}
273%__tar -xvf %{SOURCE47}
274%__tar -xvf %{SOURCE48}
275%__tar -xvf %{SOURCE49}
276%__tar -xvf %{SOURCE50}
277%__tar -xvf %{SOURCE51}
278%__tar -xvf %{SOURCE52}
279%__tar -xvf %{SOURCE53}
280%__tar -xvf %{SOURCE54}
281%__tar -xvf %{SOURCE55}
282%__tar -xvf %{SOURCE56}
283%__tar -xvf %{SOURCE57}
284%__tar -xvf %{SOURCE58}
285%__tar -xvf %{SOURCE59}
286%__tar -xvf %{SOURCE60}
287%__tar -xvf %{SOURCE61}
288%__tar -xvf %{SOURCE62}
289%__tar -xvf %{SOURCE63}
290%__tar -xvf %{SOURCE64}
291%__tar -xvf %{SOURCE65}
292%__tar -xvf %{SOURCE66}
293%__tar -xvf %{SOURCE67}
294%__tar -xvf %{SOURCE68}
295%__tar -xvf %{SOURCE69}
296%__tar -xvf %{SOURCE70}
297%__tar -xvf %{SOURCE71}
298%__tar -xvf %{SOURCE72}
299
300%build
301
302%install
303[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
304
305%__mkdir_p %{buildroot}%{_datadir}
306
307## move texmf-dist to /usr/share/texmf-dist
308[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
309
310## move texmf to /usr/share/texmf
311[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
312
313## move tlpkg to /usr/share/tlpkg
314[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
315
316## move all non-arch binaries to /usr/bin
317[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
318
319## move others into /usr/share/texmf-dist
320%__mkdir_p %{buildroot}%{_tl_texmfdist}
321%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
322%__rm -rf * ||:
323
324
325## remove duplicated files between texlive and texlive-collection-*
326## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
327## remove unpacked files
328x=(
329dvipdfmx/dvipdfmx.cfg
330scripts/context/stubs/unix/mtxrun
331scripts/ptex2pdf/ptex2pdf.lua
332scripts/texlive/fmtutil.pl
333scripts/texlive/texconfig-dialog.sh
334scripts/texlive/texconfig-sys.sh
335scripts/texlive/texconfig.sh
336scripts/texlive/texlinks.sh
337scripts/texlive/tlmgr.pl
338scripts/texlive/updmap.pl
339texconfig/tcfmgr
340web2c/fmtutil.cnf
341web2c/mktex.opt
342web2c/mktexdir
343web2c/mktexdir.opt
344web2c/mktexnam
345web2c/mktexnam.opt
346web2c/mktexupd
347web2c/texmf.cnf
348web2c/updmap-hdr.cfg
349web2c/updmap.cfg
350install-tl
351#
352scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
353scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
354scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
355scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
356scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
357scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
358scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
359scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
360scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
361scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
362scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
363scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
364scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
365scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
366scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
367scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
368scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
369scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
370scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
371scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
372scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
373scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
374)
375if [ -d %{buildroot}%{_tl_texmfdist} ]; then
376pushd %{buildroot}%{_tl_texmfdist}
377%__rm -f ${x[@]} ||:
378popd
379fi
380
381## Files list
382find %{buildroot} -type f -or -type l | \
383    %__sed -e "s|%{buildroot}||g" > filelist.full
384
385find %{buildroot}%{_tl_texmfdist} -type d | \
386    %__sed -e "s|^%{buildroot}|%dir |" \
387           -e "s|$|/|"             >> filelist.full
388
389## subpackages
390grep "/texmf-dist/doc/" filelist.full > filelist.doc
391cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
392%__mv -f filelist.tmp filelist.full
393
394%clean
395%__rm -rf %{buildroot}
396
397%post
398%_tl_touch_run texhash
399%_tl_touch_run mtxrun
400
401[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
402
403    %_tl_enable_map MixedMap cm.map
404    %_tl_enable_map MixedMap cmextra.map
405    %_tl_enable_map MixedMap cyrillic.map
406    %_tl_enable_map Map euler.map
407    %_tl_enable_map MixedMap latxfont.map
408    %_tl_enable_map MixedMap symbols.map
409    %_tl_enable_map MixedMap cmtext-bsr-interpolated.map
410    %_tl_enable_map Map dummy-space.map
411    %_tl_enable_map Map mathpple.map
412
413%_tl_touch_run fmtutil
414
415exit 0
416
417
418%postun
419if [ "$1" = 0 ]; then
420    %_tl_touch_run texhash
421
422    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
423
424    %_tl_disable_map cm.map
425    %_tl_disable_map cmextra.map
426    %_tl_disable_map cyrillic.map
427    %_tl_disable_map euler.map
428    %_tl_disable_map latxfont.map
429    %_tl_disable_map symbols.map
430    %_tl_disable_map cmtext-bsr-interpolated.map
431    %_tl_disable_map dummy-space.map
432    %_tl_disable_map mathpple.map
433
434fi
435
436exit 0
437
438%posttrans
439%{_tl_exec_texhash}
440%{_tl_exec_mtxrun}
441%{_tl_exec_updmap}
442%{_tl_exec_fmtutil}
443exit 0
444
445
446%files -f filelist.full
447%defattr(-,root,root,-)
448
449%files -f filelist.doc doc
450%defattr(-,root,root,-)
451
452%changelog
453* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
454- remove duplicated files from texlive-collection-*
455- synced tlnet to 20160113 (TeX Live 2015)
456
457* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
458- TeX Live 2016/dev
459- synced tlnet to 20160110 (TeX Live 2016/dev)
460
461* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
462- TeX Live 2015/pretest
463- synced tlnet to 20150522 (TeX Live 2015/pretest)
464
465* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
466- TeX Live 2015/pretest
467- synced tlnet to 20150426 (TeX Live 2015/pretest)
468
469* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
470- synced tlnet to 20150401
471
472* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
473- synced tlnet to 20141028
474
475* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
476- synced tlnet to 20140706
477
478* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
479- upgraded to TeX Live 2014
480
481* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
482- synced tlnet to 20140406
483
484* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
485- synced tlnet to 20131218
486
487* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
488- synced tlnet to 20131101
489
490* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
491- synced tlnet to 20131002
492
493* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
494- synced tlnet to 20130919
495
496* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
497- upgraded to TeX Live 2013
498  - used tlnet archives
499  - synced tlnet to 20130823
500- added macros.texlive
501
502* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
503- updated to TeX Live 2012
504
505* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
506- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
507  - set external dependencies (texlive-collection-binextra,
508    texlive-collection-fontutils)
509
510* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
511- updated to TeX Live 2011
512- merged texlive-vtlpkg-2009-osx.patch from OSXWS
513- added %doc README (%files)
514
515* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
516- applied texlive-vtlpkg-2009-vine.patch
517  - remove arch dependent binaries
518- updated tlpdb2rpmspec.sh.in:
519  - improved tlpdb4a()
520  - make symlinks of core script utils (texlive-collection-binextra,
521    texlive-collection-context, texlive-collection-fontutils,
522    texlive-collection-langgreek, texlive-collection-langindic,
523    texlive-collection-latex, texlive-collection-latexextra,
524    texlive-collection-latexrecommended, texlive-collection-pictures,
525    texlive-collection-pstricks, texlive-collection-science)
526
527* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
528- updated tlpdb2rpmspec.sh.in:
529  - improved %post
530
531* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
532- updated tlpdb2rpmspec.sh.in:
533  - removed arch dependent binaries (texlive-collection-latexextra)
534  - improved updmap process in %post and %postun
535  - fixed perl path
536
537* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
538- initial build
Note: See TracBrowser for help on using the repository browser.