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

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

synced tlnet to 20150522

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