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

Revision 9950, 10.8 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20160110 (TeX Live 2016/dev)

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