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

Revision 7770, 8.7 KB checked in by munepi, 11 years ago (diff)

dropped all obsolete texlive-collection packages of TeX Live 2012

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