source: projects/specs/trunk/t/texlive-collection-xetex/texlive-collection-xetex-vl.spec @ 9529

Revision 9529, 12.1 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[9529]2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
[1974]3## tlpdb2rpmspec collection-xetex
[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: XeTeX and packages
10Summary(ja): TeX Live: XeTeX and packages
[1533]11Name: texlive-collection-xetex
[9529]12Version: 2015
13Release: 1%{?_dist_release}
[7770]14License: LPPL, LPPL 1.3, GPL+, OFSFLD, LPPL 1.2, Public Domain, Freely redistributable without restriction, ASL 2.0
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]18Source0: arabxetex.doc.tar.xz
19Source1: arabxetex.source.tar.xz
20Source2: arabxetex.tar.xz
[9034]21Source3: bidi-atbegshi.doc.tar.xz
22Source4: bidi-atbegshi.tar.xz
23Source5: bidicontour.doc.tar.xz
24Source6: bidicontour.tar.xz
25Source7: bidipagegrid.doc.tar.xz
26Source8: bidipagegrid.tar.xz
27Source9: bidishadowtext.doc.tar.xz
28Source10: bidishadowtext.tar.xz
29Source11: bidipresentation.doc.tar.xz
30Source12: bidipresentation.tar.xz
[9529]31Source13: fixlatvian.doc.tar.xz
32Source14: fixlatvian.source.tar.xz
33Source15: fixlatvian.tar.xz
34Source16: fontbook.doc.tar.xz
35Source17: fontbook.source.tar.xz
36Source18: fontbook.tar.xz
37Source19: fontwrap.doc.tar.xz
38Source20: fontwrap.tar.xz
39Source21: interchar.doc.tar.xz
40Source22: interchar.tar.xz
41Source23: mathspec.doc.tar.xz
42Source24: mathspec.tar.xz
43Source25: philokalia.doc.tar.xz
44Source26: philokalia.source.tar.xz
45Source27: philokalia.tar.xz
46Source28: polyglossia.doc.tar.xz
47Source29: polyglossia.source.tar.xz
48Source30: polyglossia.tar.xz
49Source31: ptext.doc.tar.xz
50Source32: ptext.tar.xz
51Source33: realscripts.doc.tar.xz
52Source34: realscripts.source.tar.xz
53Source35: realscripts.tar.xz
54Source36: ucharclasses.doc.tar.xz
55Source37: ucharclasses.tar.xz
56Source38: unisugar.doc.tar.xz
57Source39: unisugar.tar.xz
58Source40: xecjk.doc.tar.xz
59Source41: xecjk.source.tar.xz
60Source42: xecjk.tar.xz
61Source43: xecolor.doc.tar.xz
62Source44: xecolor.tar.xz
63Source45: xecyr.doc.tar.xz
64Source46: xecyr.tar.xz
65Source47: xeindex.doc.tar.xz
66Source48: xeindex.tar.xz
67Source49: xepersian.doc.tar.xz
68Source50: xepersian.source.tar.xz
69Source51: xepersian.tar.xz
70Source52: xesearch.doc.tar.xz
71Source53: xesearch.tar.xz
72Source54: xespotcolor.doc.tar.xz
73Source55: xespotcolor.source.tar.xz
74Source56: xespotcolor.tar.xz
75Source57: xetex.doc.tar.xz
76Source58: xetex.tar.xz
77Source59: xetex-def.tar.xz
78Source60: xetex-itrans.doc.tar.xz
79Source61: xetex-itrans.tar.xz
80Source62: xetex-pstricks.doc.tar.xz
81Source63: xetex-pstricks.tar.xz
82Source64: xetex-tibetan.doc.tar.xz
83Source65: xetex-tibetan.tar.xz
84Source66: xetexconfig.tar.xz
85Source67: xetexfontinfo.doc.tar.xz
86Source68: xetexfontinfo.tar.xz
87Source69: xetexko.doc.tar.xz
88Source70: xetexko.tar.xz
89Source71: xevlna.doc.tar.xz
90Source72: xevlna.tar.xz
91Source73: xltxtra.doc.tar.xz
92Source74: xltxtra.source.tar.xz
93Source75: xltxtra.tar.xz
94Source76: xunicode.doc.tar.xz
95Source77: xunicode.tar.xz
[7770]96
[1533]97Requires: texlive = %{version}
98Requires: texlive-collection-basic = %{version}
99
100Requires(post):         texlive = %{version}
101Requires(postun):       texlive = %{version}
102
103BuildArch:      noarch
104Buildroot:      %{_tmppath}/%{name}-%{version}-root
105
106Vendor:         Project Vine
107Distribution:   Vine Linux
108Packager:       munepi
109
110%description
111The TeX Live software distribution offers a complete TeX system for a
112variety of Unix, Macintosh, Windows and other platforms. It
113encompasses programs for editing, typesetting, previewing and printing
114of TeX documents in many different languages, and a large collection
115of TeX macros and font libraries.
116
117The distribution includes extensive general documentation about TeX,
118as well as the documentation for the included software packages.
119
[7770]120This package is a collection of XeTeX and packages:
[1533]121Packages for XeTeX, the Unicode/OpenType-enabled TeX by
[7148]122Jonathan Kew, http://tug.org/xetex.
[1533]123
124This package contains the following CTAN packages:
125arabxetex: An ArabTeX-like interface for XeLaTeX.
[9034]126bidi-atbegshi: Bidi-aware shipout macros.
127bidicontour: Bidi-aware coloured contour around text.
128bidipagegrid: Bidi-aware page grid in background.
129bidishadowtext: Bidi-aware shadow text.
130bidipresentation: Experimental bidi presentation.
[5207]131fixlatvian: Improve Latvian language support in XeLaTeX.
[7148]132fontbook: Generate a font book.
[1533]133fontwrap: Bind fonts to specific unicode blocks.
[9529]134interchar: Managing character class schemes in XeTeX
[1533]135mathspec: Specify arbitrary fonts for mathematics in XeTeX.
136philokalia: A font to typeset the Philokalia Books.
137polyglossia: Modern multilingual typesetting with XeLaTeX.
[7770]138ptext: A 'lipsum' for Persian.
[7148]139realscripts: Access OpenType subscript and superscript glyphs.
[8476]140ucharclasses: Font actions in XeTeX according to what is being processed.
[5207]141unisugar: Define syntactic sugar for Unicode LaTeX.
[7770]142xecjk: Support for CJK documents in XeLaTeX.
143xecolor: Support for color in XeLaTeX.
[1533]144xecyr: Using Cyrillic languages in XeTeX.
[5207]145xeindex: Automatic index generation for XeLaTeX.
[7148]146xepersian: Persian for LaTeX, using XeTeX.
[5207]147xesearch: A string finder for XeTeX.
[9529]148xespotcolor: Spot colours support for XeLaTeX
[5207]149xetex: Unicode and OpenType-enabled TeX engine.
[1533]150xetex-def: Colour and graphics support for XeTeX.
[5207]151xetex-itrans: Itrans input maps for use with XeLaTeX.
[1533]152xetex-pstricks: Running PStricks under XeTeX.
[7770]153xetex-tibetan: XeTeX input maps for Unicode Tibetan.
[5207]154xetexconfig: Configuration files for XeTeX.
[1533]155xetexfontinfo: Report font features in XeTeX.
[7770]156xetexko: Typeset Korean with Xe(La)TeX.
157xevlna: Insert non-breakable spaces using XeTeX.
[1533]158xltxtra: "Extras" for LaTeX users of XeTeX.
159xunicode: Generate Unicode characters from accented glyphs.
160
161%description -l ja
162TeX Live ソフトウェアディストリビューションは、
163さまざまな Unix, Macintosh, Windows、および
164他のプラットホームに対して完全な TeX システムを提供します。
165多くの異なった言語を含む TeX ドキュメントの
166編集、組版、閲覧、印刷するためのプログラム、
167そして、TeX マクロやフォントライブラリの大きなコレクションを
168同梱しています。
169
170このディストリビューションは
171同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
172TeX に関するたくさんの一般的なドキュメントを含んでいます。
173
174このパッケージは以下のようなパッケージ集です。
[7770]175XeTeX and packages:
[1533]176Packages for XeTeX, the Unicode/OpenType-enabled TeX by
[7148]177Jonathan Kew, http://tug.org/xetex.
[1533]178
179このパッケージは以下の CTAN パッケージを含んでいます:
180arabxetex: An ArabTeX-like interface for XeLaTeX.
[9034]181bidi-atbegshi: Bidi-aware shipout macros.
182bidicontour: Bidi-aware coloured contour around text.
183bidipagegrid: Bidi-aware page grid in background.
184bidishadowtext: Bidi-aware shadow text.
185bidipresentation: Experimental bidi presentation.
[5207]186fixlatvian: Improve Latvian language support in XeLaTeX.
[7148]187fontbook: Generate a font book.
[1533]188fontwrap: Bind fonts to specific unicode blocks.
[9529]189interchar: Managing character class schemes in XeTeX
[1533]190mathspec: Specify arbitrary fonts for mathematics in XeTeX.
191philokalia: A font to typeset the Philokalia Books.
192polyglossia: Modern multilingual typesetting with XeLaTeX.
[7770]193ptext: A 'lipsum' for Persian.
[7148]194realscripts: Access OpenType subscript and superscript glyphs.
[8476]195ucharclasses: Font actions in XeTeX according to what is being processed.
[5207]196unisugar: Define syntactic sugar for Unicode LaTeX.
[7770]197xecjk: Support for CJK documents in XeLaTeX.
198xecolor: Support for color in XeLaTeX.
[1533]199xecyr: Using Cyrillic languages in XeTeX.
[5207]200xeindex: Automatic index generation for XeLaTeX.
[7148]201xepersian: Persian for LaTeX, using XeTeX.
[5207]202xesearch: A string finder for XeTeX.
[9529]203xespotcolor: Spot colours support for XeLaTeX
[5207]204xetex: Unicode and OpenType-enabled TeX engine.
[1533]205xetex-def: Colour and graphics support for XeTeX.
[5207]206xetex-itrans: Itrans input maps for use with XeLaTeX.
[1533]207xetex-pstricks: Running PStricks under XeTeX.
[7770]208xetex-tibetan: XeTeX input maps for Unicode Tibetan.
[5207]209xetexconfig: Configuration files for XeTeX.
[1533]210xetexfontinfo: Report font features in XeTeX.
[7770]211xetexko: Typeset Korean with Xe(La)TeX.
212xevlna: Insert non-breakable spaces using XeTeX.
[1533]213xltxtra: "Extras" for LaTeX users of XeTeX.
214xunicode: Generate Unicode characters from accented glyphs.
215
216%package doc
217Summary: TeX Live: Documentation files of %{name}
218Group: Applications/Publishing
219Requires: %{name} = %{version}-%{release}
220
221%description doc
222This package contains documentation files of %{name}.
223
224%prep
[7770]225%setup -c -n %{name}-%{version}
226%__tar -xvf %{SOURCE1}
227%__tar -xvf %{SOURCE2}
228%__tar -xvf %{SOURCE3}
229%__tar -xvf %{SOURCE4}
230%__tar -xvf %{SOURCE5}
231%__tar -xvf %{SOURCE6}
232%__tar -xvf %{SOURCE7}
233%__tar -xvf %{SOURCE8}
234%__tar -xvf %{SOURCE9}
235%__tar -xvf %{SOURCE10}
236%__tar -xvf %{SOURCE11}
237%__tar -xvf %{SOURCE12}
238%__tar -xvf %{SOURCE13}
239%__tar -xvf %{SOURCE14}
240%__tar -xvf %{SOURCE15}
241%__tar -xvf %{SOURCE16}
242%__tar -xvf %{SOURCE17}
243%__tar -xvf %{SOURCE18}
244%__tar -xvf %{SOURCE19}
245%__tar -xvf %{SOURCE20}
246%__tar -xvf %{SOURCE21}
247%__tar -xvf %{SOURCE22}
248%__tar -xvf %{SOURCE23}
249%__tar -xvf %{SOURCE24}
250%__tar -xvf %{SOURCE25}
251%__tar -xvf %{SOURCE26}
252%__tar -xvf %{SOURCE27}
253%__tar -xvf %{SOURCE28}
254%__tar -xvf %{SOURCE29}
255%__tar -xvf %{SOURCE30}
256%__tar -xvf %{SOURCE31}
257%__tar -xvf %{SOURCE32}
258%__tar -xvf %{SOURCE33}
259%__tar -xvf %{SOURCE34}
260%__tar -xvf %{SOURCE35}
261%__tar -xvf %{SOURCE36}
262%__tar -xvf %{SOURCE37}
263%__tar -xvf %{SOURCE38}
264%__tar -xvf %{SOURCE39}
265%__tar -xvf %{SOURCE40}
266%__tar -xvf %{SOURCE41}
267%__tar -xvf %{SOURCE42}
268%__tar -xvf %{SOURCE43}
269%__tar -xvf %{SOURCE44}
270%__tar -xvf %{SOURCE45}
271%__tar -xvf %{SOURCE46}
272%__tar -xvf %{SOURCE47}
273%__tar -xvf %{SOURCE48}
274%__tar -xvf %{SOURCE49}
275%__tar -xvf %{SOURCE50}
276%__tar -xvf %{SOURCE51}
277%__tar -xvf %{SOURCE52}
278%__tar -xvf %{SOURCE53}
279%__tar -xvf %{SOURCE54}
280%__tar -xvf %{SOURCE55}
281%__tar -xvf %{SOURCE56}
282%__tar -xvf %{SOURCE57}
283%__tar -xvf %{SOURCE58}
284%__tar -xvf %{SOURCE59}
285%__tar -xvf %{SOURCE60}
286%__tar -xvf %{SOURCE61}
287%__tar -xvf %{SOURCE62}
288%__tar -xvf %{SOURCE63}
289%__tar -xvf %{SOURCE64}
[7855]290%__tar -xvf %{SOURCE65}
[9034]291%__tar -xvf %{SOURCE66}
292%__tar -xvf %{SOURCE67}
293%__tar -xvf %{SOURCE68}
294%__tar -xvf %{SOURCE69}
295%__tar -xvf %{SOURCE70}
296%__tar -xvf %{SOURCE71}
297%__tar -xvf %{SOURCE72}
298%__tar -xvf %{SOURCE73}
299%__tar -xvf %{SOURCE74}
300%__tar -xvf %{SOURCE75}
[9529]301%__tar -xvf %{SOURCE76}
302%__tar -xvf %{SOURCE77}
[1533]303
304%build
305
306%install
307[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
308
[7770]309%__mkdir_p %{buildroot}%{_datadir}
[1533]310
[7770]311## move texmf-dist to /usr/share/texmf-dist
312[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]313
[7770]314## move texmf to /usr/share/texmf
315[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]316
[7770]317## move tlpkg to /usr/share/tlpkg
318[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
319
320## move all non-arch binaries to /usr/bin
321[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
322
323## move others into /usr/share/texmf-dist
324%__mkdir_p %{buildroot}%{_tl_texmfdist}
325%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
326%__rm -rf * ||:
327
328
329## remove duplicated files between texlive and texlive-collection-*
330## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
331## remove unpacked files
332x=(
[9529]333scripts/texlive/texconfig-dialog.sh
334scripts/texlive/texconfig-sys.sh
335scripts/texlive/texconfig.sh
336scripts/texlive/texlinks.sh
337scripts/texlive/tlmgr.pl
338texconfig/tcfmgr
339web2c/mktex.opt
340web2c/mktexdir
341web2c/mktexdir.opt
342web2c/mktexnam
343web2c/mktexnam.opt
344web2c/mktexupd
345web2c/texmf.cnf
346web2c/updmap-hdr.cfg
347web2c/updmap.cfg
[7770]348)
349if [ -d %{buildroot}%{_tl_texmfdist} ]; then
350pushd %{buildroot}%{_tl_texmfdist}
351%__rm -f ${x[@]} ||:
[5207]352popd
[7770]353fi
354
[1533]355## Files list
356find %{buildroot} -type f -or -type l | \
357    %__sed -e "s|%{buildroot}||g" > filelist.full
358
[7770]359find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]360    %__sed -e "s|^%{buildroot}|%dir |" \
361           -e "s|$|/|"             >> filelist.full
362
363## subpackages
364grep "/texmf-dist/doc/" filelist.full > filelist.doc
365cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
366%__mv -f filelist.tmp filelist.full
367
368%clean
369%__rm -rf %{buildroot}
370
371%post
[7770]372%_tl_touch_run texhash
373%_tl_touch_run mtxrun
[1533]374
[7770]375%_tl_touch_run fmtutil
[2505]376
[1533]377exit 0
378
379
380%postun
381if [ "$1" = 0 ]; then
[7770]382    %_tl_touch_run texhash
[1533]383
384fi
385
386exit 0
387
[7148]388%posttrans
[7770]389%{_tl_exec_texhash}
390%{_tl_exec_mtxrun}
391%{_tl_exec_updmap}
392%{_tl_exec_fmtutil}
[7148]393exit 0
394
395
[1533]396%files -f filelist.full
[5207]397%defattr(-,root,root,-)
[1533]398
399%files -f filelist.doc doc
[5207]400%defattr(-,root,root,-)
[1533]401
402%changelog
[9034]403
Note: See TracBrowser for help on using the repository browser.