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

Revision 7855, 7.6 KB checked in by munepi, 11 years ago (diff)

update source snapshot, TLNET: 20131002

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-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: 2013
13Release: 3%{?_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/texlive/tlmgr.pl
184texconfig/tcfmgr
185texconfig/tcfmgr.map
186web2c/fmtutil.cnf
187web2c/mktex.opt
188web2c/mktexdir
189web2c/mktexdir.opt
190web2c/mktexnam
191web2c/mktexnam.opt
192web2c/mktexupd
193web2c/texmf.cnf
194web2c/updmap.cfg
195web2c/updmap-hdr.cfg
196doc/chktex/ChkTeX.pdf
197install-tl
198)
199if [ -d %{buildroot}%{_tl_texmfdist} ]; then
200pushd %{buildroot}%{_tl_texmfdist}
201%__rm -f ${x[@]} ||:
202popd
203fi
204
205## Files list
206find %{buildroot} -type f -or -type l | \
207    %__sed -e "s|%{buildroot}||g" > filelist.full
208
209find %{buildroot}%{_tl_texmfdist} -type d | \
210    %__sed -e "s|^%{buildroot}|%dir |" \
211           -e "s|$|/|"             >> filelist.full
212
213## subpackages
214grep "/texmf-dist/doc/" filelist.full > filelist.doc
215cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
216%__mv -f filelist.tmp filelist.full
217
218%clean
219%__rm -rf %{buildroot}
220
221%post
222%_tl_touch_run texhash
223%_tl_touch_run mtxrun
224
225[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
226
227    %_tl_enable_map Map arabi.map
228    %_tl_enable_map MixedMap arabtex.map
229
230%_tl_touch_run fmtutil
231
232exit 0
233
234
235%postun
236if [ "$1" = 0 ]; then
237    %_tl_touch_run texhash
238
239    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
240
241    %_tl_disable_map arabi.map
242    %_tl_disable_map arabtex.map
243
244fi
245
246exit 0
247
248%posttrans
249%{_tl_exec_texhash}
250%{_tl_exec_mtxrun}
251%{_tl_exec_updmap}
252%{_tl_exec_fmtutil}
253exit 0
254
255
256%files -f filelist.full
257%defattr(-,root,root,-)
258
259%files -f filelist.doc doc
260%defattr(-,root,root,-)
261
262%changelog
263* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
264- TLNET 20131002
265
266* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
267- TLNET 20130919
268
269* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
270- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langarabic
271- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.