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

Revision 9950, 14.4 KB checked in by munepi, 8 years ago (diff)

synced tlnet to 20160110 (TeX Live 2016/dev)

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-3:
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: 3%{?_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=(
265scripts/context/stubs/unix/mtxrun
266scripts/ptex2pdf/ptex2pdf.lua
267scripts/texlive/fmtutil.pl
268scripts/texlive/texconfig-dialog.sh
269scripts/texlive/texconfig-sys.sh
270scripts/texlive/texconfig.sh
271scripts/texlive/texlinks.sh
272scripts/texlive/tlmgr.pl
273scripts/texlive/updmap.pl
274texconfig/tcfmgr
275web2c/fmtutil.cnf
276web2c/mktex.opt
277web2c/mktexdir
278web2c/mktexdir.opt
279web2c/mktexnam
280web2c/mktexnam.opt
281web2c/mktexupd
282web2c/texmf.cnf
283web2c/updmap-hdr.cfg
284web2c/updmap.cfg
285install-tl
286)
287if [ -d %{buildroot}%{_tl_texmfdist} ]; then
288pushd %{buildroot}%{_tl_texmfdist}
289%__rm -f ${x[@]} ||:
290popd
291fi
292
293## Files list
294find %{buildroot} -type f -or -type l | \
295    %__sed -e "s|%{buildroot}||g" > filelist.full
296
297find %{buildroot}%{_tl_texmfdist} -type d | \
298    %__sed -e "s|^%{buildroot}|%dir |" \
299           -e "s|$|/|"             >> filelist.full
300
301## subpackages
302grep "/texmf-dist/doc/" filelist.full > filelist.doc
303cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
304%__mv -f filelist.tmp filelist.full
305
306%clean
307%__rm -rf %{buildroot}
308
309%post
310%_tl_touch_run texhash
311%_tl_touch_run mtxrun
312
313[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
314
315    %_tl_enable_map Map syriac.map
316    %_tl_enable_map Map cjhebrew.map
317    %_tl_enable_map Map nectec.map
318    %_tl_enable_map Map nf.map
319    %_tl_enable_map Map sipa.map
320    %_tl_enable_map Map tlwg.map
321    %_tl_enable_map Map arevvn.map
322    %_tl_enable_map Map chartervn.map
323    %_tl_enable_map Map cmbrightvn.map
324    %_tl_enable_map Map concretevn.map
325    %_tl_enable_map Map grotesqvn.map
326    %_tl_enable_map Map txttvn.map
327    %_tl_enable_map Map urwvn.map
328    %_tl_enable_map MixedMap vnrother.map
329    %_tl_enable_map MixedMap vnrtext.map
330    %_tl_enable_map Map vntopia.map
331
332%_tl_touch_run fmtutil
333
334exit 0
335
336
337%postun
338if [ "$1" = 0 ]; then
339    %_tl_touch_run texhash
340
341    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
342
343    %_tl_disable_map syriac.map
344    %_tl_disable_map cjhebrew.map
345    %_tl_disable_map nectec.map
346    %_tl_disable_map nf.map
347    %_tl_disable_map sipa.map
348    %_tl_disable_map tlwg.map
349    %_tl_disable_map arevvn.map
350    %_tl_disable_map chartervn.map
351    %_tl_disable_map cmbrightvn.map
352    %_tl_disable_map concretevn.map
353    %_tl_disable_map grotesqvn.map
354    %_tl_disable_map txttvn.map
355    %_tl_disable_map urwvn.map
356    %_tl_disable_map vnrother.map
357    %_tl_disable_map vnrtext.map
358    %_tl_disable_map vntopia.map
359
360fi
361
362exit 0
363
364%posttrans
365%{_tl_exec_texhash}
366%{_tl_exec_mtxrun}
367%{_tl_exec_updmap}
368%{_tl_exec_fmtutil}
369exit 0
370
371
372%files -f filelist.full
373%defattr(-,root,root,-)
374
375%files -f filelist.doc doc
376%defattr(-,root,root,-)
377
378%changelog
379* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
380- TeX Live 2016/dev
381- synced tlnet to 20160110 (TeX Live 2016/dev)
382
383* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
384- TeX Live 2015/pretest
385- synced tlnet to 20150522 (TeX Live 2015/pretest)
386
387* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
388- TeX Live 2015/pretest
389- synced tlnet to 20150426 (TeX Live 2015/pretest)
390
391* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
392- synced tlnet to 20150401
393
394* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
395- synced tlnet to 20141028
396
397* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
398- synced tlnet to 20140706
399
400* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
401- upgraded to TeX Live 2014
402
403* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
404- synced tlnet to 20140406
405
406* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
407- synced tlnet to 20131218
408
409* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
410- synced tlnet to 20131101
411
412* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
413- synced tlnet to 20131002
414
415* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
416- synced tlnet to 20130919
417
418* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
419- upgraded to TeX Live 2013
420  - used tlnet archives
421  - synced tlnet to 20130823
422- added macros.texlive
423
424* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
425- updated to TeX Live 2012
426
427* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
428- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
429  - set external dependencies (texlive-collection-binextra,
430    texlive-collection-fontutils)
431
432* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
433- updated to TeX Live 2011
434- merged texlive-vtlpkg-2009-osx.patch from OSXWS
435- added %doc README (%files)
436
437* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
438- applied texlive-vtlpkg-2009-vine.patch
439  - remove arch dependent binaries
440- updated tlpdb2rpmspec.sh.in:
441  - improved tlpdb4a()
442  - make symlinks of core script utils (texlive-collection-binextra,
443    texlive-collection-context, texlive-collection-fontutils,
444    texlive-collection-langgreek, texlive-collection-langindic,
445    texlive-collection-latex, texlive-collection-latexextra,
446    texlive-collection-latexrecommended, texlive-collection-pictures,
447    texlive-collection-pstricks, texlive-collection-science)
448
449* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
450- updated tlpdb2rpmspec.sh.in:
451  - improved %post
452
453* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
454- updated tlpdb2rpmspec.sh.in:
455  - removed arch dependent binaries (texlive-collection-latexextra)
456  - improved updmap process in %post and %postun
457  - fixed perl path
458
459* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
460- initial build
Note: See TracBrowser for help on using the repository browser.