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

Revision 9955, 12.1 KB checked in by munepi, 8 years ago (diff)

reverted to texlive-20150521-source (TeX Live 2015)
remove duplicated files from texlive-collection-*

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-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: 2015
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.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=(
185dvipdfmx/dvipdfmx.cfg
186scripts/context/stubs/unix/mtxrun
187scripts/ptex2pdf/ptex2pdf.lua
188scripts/texlive/fmtutil.pl
189scripts/texlive/texconfig-dialog.sh
190scripts/texlive/texconfig-sys.sh
191scripts/texlive/texconfig.sh
192scripts/texlive/texlinks.sh
193scripts/texlive/tlmgr.pl
194scripts/texlive/updmap.pl
195texconfig/tcfmgr
196web2c/fmtutil.cnf
197web2c/mktex.opt
198web2c/mktexdir
199web2c/mktexdir.opt
200web2c/mktexnam
201web2c/mktexnam.opt
202web2c/mktexupd
203web2c/texmf.cnf
204web2c/updmap-hdr.cfg
205web2c/updmap.cfg
206install-tl
207#
208scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
209scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
210scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
211scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
212scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
213scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
214scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
215scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
216scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
217scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
218scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
219scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
220scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
221scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
222scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
223scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
224scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
225scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
226scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
227scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
228scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
229scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
230)
231if [ -d %{buildroot}%{_tl_texmfdist} ]; then
232pushd %{buildroot}%{_tl_texmfdist}
233%__rm -f ${x[@]} ||:
234popd
235fi
236
237## Files list
238find %{buildroot} -type f -or -type l | \
239    %__sed -e "s|%{buildroot}||g" > filelist.full
240
241find %{buildroot}%{_tl_texmfdist} -type d | \
242    %__sed -e "s|^%{buildroot}|%dir |" \
243           -e "s|$|/|"             >> filelist.full
244
245## subpackages
246grep "/texmf-dist/doc/" filelist.full > filelist.doc
247cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
248%__mv -f filelist.tmp filelist.full
249
250%clean
251%__rm -rf %{buildroot}
252
253%post
254%_tl_touch_run texhash
255%_tl_touch_run mtxrun
256
257[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
258
259    %_tl_enable_map Map burmese.map
260    %_tl_enable_map Map skt.map
261    %_tl_enable_map MixedMap dvng.map
262
263%_tl_touch_run fmtutil
264
265exit 0
266
267
268%postun
269if [ "$1" = 0 ]; then
270    %_tl_touch_run texhash
271
272    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
273
274    %_tl_disable_map burmese.map
275    %_tl_disable_map skt.map
276    %_tl_disable_map dvng.map
277
278fi
279
280exit 0
281
282%posttrans
283%{_tl_exec_texhash}
284%{_tl_exec_mtxrun}
285%{_tl_exec_updmap}
286%{_tl_exec_fmtutil}
287exit 0
288
289
290%files -f filelist.full
291%defattr(-,root,root,-)
292
293%files -f filelist.doc doc
294%defattr(-,root,root,-)
295
296%changelog
297* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
298- remove duplicated files from texlive-collection-*
299- synced tlnet to 20160113 (TeX Live 2015)
300
301* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
302- TeX Live 2016/dev
303- synced tlnet to 20160110 (TeX Live 2016/dev)
304
305* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
306- TeX Live 2015/pretest
307- synced tlnet to 20150522 (TeX Live 2015/pretest)
308
309* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
310- TeX Live 2015/pretest
311- synced tlnet to 20150426 (TeX Live 2015/pretest)
312
313* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
314- synced tlnet to 20150401
315
316* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
317- synced tlnet to 20141028
318
319* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
320- synced tlnet to 20140706
321
322* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
323- upgraded to TeX Live 2014
324
325* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
326- synced tlnet to 20140406
327
328* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
329- synced tlnet to 20131218
330
331* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
332- synced tlnet to 20131101
333
334* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
335- synced tlnet to 20131002
336
337* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
338- synced tlnet to 20130919
339
340* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
341- upgraded to TeX Live 2013
342  - used tlnet archives
343  - synced tlnet to 20130823
344- added macros.texlive
345
346* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
347- updated to TeX Live 2012
348
349* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
350- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
351  - set external dependencies (texlive-collection-binextra,
352    texlive-collection-fontutils)
353
354* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
355- updated to TeX Live 2011
356- merged texlive-vtlpkg-2009-osx.patch from OSXWS
357- added %doc README (%files)
358
359* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
360- applied texlive-vtlpkg-2009-vine.patch
361  - remove arch dependent binaries
362- updated tlpdb2rpmspec.sh.in:
363  - improved tlpdb4a()
364  - make symlinks of core script utils (texlive-collection-binextra,
365    texlive-collection-context, texlive-collection-fontutils,
366    texlive-collection-langgreek, texlive-collection-langindic,
367    texlive-collection-latex, texlive-collection-latexextra,
368    texlive-collection-latexrecommended, texlive-collection-pictures,
369    texlive-collection-pstricks, texlive-collection-science)
370
371* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
372- updated tlpdb2rpmspec.sh.in:
373  - improved %post
374
375* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
376- updated tlpdb2rpmspec.sh.in:
377  - removed arch dependent binaries (texlive-collection-latexextra)
378  - improved updmap process in %post and %postun
379  - fixed perl path
380
381* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
382- initial build
Note: See TracBrowser for help on using the repository browser.