source: projects/specs/trunk/t/texlive-collection-langarabic/texlive-collection-langarabic-vl.spec @ 11118

Revision 11118, 13.7 KB checked in by munepi, 7 years ago (diff)

TeX Live 2017

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2017-2:
3## tlpdb2rpmspec collection-langarabic
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Arabic
10Summary(ja): TeX Live: Arabic
11Name: texlive-collection-langarabic
12Version: 2017
13Release: 2%{?_dist_release}
14License: OFSFLD, LPPL, Unknown, LPPL 1.3, Public Domain, GPLv2+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: alkalami.doc.tar.xz
19Source1: alkalami.tar.xz
20Source2: amiri.doc.tar.xz
21Source3: amiri.tar.xz
22Source4: arabi.doc.tar.xz
23Source5: arabi.tar.xz
24Source6: arabi-add.doc.tar.xz
25Source7: arabi-add.tar.xz
26Source8: arabluatex.doc.tar.xz
27Source9: arabluatex.source.tar.xz
28Source10: arabluatex.tar.xz
29Source11: arabtex.doc.tar.xz
30Source12: arabtex.tar.xz
31Source13: bidi.doc.tar.xz
32Source14: bidi.source.tar.xz
33Source15: bidi.tar.xz
34Source16: bidihl.doc.tar.xz
35Source17: bidihl.tar.xz
36Source18: dad.doc.tar.xz
37Source19: dad.tar.xz
38Source20: ghab.doc.tar.xz
39Source21: ghab.tar.xz
40Source22: hyphen-arabic.tar.xz
41Source23: hyphen-farsi.tar.xz
42Source24: imsproc.doc.tar.xz
43Source25: imsproc.tar.xz
44Source26: lshort-persian.doc.tar.xz
45Source27: lshort-persian.tar.xz
46Source28: persian-bib.doc.tar.xz
47Source29: persian-bib.tar.xz
48Source30: simurgh.doc.tar.xz
49Source31: simurgh.tar.xz
50Source32: tram.doc.tar.xz
51Source33: tram.tar.xz
52Source34: xepersian.doc.tar.xz
53Source35: xepersian.source.tar.xz
54Source36: xepersian.tar.xz
55
56Requires: texlive = %{version}
57Requires: texlive-collection-basic = %{version}
58
59Requires(post):         texlive = %{version}
60Requires(postun):       texlive = %{version}
61
62BuildArch:      noarch
63Buildroot:      %{_tmppath}/%{name}-%{version}-root
64
65Vendor:         Project Vine
66Distribution:   Vine Linux
67Packager:       munepi
68
69%description
70The TeX Live software distribution offers a complete TeX system for a
71variety of Unix, Macintosh, Windows and other platforms. It
72encompasses programs for editing, typesetting, previewing and printing
73of TeX documents in many different languages, and a large collection
74of TeX macros and font libraries.
75
76The distribution includes extensive general documentation about TeX,
77as well as the documentation for the included software packages.
78
79This package is a collection of Arabic:
80Support for Arabic and Persian.
81
82This package contains the following CTAN packages:
83alkalami: A font for Arabic-based writing systems in Nigeria and Niger
84amiri: A classical Arabic typeface, Naskh style
85arabi: (La)TeX support for Arabic and Farsi, compliant with Babel
86arabi-add: Using hyperref and bookmark packages with arabic and farsi languages
87arabluatex: An ArabTeX-like interface for LuaLaTeX
88arabtex: Macros and fonts for typesetting Arabic
89bidi: Bidirectional typesetting in plain TeX and LaTeX, using XeTeX
90bidihl: Experimental bidi-aware text highlighting
91dad: Simple typesetting system for mixed Arabic/Latin documents
92ghab: Typeset ghab boxes in LaTeX
93hyphen-arabic: (No) Arabic hyphenation patterns.
94hyphen-farsi: (No) Persian hyphenation patterns.
95imsproc: Typeset IMS conference proceedings
96lshort-persian: Persian (Farsi) introduction to LaTeX
97persian-bib: Persian translations of classic BibTeX styles
98simurgh: Typeset Parsi in LuaLaTeX
99tram: Typeset tram boxes in LaTeX
100xepersian: Persian for LaTeX, using XeTeX
101
102%description -l ja
103TeX Live ソフトウェアディストリビューションは、
104さまざまな Unix, Macintosh, Windows、および
105他のプラットホームに対して完全な TeX システムを提供します。
106多くの異なった言語を含む TeX ドキュメントの
107編集、組版、閲覧、印刷するためのプログラム、
108そして、TeX マクロやフォントライブラリの大きなコレクションを
109同梱しています。
110
111このディストリビューションは
112同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
113TeX に関するたくさんの一般的なドキュメントを含んでいます。
114
115このパッケージは以下のようなパッケージ集です。
116Arabic:
117Support for Arabic and Persian.
118
119このパッケージは以下の CTAN パッケージを含んでいます:
120alkalami: A font for Arabic-based writing systems in Nigeria and Niger
121amiri: A classical Arabic typeface, Naskh style
122arabi: (La)TeX support for Arabic and Farsi, compliant with Babel
123arabi-add: Using hyperref and bookmark packages with arabic and farsi languages
124arabluatex: An ArabTeX-like interface for LuaLaTeX
125arabtex: Macros and fonts for typesetting Arabic
126bidi: Bidirectional typesetting in plain TeX and LaTeX, using XeTeX
127bidihl: Experimental bidi-aware text highlighting
128dad: Simple typesetting system for mixed Arabic/Latin documents
129ghab: Typeset ghab boxes in LaTeX
130hyphen-arabic: (No) Arabic hyphenation patterns.
131hyphen-farsi: (No) Persian hyphenation patterns.
132imsproc: Typeset IMS conference proceedings
133lshort-persian: Persian (Farsi) introduction to LaTeX
134persian-bib: Persian translations of classic BibTeX styles
135simurgh: Typeset Parsi in LuaLaTeX
136tram: Typeset tram boxes in LaTeX
137xepersian: Persian for LaTeX, using XeTeX
138
139%package doc
140Summary: TeX Live: Documentation files of %{name}
141Group: Applications/Publishing
142Requires: %{name} = %{version}-%{release}
143
144%description doc
145This package contains documentation files of %{name}.
146
147%prep
148%setup -c -n %{name}-%{version}
149%__tar -xvf %{SOURCE1}
150%__tar -xvf %{SOURCE2}
151%__tar -xvf %{SOURCE3}
152%__tar -xvf %{SOURCE4}
153%__tar -xvf %{SOURCE5}
154%__tar -xvf %{SOURCE6}
155%__tar -xvf %{SOURCE7}
156%__tar -xvf %{SOURCE8}
157%__tar -xvf %{SOURCE9}
158%__tar -xvf %{SOURCE10}
159%__tar -xvf %{SOURCE11}
160%__tar -xvf %{SOURCE12}
161%__tar -xvf %{SOURCE13}
162%__tar -xvf %{SOURCE14}
163%__tar -xvf %{SOURCE15}
164%__tar -xvf %{SOURCE16}
165%__tar -xvf %{SOURCE17}
166%__tar -xvf %{SOURCE18}
167%__tar -xvf %{SOURCE19}
168%__tar -xvf %{SOURCE20}
169%__tar -xvf %{SOURCE21}
170%__tar -xvf %{SOURCE22}
171%__tar -xvf %{SOURCE23}
172%__tar -xvf %{SOURCE24}
173%__tar -xvf %{SOURCE25}
174%__tar -xvf %{SOURCE26}
175%__tar -xvf %{SOURCE27}
176%__tar -xvf %{SOURCE28}
177%__tar -xvf %{SOURCE29}
178%__tar -xvf %{SOURCE30}
179%__tar -xvf %{SOURCE31}
180%__tar -xvf %{SOURCE32}
181%__tar -xvf %{SOURCE33}
182%__tar -xvf %{SOURCE34}
183%__tar -xvf %{SOURCE35}
184%__tar -xvf %{SOURCE36}
185
186%build
187
188%install
189[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
190
191%__mkdir_p %{buildroot}%{_datadir}
192
193## move texmf-dist to /usr/share/texmf-dist
194[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
195
196## move texmf to /usr/share/texmf
197[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
198
199## move tlpkg to /usr/share/tlpkg
200[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
201
202## move all non-arch binaries to /usr/bin
203[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
204
205## move others into /usr/share/texmf-dist
206%__mkdir_p %{buildroot}%{_tl_texmfdist}
207%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
208%__rm -rf * ||:
209
210
211## remove duplicated files between texlive and texlive-collection-*
212## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
213## remove unpacked files
214x=(
215dvipdfmx/dvipdfmx.cfg
216scripts/context/stubs/unix/mtxrun
217scripts/latexmk/latexmk.pl
218scripts/ptex2pdf/ptex2pdf.lua
219scripts/texlive/fmtutil.pl
220scripts/texlive/texconfig-dialog.sh
221scripts/texlive/texconfig-sys.sh
222scripts/texlive/texconfig.sh
223scripts/texlive/texlinks.sh
224scripts/texlive/tlmgr.pl
225scripts/texlive/updmap.pl
226texconfig/tcfmgr
227web2c/fmtutil.cnf
228web2c/mktex.opt
229web2c/mktexdir
230web2c/mktexdir.opt
231web2c/mktexnam
232web2c/mktexnam.opt
233web2c/mktexupd
234web2c/texmf.cnf
235web2c/updmap-hdr.cfg
236web2c/updmap.cfg
237install-tl
238#
239scripts/cjk-gs-integrate/cjk-gs-integrate.pl
240scripts/epspdf/epspdf.tlu
241scripts/epspdf/epspdftk.tcl
242scripts/glossaries/makeglossaries
243scripts/jfontmaps/kanji-config-updmap.pl
244scripts/jfontmaps/kanji-fontmap-creator.pl
245scripts/kotex-utils/jamo-normalize.pl
246scripts/kotex-utils/komkindex.pl
247scripts/crossrefware/ltx2crossrefxml.pl
248scripts/rubik/rubikrotation.pl
249scripts/musixtex/musixtex.lua
250scripts/pmxchords/pmxchords.lua
251scripts/ctanify/ctanify
252scripts/dtxgen/dtxgen
253scripts/findhyph/findhyph
254scripts/latexpand/latexpand
255scripts/ltxfileinfo/ltxfileinfo
256scripts/latexdiff/latexdiff-vc.pl
257scripts/latexdiff/latexdiff.pl
258scripts/texfot/texfot.pl
259scripts/fontools/autoinst
260scripts/luaotfload/luaotfload-tool.lua
261scripts/oberdiek/pdfatfi.pl
262fonts/map/glyphlist/glyphlist.txt ## texlive-collection-basic-2017-1vl7.noarch
263scripts/tex4ht/xhlatex.sh ## texlive-collection-plaingeneric-2017-1vl7.noarch
264scripts/latexindent/latexindent.pl ## texlive-collection-binextra-2017-1vl7.noarch
265scripts/texosquery/texosquery-jre5.sh ## texlive-collection-binextra-2017-1vl7.noarch
266scripts/texosquery/texosquery-jre8.sh ## texlive-collection-binextra-2017-1vl7.noarch
267scripts/texosquery/texosquery.sh ## texlive-collection-binextra-2017-1vl7.noarch
268)
269if [ -d %{buildroot}%{_tl_texmfdist} ]; then
270pushd %{buildroot}%{_tl_texmfdist}
271%__rm -f ${x[@]} ||:
272popd
273fi
274
275## Files list
276find %{buildroot} -type f -or -type l | \
277    %__sed -e "s|%{buildroot}||g" > filelist.full
278
279find %{buildroot}%{_tl_texmfdist} -type d | \
280    %__sed -e "s|^%{buildroot}|%dir |" \
281           -e "s|$|/|"             >> filelist.full
282
283## subpackages
284grep "/texmf-dist/doc/" filelist.full > filelist.doc
285cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
286%__mv -f filelist.tmp filelist.full
287
288%clean
289%__rm -rf %{buildroot}
290
291%post
292%_tl_touch_run texhash
293%_tl_touch_run mtxrun
294
295[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
296
297    %_tl_enable_map Map arabi.map
298    %_tl_enable_map MixedMap arabtex.map
299    %_tl_enable_map Map dad.map
300
301%_tl_touch_run fmtutil
302
303exit 0
304
305
306%postun
307if [ "$1" = 0 ]; then
308    %_tl_touch_run texhash
309
310    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
311
312    %_tl_disable_map arabi.map
313    %_tl_disable_map arabtex.map
314    %_tl_disable_map dad.map
315
316fi
317
318exit 0
319
320%posttrans
321%{_tl_exec_texhash}
322%{_tl_exec_mtxrun}
323%{_tl_exec_updmap}
324%{_tl_exec_fmtutil}
325exit 0
326
327
328%files -f filelist.full
329%defattr(-,root,root,-)
330
331%files -f filelist.doc doc
332%defattr(-,root,root,-)
333
334%changelog
335* Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-2
336- synced tlnet to 20170616 (TeX Live 2017)
337
338* Thu Jun 08 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-1
339- synced tlnet to 20170607 (TeX Live 2017)
340
341* Tue Aug 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-5
342- synced tlnet to 20160823 (TeX Live 2016)
343
344* Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
345- synced tlnet to 20160607 (TeX Live 2016)
346
347* Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
348- synced tlnet to 20160514 (TeX Live 2016/pretest)
349
350* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
351- synced tlnet to 20160510 (TeX Live 2016/pretest)
352
353* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
354- TeX Live 2016/pretest
355- synced tlnet to 20160428 (TeX Live 2016/pretest)
356
357* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
358- remove duplicated files from texlive-collection-*
359- synced tlnet to 20160113 (TeX Live 2015)
360
361* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
362- TeX Live 2016/dev
363- synced tlnet to 20160110 (TeX Live 2016/dev)
364
365* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
366- TeX Live 2015/pretest
367- synced tlnet to 20150522 (TeX Live 2015/pretest)
368
369* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
370- TeX Live 2015/pretest
371- synced tlnet to 20150426 (TeX Live 2015/pretest)
372
373* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
374- synced tlnet to 20150401
375
376* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
377- synced tlnet to 20141028
378
379* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
380- synced tlnet to 20140706
381
382* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
383- upgraded to TeX Live 2014
384
385* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
386- synced tlnet to 20140406
387
388* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
389- synced tlnet to 20131218
390
391* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
392- synced tlnet to 20131101
393
394* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
395- synced tlnet to 20131002
396
397* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
398- synced tlnet to 20130919
399
400* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
401- upgraded to TeX Live 2013
402  - used tlnet archives
403  - synced tlnet to 20130823
404- added macros.texlive
405
406* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
407- updated to TeX Live 2012
408
409* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
410- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
411  - set external dependencies (texlive-collection-binextra,
412    texlive-collection-fontutils)
413
414* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
415- updated to TeX Live 2011
416- merged texlive-vtlpkg-2009-osx.patch from OSXWS
417- added %doc README (%files)
418
419* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
420- applied texlive-vtlpkg-2009-vine.patch
421  - remove arch dependent binaries
422- updated tlpdb2rpmspec.sh.in:
423  - improved tlpdb4a()
424  - make symlinks of core script utils (texlive-collection-binextra,
425    texlive-collection-context, texlive-collection-fontutils,
426    texlive-collection-langgreek, texlive-collection-langindic,
427    texlive-collection-latex, texlive-collection-latexextra,
428    texlive-collection-latexrecommended, texlive-collection-pictures,
429    texlive-collection-pstricks, texlive-collection-science)
430
431* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
432- updated tlpdb2rpmspec.sh.in:
433  - improved %post
434
435* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
436- updated tlpdb2rpmspec.sh.in:
437  - removed arch dependent binaries (texlive-collection-latexextra)
438  - improved updmap process in %post and %postun
439  - fixed perl path
440
441* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
442- initial build
Note: See TracBrowser for help on using the repository browser.