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

Revision 9955, 16.2 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-langother
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Other languages
10Summary(ja): TeX Live: Other languages
11Name: texlive-collection-langother
12Version: 2015
13Release: 4%{?_dist_release}
14License: LGPLv2+, LPPL 1.3, LPPL, GPL+, Public Domain, Freely redistributable without restriction
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: amsldoc-vn.doc.tar.xz
19Source1: amsldoc-vn.tar.xz
20Source2: aramaic-serto.doc.tar.xz
21Source3: aramaic-serto.tar.xz
22Source4: babel-bahasa.doc.tar.xz
23Source5: babel-bahasa.source.tar.xz
24Source6: babel-bahasa.tar.xz
25Source7: babel-esperanto.doc.tar.xz
26Source8: babel-esperanto.source.tar.xz
27Source9: babel-esperanto.tar.xz
28Source10: babel-georgian.doc.tar.xz
29Source11: babel-georgian.tar.xz
30Source12: babel-hebrew.doc.tar.xz
31Source13: babel-hebrew.source.tar.xz
32Source14: babel-hebrew.tar.xz
33Source15: babel-interlingua.doc.tar.xz
34Source16: babel-interlingua.source.tar.xz
35Source17: babel-interlingua.tar.xz
36Source18: babel-sorbian.doc.tar.xz
37Source19: babel-sorbian.source.tar.xz
38Source20: babel-sorbian.tar.xz
39Source21: babel-thai.doc.tar.xz
40Source22: babel-thai.source.tar.xz
41Source23: babel-thai.tar.xz
42Source24: babel-vietnamese.doc.tar.xz
43Source25: babel-vietnamese.source.tar.xz
44Source26: babel-vietnamese.tar.xz
45Source27: cjhebrew.doc.tar.xz
46Source28: cjhebrew.tar.xz
47Source29: ctib.doc.tar.xz
48Source30: ctib.source.tar.xz
49Source31: ctib.tar.xz
50Source32: fonts-tlwg.doc.tar.xz
51Source33: fonts-tlwg.source.tar.xz
52Source34: fonts-tlwg.tar.xz
53Source35: hyphen-afrikaans.tar.xz
54Source36: hyphen-coptic.tar.xz
55Source37: hyphen-esperanto.tar.xz
56Source38: hyphen-georgian.tar.xz
57Source39: hyphen-indonesian.tar.xz
58Source40: hyphen-interlingua.tar.xz
59Source41: hyphen-thai.tar.xz
60Source42: hyphen-turkmen.tar.xz
61Source43: lshort-thai.doc.tar.xz
62Source44: lshort-thai.tar.xz
63Source45: lshort-vietnamese.doc.tar.xz
64Source46: lshort-vietnamese.tar.xz
65Source47: ntheorem-vn.doc.tar.xz
66Source48: ntheorem-vn.tar.xz
67Source49: vntex.doc.tar.xz
68Source50: vntex.source.tar.xz
69Source51: vntex.tar.xz
70
71Requires: texlive = %{version}
72Requires: texlive-collection-basic = %{version}
73
74Requires(post):         texlive = %{version}
75Requires(postun):       texlive = %{version}
76
77BuildArch:      noarch
78Buildroot:      %{_tmppath}/%{name}-%{version}-root
79
80Vendor:         Project Vine
81Distribution:   Vine Linux
82Packager:       munepi
83
84%description
85The TeX Live software distribution offers a complete TeX system for a
86variety of Unix, Macintosh, Windows and other platforms. It
87encompasses programs for editing, typesetting, previewing and printing
88of TeX documents in many different languages, and a large collection
89of TeX macros and font libraries.
90
91The distribution includes extensive general documentation about TeX,
92as well as the documentation for the included software packages.
93
94This package is a collection of Other languages:
95Support for languages not otherwise listed, including Thai,
96Vietnamese, Hebrew, Indonesian, and plenty more.  The split is
97made simply on the basis of the size of the support, to keep
98both collection sizes and the number of collections reasonable.
99
100This package contains the following CTAN packages:
101amsldoc-vn: Vietnamese translation of AMSLaTeX documentation.
102aramaic-serto: Fonts and LaTeX for Syriac written in Serto.
103babel-bahasa: Support for Bahasa within babel.
104babel-esperanto: Babel support for Esperanto.
105babel-georgian: Babel
106babel-hebrew: Babel support for Hebrew.
107babel-interlingua: Babel support for Interlingua.
108babel-sorbian: Babel support for Upper and Lower Sorbian.
109babel-thai: Support for Thai within babel
110babel-vietnamese: Babel support for typesetting Vietnamese
111cjhebrew: Typeset Hebrew with LaTeX.
112ctib: Tibetan for TeX and LATeX2e.
113fonts-tlwg: Thai fonts for LaTeX from TLWG.
114hyphen-afrikaans: Afrikaans hyphenation patterns.
115hyphen-coptic: Coptic hyphenation patterns.
116hyphen-esperanto: Esperanto hyphenation patterns.
117hyphen-georgian: Georgian hyphenation patterns.
118hyphen-indonesian: Indonesian hyphenation patterns.
119hyphen-interlingua: Interlingua hyphenation patterns.
120hyphen-thai: Thai hyphenation patterns.
121hyphen-turkmen: Turkmen hyphenation patterns.
122lshort-thai: Introduction to LaTeX in Thai.
123lshort-vietnamese: Vietnamese version of the LaTeX introduction.
124ntheorem-vn: Vietnamese translation of documentation of ntheorem.
125vntex: Support for Vietnamese.
126
127%description -l ja
128TeX Live ソフトウェアディストリビューションは、
129さまざまな Unix, Macintosh, Windows、および
130他のプラットホームに対して完全な TeX システムを提供します。
131多くの異なった言語を含む TeX ドキュメントの
132編集、組版、閲覧、印刷するためのプログラム、
133そして、TeX マクロやフォントライブラリの大きなコレクションを
134同梱しています。
135
136このディストリビューションは
137同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
138TeX に関するたくさんの一般的なドキュメントを含んでいます。
139
140このパッケージは以下のようなパッケージ集です。
141Other languages:
142Support for languages not otherwise listed, including Thai,
143Vietnamese, Hebrew, Indonesian, and plenty more.  The split is
144made simply on the basis of the size of the support, to keep
145both collection sizes and the number of collections reasonable.
146
147このパッケージは以下の CTAN パッケージを含んでいます:
148amsldoc-vn: Vietnamese translation of AMSLaTeX documentation.
149aramaic-serto: Fonts and LaTeX for Syriac written in Serto.
150babel-bahasa: Support for Bahasa within babel.
151babel-esperanto: Babel support for Esperanto.
152babel-georgian: Babel
153babel-hebrew: Babel support for Hebrew.
154babel-interlingua: Babel support for Interlingua.
155babel-sorbian: Babel support for Upper and Lower Sorbian.
156babel-thai: Support for Thai within babel
157babel-vietnamese: Babel support for typesetting Vietnamese
158cjhebrew: Typeset Hebrew with LaTeX.
159ctib: Tibetan for TeX and LATeX2e.
160fonts-tlwg: Thai fonts for LaTeX from TLWG.
161hyphen-afrikaans: Afrikaans hyphenation patterns.
162hyphen-coptic: Coptic hyphenation patterns.
163hyphen-esperanto: Esperanto hyphenation patterns.
164hyphen-georgian: Georgian hyphenation patterns.
165hyphen-indonesian: Indonesian hyphenation patterns.
166hyphen-interlingua: Interlingua hyphenation patterns.
167hyphen-thai: Thai hyphenation patterns.
168hyphen-turkmen: Turkmen hyphenation patterns.
169lshort-thai: Introduction to LaTeX in Thai.
170lshort-vietnamese: Vietnamese version of the LaTeX introduction.
171ntheorem-vn: Vietnamese translation of documentation of ntheorem.
172vntex: Support for Vietnamese.
173
174%package doc
175Summary: TeX Live: Documentation files of %{name}
176Group: Applications/Publishing
177Requires: %{name} = %{version}-%{release}
178
179%description doc
180This package contains documentation files of %{name}.
181
182%prep
183%setup -c -n %{name}-%{version}
184%__tar -xvf %{SOURCE1}
185%__tar -xvf %{SOURCE2}
186%__tar -xvf %{SOURCE3}
187%__tar -xvf %{SOURCE4}
188%__tar -xvf %{SOURCE5}
189%__tar -xvf %{SOURCE6}
190%__tar -xvf %{SOURCE7}
191%__tar -xvf %{SOURCE8}
192%__tar -xvf %{SOURCE9}
193%__tar -xvf %{SOURCE10}
194%__tar -xvf %{SOURCE11}
195%__tar -xvf %{SOURCE12}
196%__tar -xvf %{SOURCE13}
197%__tar -xvf %{SOURCE14}
198%__tar -xvf %{SOURCE15}
199%__tar -xvf %{SOURCE16}
200%__tar -xvf %{SOURCE17}
201%__tar -xvf %{SOURCE18}
202%__tar -xvf %{SOURCE19}
203%__tar -xvf %{SOURCE20}
204%__tar -xvf %{SOURCE21}
205%__tar -xvf %{SOURCE22}
206%__tar -xvf %{SOURCE23}
207%__tar -xvf %{SOURCE24}
208%__tar -xvf %{SOURCE25}
209%__tar -xvf %{SOURCE26}
210%__tar -xvf %{SOURCE27}
211%__tar -xvf %{SOURCE28}
212%__tar -xvf %{SOURCE29}
213%__tar -xvf %{SOURCE30}
214%__tar -xvf %{SOURCE31}
215%__tar -xvf %{SOURCE32}
216%__tar -xvf %{SOURCE33}
217%__tar -xvf %{SOURCE34}
218%__tar -xvf %{SOURCE35}
219%__tar -xvf %{SOURCE36}
220%__tar -xvf %{SOURCE37}
221%__tar -xvf %{SOURCE38}
222%__tar -xvf %{SOURCE39}
223%__tar -xvf %{SOURCE40}
224%__tar -xvf %{SOURCE41}
225%__tar -xvf %{SOURCE42}
226%__tar -xvf %{SOURCE43}
227%__tar -xvf %{SOURCE44}
228%__tar -xvf %{SOURCE45}
229%__tar -xvf %{SOURCE46}
230%__tar -xvf %{SOURCE47}
231%__tar -xvf %{SOURCE48}
232%__tar -xvf %{SOURCE49}
233%__tar -xvf %{SOURCE50}
234%__tar -xvf %{SOURCE51}
235
236%build
237
238%install
239[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
240
241%__mkdir_p %{buildroot}%{_datadir}
242
243## move texmf-dist to /usr/share/texmf-dist
244[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
245
246## move texmf to /usr/share/texmf
247[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
248
249## move tlpkg to /usr/share/tlpkg
250[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
251
252## move all non-arch binaries to /usr/bin
253[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
254
255## move others into /usr/share/texmf-dist
256%__mkdir_p %{buildroot}%{_tl_texmfdist}
257%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
258%__rm -rf * ||:
259
260
261## remove duplicated files between texlive and texlive-collection-*
262## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
263## remove unpacked files
264x=(
265dvipdfmx/dvipdfmx.cfg
266scripts/context/stubs/unix/mtxrun
267scripts/ptex2pdf/ptex2pdf.lua
268scripts/texlive/fmtutil.pl
269scripts/texlive/texconfig-dialog.sh
270scripts/texlive/texconfig-sys.sh
271scripts/texlive/texconfig.sh
272scripts/texlive/texlinks.sh
273scripts/texlive/tlmgr.pl
274scripts/texlive/updmap.pl
275texconfig/tcfmgr
276web2c/fmtutil.cnf
277web2c/mktex.opt
278web2c/mktexdir
279web2c/mktexdir.opt
280web2c/mktexnam
281web2c/mktexnam.opt
282web2c/mktexupd
283web2c/texmf.cnf
284web2c/updmap-hdr.cfg
285web2c/updmap.cfg
286install-tl
287#
288scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
289scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
290scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
291scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
292scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
293scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
294scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
295scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
296scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
297scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
298scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
299scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
300scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
301scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
302scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
303scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
304scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
305scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
306scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
307scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
308scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
309scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
310)
311if [ -d %{buildroot}%{_tl_texmfdist} ]; then
312pushd %{buildroot}%{_tl_texmfdist}
313%__rm -f ${x[@]} ||:
314popd
315fi
316
317## Files list
318find %{buildroot} -type f -or -type l | \
319    %__sed -e "s|%{buildroot}||g" > filelist.full
320
321find %{buildroot}%{_tl_texmfdist} -type d | \
322    %__sed -e "s|^%{buildroot}|%dir |" \
323           -e "s|$|/|"             >> filelist.full
324
325## subpackages
326grep "/texmf-dist/doc/" filelist.full > filelist.doc
327cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
328%__mv -f filelist.tmp filelist.full
329
330%clean
331%__rm -rf %{buildroot}
332
333%post
334%_tl_touch_run texhash
335%_tl_touch_run mtxrun
336
337[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
338
339    %_tl_enable_map Map syriac.map
340    %_tl_enable_map Map cjhebrew.map
341    %_tl_enable_map Map nectec.map
342    %_tl_enable_map Map nf.map
343    %_tl_enable_map Map sipa.map
344    %_tl_enable_map Map tlwg.map
345    %_tl_enable_map Map arevvn.map
346    %_tl_enable_map Map chartervn.map
347    %_tl_enable_map Map cmbrightvn.map
348    %_tl_enable_map Map concretevn.map
349    %_tl_enable_map Map grotesqvn.map
350    %_tl_enable_map Map txttvn.map
351    %_tl_enable_map Map urwvn.map
352    %_tl_enable_map MixedMap vnrother.map
353    %_tl_enable_map MixedMap vnrtext.map
354    %_tl_enable_map Map vntopia.map
355
356%_tl_touch_run fmtutil
357
358exit 0
359
360
361%postun
362if [ "$1" = 0 ]; then
363    %_tl_touch_run texhash
364
365    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
366
367    %_tl_disable_map syriac.map
368    %_tl_disable_map cjhebrew.map
369    %_tl_disable_map nectec.map
370    %_tl_disable_map nf.map
371    %_tl_disable_map sipa.map
372    %_tl_disable_map tlwg.map
373    %_tl_disable_map arevvn.map
374    %_tl_disable_map chartervn.map
375    %_tl_disable_map cmbrightvn.map
376    %_tl_disable_map concretevn.map
377    %_tl_disable_map grotesqvn.map
378    %_tl_disable_map txttvn.map
379    %_tl_disable_map urwvn.map
380    %_tl_disable_map vnrother.map
381    %_tl_disable_map vnrtext.map
382    %_tl_disable_map vntopia.map
383
384fi
385
386exit 0
387
388%posttrans
389%{_tl_exec_texhash}
390%{_tl_exec_mtxrun}
391%{_tl_exec_updmap}
392%{_tl_exec_fmtutil}
393exit 0
394
395
396%files -f filelist.full
397%defattr(-,root,root,-)
398
399%files -f filelist.doc doc
400%defattr(-,root,root,-)
401
402%changelog
403* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
404- remove duplicated files from texlive-collection-*
405- synced tlnet to 20160113 (TeX Live 2015)
406
407* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
408- TeX Live 2016/dev
409- synced tlnet to 20160110 (TeX Live 2016/dev)
410
411* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
412- TeX Live 2015/pretest
413- synced tlnet to 20150522 (TeX Live 2015/pretest)
414
415* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
416- TeX Live 2015/pretest
417- synced tlnet to 20150426 (TeX Live 2015/pretest)
418
419* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
420- synced tlnet to 20150401
421
422* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
423- synced tlnet to 20141028
424
425* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
426- synced tlnet to 20140706
427
428* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
429- upgraded to TeX Live 2014
430
431* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
432- synced tlnet to 20140406
433
434* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
435- synced tlnet to 20131218
436
437* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
438- synced tlnet to 20131101
439
440* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
441- synced tlnet to 20131002
442
443* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
444- synced tlnet to 20130919
445
446* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
447- upgraded to TeX Live 2013
448  - used tlnet archives
449  - synced tlnet to 20130823
450- added macros.texlive
451
452* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
453- updated to TeX Live 2012
454
455* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
456- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
457  - set external dependencies (texlive-collection-binextra,
458    texlive-collection-fontutils)
459
460* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
461- updated to TeX Live 2011
462- merged texlive-vtlpkg-2009-osx.patch from OSXWS
463- added %doc README (%files)
464
465* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
466- applied texlive-vtlpkg-2009-vine.patch
467  - remove arch dependent binaries
468- updated tlpdb2rpmspec.sh.in:
469  - improved tlpdb4a()
470  - make symlinks of core script utils (texlive-collection-binextra,
471    texlive-collection-context, texlive-collection-fontutils,
472    texlive-collection-langgreek, texlive-collection-langindic,
473    texlive-collection-latex, texlive-collection-latexextra,
474    texlive-collection-latexrecommended, texlive-collection-pictures,
475    texlive-collection-pstricks, texlive-collection-science)
476
477* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
478- updated tlpdb2rpmspec.sh.in:
479  - improved %post
480
481* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
482- updated tlpdb2rpmspec.sh.in:
483  - removed arch dependent binaries (texlive-collection-latexextra)
484  - improved updmap process in %post and %postun
485  - fixed perl path
486
487* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
488- initial build
Note: See TracBrowser for help on using the repository browser.