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

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