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

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

TeX Live 2015/pretest

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-1:
3## tlpdb2rpmspec collection-luatex
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: LuaTeX packages
10Summary(ja): TeX Live: LuaTeX packages
11Name: texlive-collection-luatex
12Version: 2015
13Release: 1%{?_dist_release}
14License: LPPL 1.3, BSD, LPPL, Freely redistributable without restriction, Public Domain, GFDL, GPLv2+, LPPL 1.2
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: checkcites.doc.tar.xz
19Source1: checkcites.tar.xz
20Source2: chickenize.doc.tar.xz
21Source3: chickenize.source.tar.xz
22Source4: chickenize.tar.xz
23Source5: enigma.doc.tar.xz
24Source6: enigma.tar.xz
25Source7: interpreter.doc.tar.xz
26Source8: interpreter.tar.xz
27Source9: lua-check-hyphen.doc.tar.xz
28Source10: lua-check-hyphen.tar.xz
29Source11: lua-visual-debug.doc.tar.xz
30Source12: lua-visual-debug.tar.xz
31Source13: lua2dox.doc.tar.xz
32Source14: lua2dox.tar.xz
33Source15: luabibentry.doc.tar.xz
34Source16: luabibentry.source.tar.xz
35Source17: luabibentry.tar.xz
36Source18: luabidi.doc.tar.xz
37Source19: luabidi.tar.xz
38Source20: luacode.doc.tar.xz
39Source21: luacode.source.tar.xz
40Source22: luacode.tar.xz
41Source23: luaindex.doc.tar.xz
42Source24: luaindex.source.tar.xz
43Source25: luaindex.tar.xz
44Source26: luainputenc.doc.tar.xz
45Source27: luainputenc.source.tar.xz
46Source28: luainputenc.tar.xz
47Source29: luaintro.doc.tar.xz
48Source30: luaintro.tar.xz
49Source31: lualatex-doc.doc.tar.xz
50Source32: lualatex-doc.source.tar.xz
51Source33: lualatex-doc.tar.xz
52Source34: lualatex-math.doc.tar.xz
53Source35: lualatex-math.source.tar.xz
54Source36: lualatex-math.tar.xz
55Source37: lualibs.doc.tar.xz
56Source38: lualibs.source.tar.xz
57Source39: lualibs.tar.xz
58Source40: luamplib.doc.tar.xz
59Source41: luamplib.source.tar.xz
60Source42: luamplib.tar.xz
61Source43: luaotfload.doc.tar.xz
62Source44: luaotfload.source.tar.xz
63Source45: luaotfload.tar.xz
64Source46: luasseq.doc.tar.xz
65Source47: luasseq.source.tar.xz
66Source48: luasseq.tar.xz
67Source49: luatexbase.doc.tar.xz
68Source50: luatexbase.source.tar.xz
69Source51: luatexbase.tar.xz
70Source52: luatexko.doc.tar.xz
71Source53: luatexko.tar.xz
72Source54: luatextra.doc.tar.xz
73Source55: luatextra.source.tar.xz
74Source56: luatextra.tar.xz
75Source57: luatodonotes.doc.tar.xz
76Source58: luatodonotes.source.tar.xz
77Source59: luatodonotes.tar.xz
78Source60: luaxml.doc.tar.xz
79Source61: luaxml.tar.xz
80Source62: odsfile.doc.tar.xz
81Source63: odsfile.tar.xz
82Source64: placeat.doc.tar.xz
83Source65: placeat.source.tar.xz
84Source66: placeat.tar.xz
85Source67: selnolig.doc.tar.xz
86Source68: selnolig.tar.xz
87Source69: showhyphens.doc.tar.xz
88Source70: showhyphens.tar.xz
89Source71: spelling.doc.tar.xz
90Source72: spelling.tar.xz
91
92Requires: texlive = %{version}
93Requires: texlive-collection-basic = %{version}
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 LuaTeX packages:
116Packages for LuaTeX, a Unicode-aware extension of pdfTeX, using
117Lua as an embedded scripting and extension language.
118http://luatex.org/
119
120This package contains the following CTAN packages:
121checkcites: Check citation commands in a document.
122chickenize: Use lua callbacks for "interesting" textual effects.
123enigma: Encrypt documents with a three rotor Enigma.
124interpreter: Translate input files on the fly.
125lua-check-hyphen: Mark hyphenations in a document, for checking.
126lua-visual-debug: Visual debugging with LuaLaTeX.
127lua2dox: Auto-documentation of lua code.
128luabibentry: Repeat BibTeX entries in a LuaLaTeX document body.
129luabidi: Bidirectional typesetting with LuaLaTeX.
130luacode: Helper for executing lua code from within TeX.
131luaindex: Create index using lualatex.
132luainputenc: Replacing inputenc for use in LuaTeX.
133luaintro: Examples from the book "Einfuhrung in LuaTeX und LuaLaTeX".
134lualatex-doc: A guide to use of LaTeX with LuaTeX.
135lualatex-math: Fixes for mathematics-related LuaLaTeX issues.
136lualibs: Additional Lua functions for LuaTeX macro programmers.
137luamplib: Use LuaTeX's built-in MetaPost interpreter.
138luaotfload: OpenType 'loader' for Plain TeX and LaTeX.
139luasseq: Drawing spectral sequences in LuaLaTeX.
140luatexbase: Basic resource management for LuaTeX code.
141luatexko: Typeset Korean with Lua(La)TeX.
142luatextra: Additional macros for Plain TeX and LaTeX in LuaTeX.
143luatodonotes: Add editing annotations in a LuaLaTeX document.
144luaxml: Lua library for reading and serialising XML files.
145odsfile: Read OpenDocument Spreadsheet documents as LaTeX tables.
146placeat: Absolute content positioning.
147selnolig: Selectively disable typographic ligatures.
148showhyphens: Show all possible hyphenations in LuaLaTeX.
149spelling: Support for spell-checking of LuaTeX documents.
150
151%description -l ja
152TeX Live ソフトウェアディストリビューションは、
153さまざまな Unix, Macintosh, Windows、および
154他のプラットホームに対して完全な TeX システムを提供します。
155多くの異なった言語を含む TeX ドキュメントの
156編集、組版、閲覧、印刷するためのプログラム、
157そして、TeX マクロやフォントライブラリの大きなコレクションを
158同梱しています。
159
160このディストリビューションは
161同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
162TeX に関するたくさんの一般的なドキュメントを含んでいます。
163
164このパッケージは以下のようなパッケージ集です。
165LuaTeX packages:
166Packages for LuaTeX, a Unicode-aware extension of pdfTeX, using
167Lua as an embedded scripting and extension language.
168http://luatex.org/
169
170このパッケージは以下の CTAN パッケージを含んでいます:
171checkcites: Check citation commands in a document.
172chickenize: Use lua callbacks for "interesting" textual effects.
173enigma: Encrypt documents with a three rotor Enigma.
174interpreter: Translate input files on the fly.
175lua-check-hyphen: Mark hyphenations in a document, for checking.
176lua-visual-debug: Visual debugging with LuaLaTeX.
177lua2dox: Auto-documentation of lua code.
178luabibentry: Repeat BibTeX entries in a LuaLaTeX document body.
179luabidi: Bidirectional typesetting with LuaLaTeX.
180luacode: Helper for executing lua code from within TeX.
181luaindex: Create index using lualatex.
182luainputenc: Replacing inputenc for use in LuaTeX.
183luaintro: Examples from the book "Einfuhrung in LuaTeX und LuaLaTeX".
184lualatex-doc: A guide to use of LaTeX with LuaTeX.
185lualatex-math: Fixes for mathematics-related LuaLaTeX issues.
186lualibs: Additional Lua functions for LuaTeX macro programmers.
187luamplib: Use LuaTeX's built-in MetaPost interpreter.
188luaotfload: OpenType 'loader' for Plain TeX and LaTeX.
189luasseq: Drawing spectral sequences in LuaLaTeX.
190luatexbase: Basic resource management for LuaTeX code.
191luatexko: Typeset Korean with Lua(La)TeX.
192luatextra: Additional macros for Plain TeX and LaTeX in LuaTeX.
193luatodonotes: Add editing annotations in a LuaLaTeX document.
194luaxml: Lua library for reading and serialising XML files.
195odsfile: Read OpenDocument Spreadsheet documents as LaTeX tables.
196placeat: Absolute content positioning.
197selnolig: Selectively disable typographic ligatures.
198showhyphens: Show all possible hyphenations in LuaLaTeX.
199spelling: Support for spell-checking of LuaTeX documents.
200
201%package doc
202Summary: TeX Live: Documentation files of %{name}
203Group: Applications/Publishing
204Requires: %{name} = %{version}-%{release}
205
206%description doc
207This package contains documentation files of %{name}.
208
209%prep
210%setup -c -n %{name}-%{version}
211%__tar -xvf %{SOURCE1}
212%__tar -xvf %{SOURCE2}
213%__tar -xvf %{SOURCE3}
214%__tar -xvf %{SOURCE4}
215%__tar -xvf %{SOURCE5}
216%__tar -xvf %{SOURCE6}
217%__tar -xvf %{SOURCE7}
218%__tar -xvf %{SOURCE8}
219%__tar -xvf %{SOURCE9}
220%__tar -xvf %{SOURCE10}
221%__tar -xvf %{SOURCE11}
222%__tar -xvf %{SOURCE12}
223%__tar -xvf %{SOURCE13}
224%__tar -xvf %{SOURCE14}
225%__tar -xvf %{SOURCE15}
226%__tar -xvf %{SOURCE16}
227%__tar -xvf %{SOURCE17}
228%__tar -xvf %{SOURCE18}
229%__tar -xvf %{SOURCE19}
230%__tar -xvf %{SOURCE20}
231%__tar -xvf %{SOURCE21}
232%__tar -xvf %{SOURCE22}
233%__tar -xvf %{SOURCE23}
234%__tar -xvf %{SOURCE24}
235%__tar -xvf %{SOURCE25}
236%__tar -xvf %{SOURCE26}
237%__tar -xvf %{SOURCE27}
238%__tar -xvf %{SOURCE28}
239%__tar -xvf %{SOURCE29}
240%__tar -xvf %{SOURCE30}
241%__tar -xvf %{SOURCE31}
242%__tar -xvf %{SOURCE32}
243%__tar -xvf %{SOURCE33}
244%__tar -xvf %{SOURCE34}
245%__tar -xvf %{SOURCE35}
246%__tar -xvf %{SOURCE36}
247%__tar -xvf %{SOURCE37}
248%__tar -xvf %{SOURCE38}
249%__tar -xvf %{SOURCE39}
250%__tar -xvf %{SOURCE40}
251%__tar -xvf %{SOURCE41}
252%__tar -xvf %{SOURCE42}
253%__tar -xvf %{SOURCE43}
254%__tar -xvf %{SOURCE44}
255%__tar -xvf %{SOURCE45}
256%__tar -xvf %{SOURCE46}
257%__tar -xvf %{SOURCE47}
258%__tar -xvf %{SOURCE48}
259%__tar -xvf %{SOURCE49}
260%__tar -xvf %{SOURCE50}
261%__tar -xvf %{SOURCE51}
262%__tar -xvf %{SOURCE52}
263%__tar -xvf %{SOURCE53}
264%__tar -xvf %{SOURCE54}
265%__tar -xvf %{SOURCE55}
266%__tar -xvf %{SOURCE56}
267%__tar -xvf %{SOURCE57}
268%__tar -xvf %{SOURCE58}
269%__tar -xvf %{SOURCE59}
270%__tar -xvf %{SOURCE60}
271%__tar -xvf %{SOURCE61}
272%__tar -xvf %{SOURCE62}
273%__tar -xvf %{SOURCE63}
274%__tar -xvf %{SOURCE64}
275%__tar -xvf %{SOURCE65}
276%__tar -xvf %{SOURCE66}
277%__tar -xvf %{SOURCE67}
278%__tar -xvf %{SOURCE68}
279%__tar -xvf %{SOURCE69}
280%__tar -xvf %{SOURCE70}
281%__tar -xvf %{SOURCE71}
282%__tar -xvf %{SOURCE72}
283
284%build
285
286%install
287[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
288
289%__mkdir_p %{buildroot}%{_datadir}
290
291## move texmf-dist to /usr/share/texmf-dist
292[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
293
294## move texmf to /usr/share/texmf
295[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
296
297## move tlpkg to /usr/share/tlpkg
298[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
299
300## move all non-arch binaries to /usr/bin
301[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
302
303## move others into /usr/share/texmf-dist
304%__mkdir_p %{buildroot}%{_tl_texmfdist}
305%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
306%__rm -rf * ||:
307
308
309## remove duplicated files between texlive and texlive-collection-*
310## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
311## remove unpacked files
312x=(
313scripts/texlive/texconfig-dialog.sh
314scripts/texlive/texconfig-sys.sh
315scripts/texlive/texconfig.sh
316scripts/texlive/texlinks.sh
317scripts/texlive/tlmgr.pl
318texconfig/tcfmgr
319web2c/mktex.opt
320web2c/mktexdir
321web2c/mktexdir.opt
322web2c/mktexnam
323web2c/mktexnam.opt
324web2c/mktexupd
325web2c/texmf.cnf
326web2c/updmap-hdr.cfg
327web2c/updmap.cfg
328)
329if [ -d %{buildroot}%{_tl_texmfdist} ]; then
330pushd %{buildroot}%{_tl_texmfdist}
331%__rm -f ${x[@]} ||:
332popd
333fi
334
335## Files list
336find %{buildroot} -type f -or -type l | \
337    %__sed -e "s|%{buildroot}||g" > filelist.full
338
339find %{buildroot}%{_tl_texmfdist} -type d | \
340    %__sed -e "s|^%{buildroot}|%dir |" \
341           -e "s|$|/|"             >> filelist.full
342
343## subpackages
344grep "/texmf-dist/doc/" filelist.full > filelist.doc
345cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
346%__mv -f filelist.tmp filelist.full
347
348%clean
349%__rm -rf %{buildroot}
350
351%post
352%_tl_touch_run texhash
353%_tl_touch_run mtxrun
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
Note: See TracBrowser for help on using the repository browser.