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

Revision 9576, 10.2 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

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