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

Revision 8049, 11.5 KB checked in by munepi, 10 years ago (diff)

TLNET 20131218

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5:
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: 2013
13Release: 5%{?_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: selnolig.doc.tar.xz
80Source62: selnolig.tar.xz
81Source63: showhyphens.doc.tar.xz
82Source64: showhyphens.tar.xz
83Source65: spelling.doc.tar.xz
84Source66: spelling.tar.xz
85
86Requires: texlive = %{version}
87Requires: texlive-collection-basic = %{version}
88
89Requires(post):         texlive = %{version}
90Requires(postun):       texlive = %{version}
91
92BuildArch:      noarch
93Buildroot:      %{_tmppath}/%{name}-%{version}-root
94
95Vendor:         Project Vine
96Distribution:   Vine Linux
97Packager:       munepi
98
99%description
100The TeX Live software distribution offers a complete TeX system for a
101variety of Unix, Macintosh, Windows and other platforms. It
102encompasses programs for editing, typesetting, previewing and printing
103of TeX documents in many different languages, and a large collection
104of TeX macros and font libraries.
105
106The distribution includes extensive general documentation about TeX,
107as well as the documentation for the included software packages.
108
109This package is a collection of LuaTeX packages:
110Packages for LuaTeX, a Unicode-aware extension of pdfTeX, using
111Lua as an embedded scripting and extension language.
112http://luatex.org/
113
114This package contains the following CTAN packages:
115checkcites: Check citation commands in a document.
116chickenize: Use lua callbacks for "interesting" textual effects.
117enigma: Encrypt documents with a three rotor Enigma.
118interpreter: Translate input files on the fly.
119lua-check-hyphen: Mark hyphenations in a document, for checking.
120lua-visual-debug: Visual debugging with LuaLaTeX.
121lua2dox: Auto-documentation of lua code.
122luabibentry: Repeat BibTeX entries in a LuaLaTeX document body.
123luabidi:
124luacode: Helper for executing lua code from within TeX.
125luaindex: Create index using lualatex.
126luainputenc: Replacing inputenc for use in LuaTeX.
127luaintro: Examples from the book "Einfuhrung in LuaTeX und LuaLaTeX".
128lualatex-doc: A guide to use of LaTeX with LuaTeX.
129lualatex-math: Fixes for mathematics-related LuaLaTeX issues.
130lualibs: Additional Lua functions for LuaTeX macro programmers.
131luamplib: Use LuaTeX's built-in MetaPost interpreter.
132luaotfload: OpenType 'loader' for Plain TeX and LaTeX.
133luasseq: Drawing spectral sequences in LuaLaTeX.
134luatexbase: Basic resource management for LuaTeX code.
135luatexko: Typeset Korean with Lua(La)TeX.
136luatextra: Additional macros for Plain TeX and LaTeX in LuaTeX.
137luaxml: Lua library for reading and serialising XML files.
138odsfile: Read OpenDocument Spreadsheet documents as LaTeX tables.
139selnolig: Selectively disable typographic ligatures.
140showhyphens: Show all possible hyphenations in LuaLaTeX.
141spelling: Support for spell-checking of LuaTeX documents.
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このパッケージは以下のようなパッケージ集です。
157LuaTeX packages:
158Packages for LuaTeX, a Unicode-aware extension of pdfTeX, using
159Lua as an embedded scripting and extension language.
160http://luatex.org/
161
162このパッケージは以下の CTAN パッケージを含んでいます:
163checkcites: Check citation commands in a document.
164chickenize: Use lua callbacks for "interesting" textual effects.
165enigma: Encrypt documents with a three rotor Enigma.
166interpreter: Translate input files on the fly.
167lua-check-hyphen: Mark hyphenations in a document, for checking.
168lua-visual-debug: Visual debugging with LuaLaTeX.
169lua2dox: Auto-documentation of lua code.
170luabibentry: Repeat BibTeX entries in a LuaLaTeX document body.
171luabidi:
172luacode: Helper for executing lua code from within TeX.
173luaindex: Create index using lualatex.
174luainputenc: Replacing inputenc for use in LuaTeX.
175luaintro: Examples from the book "Einfuhrung in LuaTeX und LuaLaTeX".
176lualatex-doc: A guide to use of LaTeX with LuaTeX.
177lualatex-math: Fixes for mathematics-related LuaLaTeX issues.
178lualibs: Additional Lua functions for LuaTeX macro programmers.
179luamplib: Use LuaTeX's built-in MetaPost interpreter.
180luaotfload: OpenType 'loader' for Plain TeX and LaTeX.
181luasseq: Drawing spectral sequences in LuaLaTeX.
182luatexbase: Basic resource management for LuaTeX code.
183luatexko: Typeset Korean with Lua(La)TeX.
184luatextra: Additional macros for Plain TeX and LaTeX in LuaTeX.
185luaxml: Lua library for reading and serialising XML files.
186odsfile: Read OpenDocument Spreadsheet documents as LaTeX tables.
187selnolig: Selectively disable typographic ligatures.
188showhyphens: Show all possible hyphenations in LuaLaTeX.
189spelling: Support for spell-checking of LuaTeX documents.
190
191%package doc
192Summary: TeX Live: Documentation files of %{name}
193Group: Applications/Publishing
194Requires: %{name} = %{version}-%{release}
195
196%description doc
197This package contains documentation files of %{name}.
198
199%prep
200%setup -c -n %{name}-%{version}
201%__tar -xvf %{SOURCE1}
202%__tar -xvf %{SOURCE2}
203%__tar -xvf %{SOURCE3}
204%__tar -xvf %{SOURCE4}
205%__tar -xvf %{SOURCE5}
206%__tar -xvf %{SOURCE6}
207%__tar -xvf %{SOURCE7}
208%__tar -xvf %{SOURCE8}
209%__tar -xvf %{SOURCE9}
210%__tar -xvf %{SOURCE10}
211%__tar -xvf %{SOURCE11}
212%__tar -xvf %{SOURCE12}
213%__tar -xvf %{SOURCE13}
214%__tar -xvf %{SOURCE14}
215%__tar -xvf %{SOURCE15}
216%__tar -xvf %{SOURCE16}
217%__tar -xvf %{SOURCE17}
218%__tar -xvf %{SOURCE18}
219%__tar -xvf %{SOURCE19}
220%__tar -xvf %{SOURCE20}
221%__tar -xvf %{SOURCE21}
222%__tar -xvf %{SOURCE22}
223%__tar -xvf %{SOURCE23}
224%__tar -xvf %{SOURCE24}
225%__tar -xvf %{SOURCE25}
226%__tar -xvf %{SOURCE26}
227%__tar -xvf %{SOURCE27}
228%__tar -xvf %{SOURCE28}
229%__tar -xvf %{SOURCE29}
230%__tar -xvf %{SOURCE30}
231%__tar -xvf %{SOURCE31}
232%__tar -xvf %{SOURCE32}
233%__tar -xvf %{SOURCE33}
234%__tar -xvf %{SOURCE34}
235%__tar -xvf %{SOURCE35}
236%__tar -xvf %{SOURCE36}
237%__tar -xvf %{SOURCE37}
238%__tar -xvf %{SOURCE38}
239%__tar -xvf %{SOURCE39}
240%__tar -xvf %{SOURCE40}
241%__tar -xvf %{SOURCE41}
242%__tar -xvf %{SOURCE42}
243%__tar -xvf %{SOURCE43}
244%__tar -xvf %{SOURCE44}
245%__tar -xvf %{SOURCE45}
246%__tar -xvf %{SOURCE46}
247%__tar -xvf %{SOURCE47}
248%__tar -xvf %{SOURCE48}
249%__tar -xvf %{SOURCE49}
250%__tar -xvf %{SOURCE50}
251%__tar -xvf %{SOURCE51}
252%__tar -xvf %{SOURCE52}
253%__tar -xvf %{SOURCE53}
254%__tar -xvf %{SOURCE54}
255%__tar -xvf %{SOURCE55}
256%__tar -xvf %{SOURCE56}
257%__tar -xvf %{SOURCE57}
258%__tar -xvf %{SOURCE58}
259%__tar -xvf %{SOURCE59}
260%__tar -xvf %{SOURCE60}
261%__tar -xvf %{SOURCE61}
262%__tar -xvf %{SOURCE62}
263%__tar -xvf %{SOURCE63}
264%__tar -xvf %{SOURCE64}
265%__tar -xvf %{SOURCE65}
266%__tar -xvf %{SOURCE66}
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=(
297scripts/fontools/autoinst
298scripts/texlive/tlmgr.pl
299scripts/texlive/updmap.pl
300texconfig/tcfmgr
301texconfig/tcfmgr.map
302web2c/fmtutil.cnf
303web2c/mktex.opt
304web2c/mktexdir
305web2c/mktexdir.opt
306web2c/mktexnam
307web2c/mktexnam.opt
308web2c/mktexupd
309web2c/texmf.cnf
310web2c/updmap.cfg
311web2c/updmap-hdr.cfg
312doc/chktex/ChkTeX.pdf
313install-tl
314)
315if [ -d %{buildroot}%{_tl_texmfdist} ]; then
316pushd %{buildroot}%{_tl_texmfdist}
317%__rm -f ${x[@]} ||:
318popd
319fi
320
321## Files list
322find %{buildroot} -type f -or -type l | \
323    %__sed -e "s|%{buildroot}||g" > filelist.full
324
325find %{buildroot}%{_tl_texmfdist} -type d | \
326    %__sed -e "s|^%{buildroot}|%dir |" \
327           -e "s|$|/|"             >> filelist.full
328
329## subpackages
330grep "/texmf-dist/doc/" filelist.full > filelist.doc
331cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
332%__mv -f filelist.tmp filelist.full
333
334%clean
335%__rm -rf %{buildroot}
336
337%post
338%_tl_touch_run texhash
339%_tl_touch_run mtxrun
340
341exit 0
342
343
344%postun
345if [ "$1" = 0 ]; then
346    %_tl_touch_run texhash
347
348fi
349
350exit 0
351
352%posttrans
353%{_tl_exec_texhash}
354%{_tl_exec_mtxrun}
355%{_tl_exec_updmap}
356%{_tl_exec_fmtutil}
357exit 0
358
359
360%files -f filelist.full
361%defattr(-,root,root,-)
362
363%files -f filelist.doc doc
364%defattr(-,root,root,-)
365
366%changelog
367* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
368- TLNET 20131218
369
370* Fri Nov  1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
371- TLNET 20131101
372
373* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
374- TLNET 20131002
375
376* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
377- TLNET 20130919
378
379* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
380- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.