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

Revision 9576, 15.2 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

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