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

Revision 9950, 15.6 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20160110 (TeX Live 2016/dev)

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-3:
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: 3%{?_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)
352if [ -d %{buildroot}%{_tl_texmfdist} ]; then
353pushd %{buildroot}%{_tl_texmfdist}
354%__rm -f ${x[@]} ||:
355popd
356fi
357
358## Files list
359find %{buildroot} -type f -or -type l | \
360    %__sed -e "s|%{buildroot}||g" > filelist.full
361
362find %{buildroot}%{_tl_texmfdist} -type d | \
363    %__sed -e "s|^%{buildroot}|%dir |" \
364           -e "s|$|/|"             >> filelist.full
365
366## subpackages
367grep "/texmf-dist/doc/" filelist.full > filelist.doc
368cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
369%__mv -f filelist.tmp filelist.full
370
371%clean
372%__rm -rf %{buildroot}
373
374%post
375%_tl_touch_run texhash
376%_tl_touch_run mtxrun
377
378[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
379
380    %_tl_enable_map MixedMap cm.map
381    %_tl_enable_map MixedMap cmextra.map
382    %_tl_enable_map MixedMap cyrillic.map
383    %_tl_enable_map Map euler.map
384    %_tl_enable_map MixedMap latxfont.map
385    %_tl_enable_map MixedMap symbols.map
386    %_tl_enable_map MixedMap cmtext-bsr-interpolated.map
387    %_tl_enable_map Map dummy-space.map
388    %_tl_enable_map Map mathpple.map
389
390%_tl_touch_run fmtutil
391
392exit 0
393
394
395%postun
396if [ "$1" = 0 ]; then
397    %_tl_touch_run texhash
398
399    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
400
401    %_tl_disable_map cm.map
402    %_tl_disable_map cmextra.map
403    %_tl_disable_map cyrillic.map
404    %_tl_disable_map euler.map
405    %_tl_disable_map latxfont.map
406    %_tl_disable_map symbols.map
407    %_tl_disable_map cmtext-bsr-interpolated.map
408    %_tl_disable_map dummy-space.map
409    %_tl_disable_map mathpple.map
410
411fi
412
413exit 0
414
415%posttrans
416%{_tl_exec_texhash}
417%{_tl_exec_mtxrun}
418%{_tl_exec_updmap}
419%{_tl_exec_fmtutil}
420exit 0
421
422
423%files -f filelist.full
424%defattr(-,root,root,-)
425
426%files -f filelist.doc doc
427%defattr(-,root,root,-)
428
429%changelog
430* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
431- TeX Live 2016/dev
432- synced tlnet to 20160110 (TeX Live 2016/dev)
433
434* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
435- TeX Live 2015/pretest
436- synced tlnet to 20150522 (TeX Live 2015/pretest)
437
438* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
439- TeX Live 2015/pretest
440- synced tlnet to 20150426 (TeX Live 2015/pretest)
441
442* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
443- synced tlnet to 20150401
444
445* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
446- synced tlnet to 20141028
447
448* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
449- synced tlnet to 20140706
450
451* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
452- upgraded to TeX Live 2014
453
454* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
455- synced tlnet to 20140406
456
457* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
458- synced tlnet to 20131218
459
460* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
461- synced tlnet to 20131101
462
463* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
464- synced tlnet to 20131002
465
466* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
467- synced tlnet to 20130919
468
469* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
470- upgraded to TeX Live 2013
471  - used tlnet archives
472  - synced tlnet to 20130823
473- added macros.texlive
474
475* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
476- updated to TeX Live 2012
477
478* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
479- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
480  - set external dependencies (texlive-collection-binextra,
481    texlive-collection-fontutils)
482
483* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
484- updated to TeX Live 2011
485- merged texlive-vtlpkg-2009-osx.patch from OSXWS
486- added %doc README (%files)
487
488* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
489- applied texlive-vtlpkg-2009-vine.patch
490  - remove arch dependent binaries
491- updated tlpdb2rpmspec.sh.in:
492  - improved tlpdb4a()
493  - make symlinks of core script utils (texlive-collection-binextra,
494    texlive-collection-context, texlive-collection-fontutils,
495    texlive-collection-langgreek, texlive-collection-langindic,
496    texlive-collection-latex, texlive-collection-latexextra,
497    texlive-collection-latexrecommended, texlive-collection-pictures,
498    texlive-collection-pstricks, texlive-collection-science)
499
500* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
501- updated tlpdb2rpmspec.sh.in:
502  - improved %post
503
504* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
505- updated tlpdb2rpmspec.sh.in:
506  - removed arch dependent binaries (texlive-collection-latexextra)
507  - improved updmap process in %post and %postun
508  - fixed perl path
509
510* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
511- initial build
Note: See TracBrowser for help on using the repository browser.