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

Revision 8476, 11.8 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-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: 2014
13Release: 1%{?_dist_release}
14License: LPPL 1.3, BSD, LPPL, Freely redistributable without restriction, Public Domain, GFDL, GPLv2+
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: luaxml.doc.tar.xz
76Source58: luaxml.tar.xz
77Source59: odsfile.doc.tar.xz
78Source60: odsfile.tar.xz
79Source61: placeat.doc.tar.xz
80Source62: placeat.source.tar.xz
81Source63: placeat.tar.xz
82Source64: selnolig.doc.tar.xz
83Source65: selnolig.tar.xz
84Source66: showhyphens.doc.tar.xz
85Source67: showhyphens.tar.xz
86Source68: spelling.doc.tar.xz
87Source69: spelling.tar.xz
88
89Requires: texlive = %{version}
90Requires: texlive-collection-basic = %{version}
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 LuaTeX packages:
113Packages for LuaTeX, a Unicode-aware extension of pdfTeX, using
114Lua as an embedded scripting and extension language.
115http://luatex.org/
116
117This package contains the following CTAN packages:
118checkcites: Check citation commands in a document.
119chickenize: Use lua callbacks for "interesting" textual effects.
120enigma: Encrypt documents with a three rotor Enigma.
121interpreter: Translate input files on the fly.
122lua-check-hyphen: Mark hyphenations in a document, for checking.
123lua-visual-debug: Visual debugging with LuaLaTeX.
124lua2dox: Auto-documentation of lua code.
125luabibentry: Repeat BibTeX entries in a LuaLaTeX document body.
126luabidi: Bidirectional typesetting with LuaLaTeX.
127luacode: Helper for executing lua code from within TeX.
128luaindex: Create index using lualatex.
129luainputenc: Replacing inputenc for use in LuaTeX.
130luaintro: Examples from the book "Einfuhrung in LuaTeX und LuaLaTeX".
131lualatex-doc: A guide to use of LaTeX with LuaTeX.
132lualatex-math: Fixes for mathematics-related LuaLaTeX issues.
133lualibs: Additional Lua functions for LuaTeX macro programmers.
134luamplib: Use LuaTeX's built-in MetaPost interpreter.
135luaotfload: OpenType 'loader' for Plain TeX and LaTeX.
136luasseq: Drawing spectral sequences in LuaLaTeX.
137luatexbase: Basic resource management for LuaTeX code.
138luatexko: Typeset Korean with Lua(La)TeX.
139luatextra: Additional macros for Plain TeX and LaTeX in LuaTeX.
140luaxml: Lua library for reading and serialising XML files.
141odsfile: Read OpenDocument Spreadsheet documents as LaTeX tables.
142placeat:
143selnolig: Selectively disable typographic ligatures.
144showhyphens: Show all possible hyphenations in LuaLaTeX.
145spelling: Support for spell-checking of LuaTeX documents.
146
147%description -l ja
148TeX Live ソフトウェアディストリビューションは、
149さまざまな Unix, Macintosh, Windows、および
150他のプラットホームに対して完全な TeX システムを提供します。
151多くの異なった言語を含む TeX ドキュメントの
152編集、組版、閲覧、印刷するためのプログラム、
153そして、TeX マクロやフォントライブラリの大きなコレクションを
154同梱しています。
155
156このディストリビューションは
157同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
158TeX に関するたくさんの一般的なドキュメントを含んでいます。
159
160このパッケージは以下のようなパッケージ集です。
161LuaTeX packages:
162Packages for LuaTeX, a Unicode-aware extension of pdfTeX, using
163Lua as an embedded scripting and extension language.
164http://luatex.org/
165
166このパッケージは以下の CTAN パッケージを含んでいます:
167checkcites: Check citation commands in a document.
168chickenize: Use lua callbacks for "interesting" textual effects.
169enigma: Encrypt documents with a three rotor Enigma.
170interpreter: Translate input files on the fly.
171lua-check-hyphen: Mark hyphenations in a document, for checking.
172lua-visual-debug: Visual debugging with LuaLaTeX.
173lua2dox: Auto-documentation of lua code.
174luabibentry: Repeat BibTeX entries in a LuaLaTeX document body.
175luabidi: Bidirectional typesetting with LuaLaTeX.
176luacode: Helper for executing lua code from within TeX.
177luaindex: Create index using lualatex.
178luainputenc: Replacing inputenc for use in LuaTeX.
179luaintro: Examples from the book "Einfuhrung in LuaTeX und LuaLaTeX".
180lualatex-doc: A guide to use of LaTeX with LuaTeX.
181lualatex-math: Fixes for mathematics-related LuaLaTeX issues.
182lualibs: Additional Lua functions for LuaTeX macro programmers.
183luamplib: Use LuaTeX's built-in MetaPost interpreter.
184luaotfload: OpenType 'loader' for Plain TeX and LaTeX.
185luasseq: Drawing spectral sequences in LuaLaTeX.
186luatexbase: Basic resource management for LuaTeX code.
187luatexko: Typeset Korean with Lua(La)TeX.
188luatextra: Additional macros for Plain TeX and LaTeX in LuaTeX.
189luaxml: Lua library for reading and serialising XML files.
190odsfile: Read OpenDocument Spreadsheet documents as LaTeX tables.
191placeat:
192selnolig: Selectively disable typographic ligatures.
193showhyphens: Show all possible hyphenations in LuaLaTeX.
194spelling: Support for spell-checking of LuaTeX documents.
195
196%package doc
197Summary: TeX Live: Documentation files of %{name}
198Group: Applications/Publishing
199Requires: %{name} = %{version}-%{release}
200
201%description doc
202This package contains documentation files of %{name}.
203
204%prep
205%setup -c -n %{name}-%{version}
206%__tar -xvf %{SOURCE1}
207%__tar -xvf %{SOURCE2}
208%__tar -xvf %{SOURCE3}
209%__tar -xvf %{SOURCE4}
210%__tar -xvf %{SOURCE5}
211%__tar -xvf %{SOURCE6}
212%__tar -xvf %{SOURCE7}
213%__tar -xvf %{SOURCE8}
214%__tar -xvf %{SOURCE9}
215%__tar -xvf %{SOURCE10}
216%__tar -xvf %{SOURCE11}
217%__tar -xvf %{SOURCE12}
218%__tar -xvf %{SOURCE13}
219%__tar -xvf %{SOURCE14}
220%__tar -xvf %{SOURCE15}
221%__tar -xvf %{SOURCE16}
222%__tar -xvf %{SOURCE17}
223%__tar -xvf %{SOURCE18}
224%__tar -xvf %{SOURCE19}
225%__tar -xvf %{SOURCE20}
226%__tar -xvf %{SOURCE21}
227%__tar -xvf %{SOURCE22}
228%__tar -xvf %{SOURCE23}
229%__tar -xvf %{SOURCE24}
230%__tar -xvf %{SOURCE25}
231%__tar -xvf %{SOURCE26}
232%__tar -xvf %{SOURCE27}
233%__tar -xvf %{SOURCE28}
234%__tar -xvf %{SOURCE29}
235%__tar -xvf %{SOURCE30}
236%__tar -xvf %{SOURCE31}
237%__tar -xvf %{SOURCE32}
238%__tar -xvf %{SOURCE33}
239%__tar -xvf %{SOURCE34}
240%__tar -xvf %{SOURCE35}
241%__tar -xvf %{SOURCE36}
242%__tar -xvf %{SOURCE37}
243%__tar -xvf %{SOURCE38}
244%__tar -xvf %{SOURCE39}
245%__tar -xvf %{SOURCE40}
246%__tar -xvf %{SOURCE41}
247%__tar -xvf %{SOURCE42}
248%__tar -xvf %{SOURCE43}
249%__tar -xvf %{SOURCE44}
250%__tar -xvf %{SOURCE45}
251%__tar -xvf %{SOURCE46}
252%__tar -xvf %{SOURCE47}
253%__tar -xvf %{SOURCE48}
254%__tar -xvf %{SOURCE49}
255%__tar -xvf %{SOURCE50}
256%__tar -xvf %{SOURCE51}
257%__tar -xvf %{SOURCE52}
258%__tar -xvf %{SOURCE53}
259%__tar -xvf %{SOURCE54}
260%__tar -xvf %{SOURCE55}
261%__tar -xvf %{SOURCE56}
262%__tar -xvf %{SOURCE57}
263%__tar -xvf %{SOURCE58}
264%__tar -xvf %{SOURCE59}
265%__tar -xvf %{SOURCE60}
266%__tar -xvf %{SOURCE61}
267%__tar -xvf %{SOURCE62}
268%__tar -xvf %{SOURCE63}
269%__tar -xvf %{SOURCE64}
270%__tar -xvf %{SOURCE65}
271%__tar -xvf %{SOURCE66}
272%__tar -xvf %{SOURCE67}
273%__tar -xvf %{SOURCE68}
274%__tar -xvf %{SOURCE69}
275
276%build
277
278%install
279[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
280
281%__mkdir_p %{buildroot}%{_datadir}
282
283## move texmf-dist to /usr/share/texmf-dist
284[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
285
286## move texmf to /usr/share/texmf
287[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
288
289## move tlpkg to /usr/share/tlpkg
290[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
291
292## move all non-arch binaries to /usr/bin
293[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
294
295## move others into /usr/share/texmf-dist
296%__mkdir_p %{buildroot}%{_tl_texmfdist}
297%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
298%__rm -rf * ||:
299
300
301## remove duplicated files between texlive and texlive-collection-*
302## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
303## remove unpacked files
304x=(
305# scripts/texlive/tlmgr.pl
306# scripts/texlive/updmap.pl
307# scripts/fontools/autoinst
308# scripts/glossaries/makeglossaries
309# scripts/m-tx/m-tx.lua
310# scripts/musixtex/musixtex.lua
311# scripts/pmx/pmx2pdf.lua
312# scripts/latexmk/latexmk.pl
313# scripts/jfontmaps/kanji-config-updmap.pl
314# scripts/jfontmaps/kanji-fontmap-creator.pl
315# scripts/latexpand/latexpand
316# scripts/epstopdf/epstopdf.pl
317# scripts/convbkmk/convbkmk.rb
318# scripts/jfontmaps/kanji-config-updmap-sys.sh
319# scripts/luaotfload/luaotfload-tool.lua
320# texconfig/tcfmgr
321# texconfig/tcfmgr.map
322# web2c/fmtutil.cnf
323# web2c/mktex.opt
324# web2c/mktexdir
325# web2c/mktexdir.opt
326# web2c/mktexnam
327# web2c/mktexnam.opt
328# web2c/mktexupd
329# web2c/texmf.cnf
330# web2c/updmap.cfg
331# web2c/updmap-hdr.cfg
332# doc/chktex/ChkTeX.pdf
333install-tl
334)
335if [ -d %{buildroot}%{_tl_texmfdist} ]; then
336pushd %{buildroot}%{_tl_texmfdist}
337%__rm -f ${x[@]} ||:
338popd
339fi
340
341## Files list
342find %{buildroot} -type f -or -type l | \
343    %__sed -e "s|%{buildroot}||g" > filelist.full
344
345find %{buildroot}%{_tl_texmfdist} -type d | \
346    %__sed -e "s|^%{buildroot}|%dir |" \
347           -e "s|$|/|"             >> filelist.full
348
349## subpackages
350grep "/texmf-dist/doc/" filelist.full > filelist.doc
351cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
352%__mv -f filelist.tmp filelist.full
353
354%clean
355%__rm -rf %{buildroot}
356
357%post
358%_tl_touch_run texhash
359%_tl_touch_run mtxrun
360
361exit 0
362
363
364%postun
365if [ "$1" = 0 ]; then
366    %_tl_touch_run texhash
367
368fi
369
370exit 0
371
372%posttrans
373%{_tl_exec_texhash}
374%{_tl_exec_mtxrun}
375%{_tl_exec_updmap}
376%{_tl_exec_fmtutil}
377exit 0
378
379
380%files -f filelist.full
381%defattr(-,root,root,-)
382
383%files -f filelist.doc doc
384%defattr(-,root,root,-)
385
386%changelog
387* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
388- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.