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

Revision 10360, 12.7 KB checked in by munepi, 8 years ago (diff)

updated to TeX Live 2016

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