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

Revision 8476, 7.7 KB checked in by munepi, 10 years ago (diff)

TeX Live 2014

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[8476]2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
[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
[8476]12Version: 2014
13Release: 1%{?_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
27Source9: ghab.doc.tar.xz
28Source10: ghab.tar.xz
29Source11: hyphen-arabic.tar.xz
30Source12: hyphen-farsi.tar.xz
31Source13: imsproc.doc.tar.xz
32Source14: imsproc.tar.xz
33Source15: lshort-persian.doc.tar.xz
34Source16: lshort-persian.tar.xz
35Source17: persian-bib.doc.tar.xz
36Source18: persian-bib.tar.xz
37Source19: persian-modern.doc.tar.xz
[8476]38Source20: persian-modern.tar.xz
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.
[7770]75ghab: Typeset ghab boxes in LaTeX.
[5207]76hyphen-arabic: (No) Arabic hyphenation patterns.
77hyphen-farsi: (No) Persian hyphenation patterns.
[7770]78imsproc: Typeset IMS conference proceedings.
79lshort-persian: Persian (Farsi) introduction to LaTeX.
[5207]80persian-bib: Persian translations of classic BibTeX styles.
[7148]81persian-modern: The "Persian Modern" family of fonts.
[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.
[7770]107ghab: Typeset ghab boxes in LaTeX.
[5207]108hyphen-arabic: (No) Arabic hyphenation patterns.
109hyphen-farsi: (No) Persian hyphenation patterns.
[7770]110imsproc: Typeset IMS conference proceedings.
111lshort-persian: Persian (Farsi) introduction to LaTeX.
[5207]112persian-bib: Persian translations of classic BibTeX styles.
[7148]113persian-modern: The "Persian Modern" family of fonts.
[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=(
[8476]181# scripts/texlive/tlmgr.pl
182# scripts/texlive/updmap.pl
183# scripts/fontools/autoinst
184# scripts/glossaries/makeglossaries
185# scripts/m-tx/m-tx.lua
186# scripts/musixtex/musixtex.lua
187# scripts/pmx/pmx2pdf.lua
188# scripts/latexmk/latexmk.pl
189# scripts/jfontmaps/kanji-config-updmap.pl
190# scripts/jfontmaps/kanji-fontmap-creator.pl
191# scripts/latexpand/latexpand
192# scripts/epstopdf/epstopdf.pl
193# scripts/convbkmk/convbkmk.rb
194# scripts/jfontmaps/kanji-config-updmap-sys.sh
195# scripts/luaotfload/luaotfload-tool.lua
196# texconfig/tcfmgr
197# texconfig/tcfmgr.map
198# web2c/fmtutil.cnf
199# web2c/mktex.opt
200# web2c/mktexdir
201# web2c/mktexdir.opt
202# web2c/mktexnam
203# web2c/mktexnam.opt
204# web2c/mktexupd
205# web2c/texmf.cnf
206# web2c/updmap.cfg
207# web2c/updmap-hdr.cfg
208# doc/chktex/ChkTeX.pdf
[7770]209install-tl
210)
211if [ -d %{buildroot}%{_tl_texmfdist} ]; then
212pushd %{buildroot}%{_tl_texmfdist}
213%__rm -f ${x[@]} ||:
[5207]214popd
[7770]215fi
216
[1533]217## Files list
218find %{buildroot} -type f -or -type l | \
219    %__sed -e "s|%{buildroot}||g" > filelist.full
220
[7770]221find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]222    %__sed -e "s|^%{buildroot}|%dir |" \
223           -e "s|$|/|"             >> filelist.full
224
225## subpackages
226grep "/texmf-dist/doc/" filelist.full > filelist.doc
227cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
228%__mv -f filelist.tmp filelist.full
229
230%clean
231%__rm -rf %{buildroot}
232
233%post
[7770]234%_tl_touch_run texhash
235%_tl_touch_run mtxrun
[1533]236
[7770]237[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]238
[7770]239    %_tl_enable_map Map arabi.map
240    %_tl_enable_map MixedMap arabtex.map
[2505]241
[7770]242%_tl_touch_run fmtutil
[2505]243
[1533]244exit 0
245
246
247%postun
248if [ "$1" = 0 ]; then
[7770]249    %_tl_touch_run texhash
[1533]250
[7770]251    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]252
[7770]253    %_tl_disable_map arabi.map
254    %_tl_disable_map arabtex.map
[1533]255
256fi
257
258exit 0
259
[7148]260%posttrans
[7770]261%{_tl_exec_texhash}
262%{_tl_exec_mtxrun}
263%{_tl_exec_updmap}
264%{_tl_exec_fmtutil}
[7148]265exit 0
266
267
[1533]268%files -f filelist.full
[5207]269%defattr(-,root,root,-)
[1533]270
271%files -f filelist.doc doc
[5207]272%defattr(-,root,root,-)
[1533]273
274%changelog
[8476]275* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
276- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.