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

Revision 8476, 11.4 KB checked in by munepi, 10 years ago (diff)

TeX Live 2014

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