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

Revision 9034, 13.0 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20141028

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[9034]2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-3:
[1974]3## tlpdb2rpmspec collection-basic
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[1533]9Summary: TeX Live: Essential programs and files
10Summary(ja): TeX Live: Essential programs and files
11Name: texlive-collection-basic
[8476]12Version: 2014
[9034]13Release: 3%{?_dist_release}
[7770]14License: OFSFLD, Knuth, GPL+, LPPL, Freely redistributable without restriction, LPPL 1.3, LGPLv2+
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]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
[8476]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
[7770]88
[1533]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:
[7770]118texlive.infra: basic TeX Live infrastructure
[1533]119amsfonts: TeX fonts from the American Mathematical Society.
120bibtex: Process bibliographies for LaTeX, etc.
121cm: Computer Modern fonts.
122dvipdfmx: An extended version of dvipdfm.
[7770]123dvipdfmx-def: Configuration file for dvipdfmx graphics.
[1533]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?
[8476]134knuth-lib: A small library of MetaFont sources.
135knuth-local: Knuth's local information.
[1533]136kpathsea: Path searching library for TeX-related files.
[5207]137lua-alt-getopt: Process application arguments the same way as getopt_long.
138luatex: The LuaTeX engine.
[1533]139makeindex: Process index output to produce typesettable code.
140metafont: A system for specifying fonts.
[8476]141mflogo: LaTeX support for Metafont logo fonts.
[5207]142mfware: Supporting tools for use with Metafont.
[1533]143pdftex: A TeX extension for direct creation of PDF.
[8476]144plain: The Plain TeX format.
[1533]145tetex: scripts and files originally written for or included in teTeX
146tex: A sophisticated typesetting engine.
147texconfig:
[7770]148texlive-common: TeX Live documentation (common elements)
149texlive-docindex: top-level TeX Live doc.html, etc.
150texlive-en: TeX Live manual (English)
[1533]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 パッケージを含んでいます:
[7770]175texlive.infra: basic TeX Live infrastructure
[1533]176amsfonts: TeX fonts from the American Mathematical Society.
177bibtex: Process bibliographies for LaTeX, etc.
178cm: Computer Modern fonts.
179dvipdfmx: An extended version of dvipdfm.
[7770]180dvipdfmx-def: Configuration file for dvipdfmx graphics.
[1533]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?
[8476]191knuth-lib: A small library of MetaFont sources.
192knuth-local: Knuth's local information.
[1533]193kpathsea: Path searching library for TeX-related files.
[5207]194lua-alt-getopt: Process application arguments the same way as getopt_long.
195luatex: The LuaTeX engine.
[1533]196makeindex: Process index output to produce typesettable code.
197metafont: A system for specifying fonts.
[8476]198mflogo: LaTeX support for Metafont logo fonts.
[5207]199mfware: Supporting tools for use with Metafont.
[1533]200pdftex: A TeX extension for direct creation of PDF.
[8476]201plain: The Plain TeX format.
[1533]202tetex: scripts and files originally written for or included in teTeX
203tex: A sophisticated typesetting engine.
204texconfig:
[7770]205texlive-common: TeX Live documentation (common elements)
206texlive-docindex: top-level TeX Live doc.html, etc.
207texlive-en: TeX Live manual (English)
[1533]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
[7770]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}
[8476]290%__tar -xvf %{SOURCE69}
[1533]291
292%build
293
294%install
295[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
296
[7770]297%__mkdir_p %{buildroot}%{_datadir}
[1533]298
[7770]299## move texmf-dist to /usr/share/texmf-dist
300[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]301
[7770]302## move texmf to /usr/share/texmf
303[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]304
[7770]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=(
[9034]321scripts/epstopdf/epstopdf.pl
[8476]322scripts/texlive/fmtutil.sh
[9034]323scripts/texlive/fmtutil-sys.sh
324scripts/texlive/texconfig-dialog.sh
325scripts/texlive/texconfig-sys.sh
326scripts/texlive/texconfig.sh
327scripts/texlive/updmap.pl
328scripts/thumbpdf/thumbpdf.pl
329scripts/glossaries/makeglossaries
330scripts/pst2pdf/pst2pdf.pl
331scripts/bundledoc/bundledoc
332scripts/bundledoc/arlatex
333scripts/dviasm/dviasm.py
334scripts/latexdiff/latexdiff-vc.pl
335scripts/latexdiff/latexdiff.pl
336scripts/latexdiff/latexrevise.pl
337scripts/pythontex/depythontex.py
338scripts/pythontex/pythontex.py
339scripts/texfot/texfot.pl
340scripts/luaotfload/luaotfload-tool.lua
[7770]341texconfig/tcfmgr
342web2c/texmf.cnf
343web2c/updmap-hdr.cfg
[8476]344web2c/updmap.cfg
[7770]345install-tl
346)
347if [ -d %{buildroot}%{_tl_texmfdist} ]; then
348pushd %{buildroot}%{_tl_texmfdist}
349%__rm -f ${x[@]} ||:
[5207]350popd
[7770]351fi
352
[1533]353## Files list
354find %{buildroot} -type f -or -type l | \
355    %__sed -e "s|%{buildroot}||g" > filelist.full
356
[7770]357find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]358    %__sed -e "s|^%{buildroot}|%dir |" \
359           -e "s|$|/|"             >> filelist.full
360
361## subpackages
362grep "/texmf-dist/doc/" filelist.full > filelist.doc
363cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
364%__mv -f filelist.tmp filelist.full
365
366%clean
367%__rm -rf %{buildroot}
368
369%post
[7770]370%_tl_touch_run texhash
371%_tl_touch_run mtxrun
[1533]372
[7770]373[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]374
[7770]375    %_tl_enable_map MixedMap cm.map
376    %_tl_enable_map MixedMap cmextra.map
377    %_tl_enable_map MixedMap cyrillic.map
378    %_tl_enable_map Map euler.map
379    %_tl_enable_map MixedMap latxfont.map
380    %_tl_enable_map MixedMap symbols.map
381    %_tl_enable_map MixedMap cmtext-bsr-interpolated.map
382    %_tl_enable_map MixedMap mflogo.map
[8476]383    %_tl_enable_map Map dummy-space.map
[7770]384    %_tl_enable_map Map mathpple.map
[2505]385
[7770]386%_tl_touch_run fmtutil
[2505]387
[1533]388exit 0
389
390
391%postun
392if [ "$1" = 0 ]; then
[7770]393    %_tl_touch_run texhash
[1533]394
[7770]395    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]396
[7770]397    %_tl_disable_map cm.map
398    %_tl_disable_map cmextra.map
399    %_tl_disable_map cyrillic.map
400    %_tl_disable_map euler.map
401    %_tl_disable_map latxfont.map
402    %_tl_disable_map symbols.map
403    %_tl_disable_map cmtext-bsr-interpolated.map
404    %_tl_disable_map mflogo.map
[8476]405    %_tl_disable_map dummy-space.map
[7770]406    %_tl_disable_map mathpple.map
[1533]407
408fi
409
410exit 0
411
[7148]412%posttrans
[7770]413%{_tl_exec_texhash}
414%{_tl_exec_mtxrun}
415%{_tl_exec_updmap}
416%{_tl_exec_fmtutil}
[7148]417exit 0
418
419
[1533]420%files -f filelist.full
[5207]421%defattr(-,root,root,-)
[1533]422
423%files -f filelist.doc doc
[5207]424%defattr(-,root,root,-)
[1533]425
426%changelog
[9034]427* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
428- synced tlnet to 20141028
429
[8744]430* Sun Jul  6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
431- synced tlnet to 20140706
432
[8476]433* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
[8744]434- synced tlnet to 20140524
Note: See TracBrowser for help on using the repository browser.