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

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

TLNET 20131218

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5:
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: 2013
13Release: 5%{?_dist_release}
14License: OFSFLD, LPPL, 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: arabtex.doc.tar.xz
23Source5: arabtex.tar.xz
24Source6: bidi.doc.tar.xz
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
38Source20: persian-modern.source.tar.xz
39Source21: persian-modern.tar.xz
40Source22: simurgh.doc.tar.xz
41Source23: simurgh.tar.xz
42Source24: tram.doc.tar.xz
43Source25: tram.tar.xz
44
45Requires: texlive = %{version}
46Requires: texlive-collection-basic = %{version}
47
48Requires(post):         texlive = %{version}
49Requires(postun):       texlive = %{version}
50
51BuildArch:      noarch
52Buildroot:      %{_tmppath}/%{name}-%{version}-root
53
54Vendor:         Project Vine
55Distribution:   Vine Linux
56Packager:       munepi
57
58%description
59The TeX Live software distribution offers a complete TeX system for a
60variety of Unix, Macintosh, Windows and other platforms. It
61encompasses programs for editing, typesetting, previewing and printing
62of TeX documents in many different languages, and a large collection
63of TeX macros and font libraries.
64
65The distribution includes extensive general documentation about TeX,
66as well as the documentation for the included software packages.
67
68This package is a collection of Arabic:
69Support for Arabic and Persian.
70
71This package contains the following CTAN packages:
72amiri: A classical Arabic typeface, Naskh style.
73arabi: (La)TeX support for Arabic and Farsi, compliant with Babel.
74arabtex: Macros and fonts for typesetting Arabic.
75bidi: Bidirectional typesetting in plain TeX and LaTeX, using XeTeX engine.
76ghab: Typeset ghab boxes in LaTeX.
77hyphen-arabic: (No) Arabic hyphenation patterns.
78hyphen-farsi: (No) Persian hyphenation patterns.
79imsproc: Typeset IMS conference proceedings.
80lshort-persian: Persian (Farsi) introduction to LaTeX.
81persian-bib: Persian translations of classic BibTeX styles.
82persian-modern: The "Persian Modern" family of fonts.
83simurgh: Typeset Parsi in LuaLaTeX.
84tram: Typeset tram boxes in LaTeX.
85
86%description -l ja
87TeX Live ソフトウェアディストリビューションは、
88さまざまな Unix, Macintosh, Windows、および
89他のプラットホームに対して完全な TeX システムを提供します。
90多くの異なった言語を含む TeX ドキュメントの
91編集、組版、閲覧、印刷するためのプログラム、
92そして、TeX マクロやフォントライブラリの大きなコレクションを
93同梱しています。
94
95このディストリビューションは
96同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
97TeX に関するたくさんの一般的なドキュメントを含んでいます。
98
99このパッケージは以下のようなパッケージ集です。
100Arabic:
101Support for Arabic and Persian.
102
103このパッケージは以下の CTAN パッケージを含んでいます:
104amiri: A classical Arabic typeface, Naskh style.
105arabi: (La)TeX support for Arabic and Farsi, compliant with Babel.
106arabtex: Macros and fonts for typesetting Arabic.
107bidi: Bidirectional typesetting in plain TeX and LaTeX, using XeTeX engine.
108ghab: Typeset ghab boxes in LaTeX.
109hyphen-arabic: (No) Arabic hyphenation patterns.
110hyphen-farsi: (No) Persian hyphenation patterns.
111imsproc: Typeset IMS conference proceedings.
112lshort-persian: Persian (Farsi) introduction to LaTeX.
113persian-bib: Persian translations of classic BibTeX styles.
114persian-modern: The "Persian Modern" family of fonts.
115simurgh: Typeset Parsi in LuaLaTeX.
116tram: Typeset tram boxes in LaTeX.
117
118%package doc
119Summary: TeX Live: Documentation files of %{name}
120Group: Applications/Publishing
121Requires: %{name} = %{version}-%{release}
122
123%description doc
124This package contains documentation files of %{name}.
125
126%prep
127%setup -c -n %{name}-%{version}
128%__tar -xvf %{SOURCE1}
129%__tar -xvf %{SOURCE2}
130%__tar -xvf %{SOURCE3}
131%__tar -xvf %{SOURCE4}
132%__tar -xvf %{SOURCE5}
133%__tar -xvf %{SOURCE6}
134%__tar -xvf %{SOURCE7}
135%__tar -xvf %{SOURCE8}
136%__tar -xvf %{SOURCE9}
137%__tar -xvf %{SOURCE10}
138%__tar -xvf %{SOURCE11}
139%__tar -xvf %{SOURCE12}
140%__tar -xvf %{SOURCE13}
141%__tar -xvf %{SOURCE14}
142%__tar -xvf %{SOURCE15}
143%__tar -xvf %{SOURCE16}
144%__tar -xvf %{SOURCE17}
145%__tar -xvf %{SOURCE18}
146%__tar -xvf %{SOURCE19}
147%__tar -xvf %{SOURCE20}
148%__tar -xvf %{SOURCE21}
149%__tar -xvf %{SOURCE22}
150%__tar -xvf %{SOURCE23}
151%__tar -xvf %{SOURCE24}
152%__tar -xvf %{SOURCE25}
153
154%build
155
156%install
157[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
158
159%__mkdir_p %{buildroot}%{_datadir}
160
161## move texmf-dist to /usr/share/texmf-dist
162[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
163
164## move texmf to /usr/share/texmf
165[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
166
167## move tlpkg to /usr/share/tlpkg
168[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
169
170## move all non-arch binaries to /usr/bin
171[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
172
173## move others into /usr/share/texmf-dist
174%__mkdir_p %{buildroot}%{_tl_texmfdist}
175%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
176%__rm -rf * ||:
177
178
179## remove duplicated files between texlive and texlive-collection-*
180## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
181## remove unpacked files
182x=(
183scripts/fontools/autoinst
184scripts/texlive/tlmgr.pl
185scripts/texlive/updmap.pl
186texconfig/tcfmgr
187texconfig/tcfmgr.map
188web2c/fmtutil.cnf
189web2c/mktex.opt
190web2c/mktexdir
191web2c/mktexdir.opt
192web2c/mktexnam
193web2c/mktexnam.opt
194web2c/mktexupd
195web2c/texmf.cnf
196web2c/updmap.cfg
197web2c/updmap-hdr.cfg
198doc/chktex/ChkTeX.pdf
199install-tl
200)
201if [ -d %{buildroot}%{_tl_texmfdist} ]; then
202pushd %{buildroot}%{_tl_texmfdist}
203%__rm -f ${x[@]} ||:
204popd
205fi
206
207## Files list
208find %{buildroot} -type f -or -type l | \
209    %__sed -e "s|%{buildroot}||g" > filelist.full
210
211find %{buildroot}%{_tl_texmfdist} -type d | \
212    %__sed -e "s|^%{buildroot}|%dir |" \
213           -e "s|$|/|"             >> filelist.full
214
215## subpackages
216grep "/texmf-dist/doc/" filelist.full > filelist.doc
217cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
218%__mv -f filelist.tmp filelist.full
219
220%clean
221%__rm -rf %{buildroot}
222
223%post
224%_tl_touch_run texhash
225%_tl_touch_run mtxrun
226
227[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
228
229    %_tl_enable_map Map arabi.map
230    %_tl_enable_map MixedMap arabtex.map
231
232%_tl_touch_run fmtutil
233
234exit 0
235
236
237%postun
238if [ "$1" = 0 ]; then
239    %_tl_touch_run texhash
240
241    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
242
243    %_tl_disable_map arabi.map
244    %_tl_disable_map arabtex.map
245
246fi
247
248exit 0
249
250%posttrans
251%{_tl_exec_texhash}
252%{_tl_exec_mtxrun}
253%{_tl_exec_updmap}
254%{_tl_exec_fmtutil}
255exit 0
256
257
258%files -f filelist.full
259%defattr(-,root,root,-)
260
261%files -f filelist.doc doc
262%defattr(-,root,root,-)
263
264%changelog
265* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
266- TLNET 20131218
267
268* Fri Nov  1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
269- TLNET 20131101
270
271* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
272- TLNET 20131002
273
274* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
275- TLNET 20130919
276
277* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
278- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.