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

Revision 10360, 13.4 KB checked in by munepi, 8 years ago (diff)

updated to TeX Live 2016

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