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

Revision 9950, 16.1 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-langcyrillic
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Cyrillic
10Summary(ja): TeX Live: Cyrillic
11Name: texlive-collection-langcyrillic
12Version: 2015
13Release: 3%{?_dist_release}
14License: LPPL 1.3, Public Domain, LPPL, GPL+, Freely redistributable without restriction, GPLv2+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: babel-bulgarian.doc.tar.xz
19Source1: babel-bulgarian.source.tar.xz
20Source2: babel-bulgarian.tar.xz
21Source3: babel-russian.doc.tar.xz
22Source4: babel-russian.source.tar.xz
23Source5: babel-russian.tar.xz
24Source6: babel-serbian.doc.tar.xz
25Source7: babel-serbian.source.tar.xz
26Source8: babel-serbian.tar.xz
27Source9: babel-serbianc.doc.tar.xz
28Source10: babel-serbianc.source.tar.xz
29Source11: babel-serbianc.tar.xz
30Source12: babel-ukraineb.doc.tar.xz
31Source13: babel-ukraineb.source.tar.xz
32Source14: babel-ukraineb.tar.xz
33Source15: cmcyr.doc.tar.xz
34Source16: cmcyr.tar.xz
35Source17: cyrillic.doc.tar.xz
36Source18: cyrillic.source.tar.xz
37Source19: cyrillic.tar.xz
38Source20: cyrillic-bin.doc.tar.xz
39Source21: cyrillic-bin.tar.xz
40Source22: cyrplain.tar.xz
41Source23: disser.doc.tar.xz
42Source24: disser.source.tar.xz
43Source25: disser.tar.xz
44Source26: eskd.doc.tar.xz
45Source27: eskd.source.tar.xz
46Source28: eskd.tar.xz
47Source29: eskdx.doc.tar.xz
48Source30: eskdx.tar.xz
49Source31: gost.doc.tar.xz
50Source32: gost.source.tar.xz
51Source33: gost.tar.xz
52Source34: hyphen-bulgarian.tar.xz
53Source35: hyphen-mongolian.tar.xz
54Source36: hyphen-russian.tar.xz
55Source37: hyphen-serbian.tar.xz
56Source38: hyphen-ukrainian.tar.xz
57Source39: lcyw.doc.tar.xz
58Source40: lcyw.source.tar.xz
59Source41: lcyw.tar.xz
60Source42: lh.doc.tar.xz
61Source43: lh.source.tar.xz
62Source44: lh.tar.xz
63Source45: lhcyr.source.tar.xz
64Source46: lhcyr.tar.xz
65Source47: lshort-bulgarian.doc.tar.xz
66Source48: lshort-bulgarian.tar.xz
67Source49: lshort-mongol.doc.tar.xz
68Source50: lshort-mongol.tar.xz
69Source51: lshort-russian.doc.tar.xz
70Source52: lshort-russian.tar.xz
71Source53: lshort-ukr.doc.tar.xz
72Source54: lshort-ukr.tar.xz
73Source55: mongolian-babel.doc.tar.xz
74Source56: mongolian-babel.source.tar.xz
75Source57: mongolian-babel.tar.xz
76Source58: montex.doc.tar.xz
77Source59: montex.tar.xz
78Source60: mpman-ru.doc.tar.xz
79Source61: mpman-ru.tar.xz
80Source62: pst-eucl-translation-bg.doc.tar.xz
81Source63: pst-eucl-translation-bg.tar.xz
82Source64: ruhyphen.source.tar.xz
83Source65: ruhyphen.tar.xz
84Source66: russ.doc.tar.xz
85Source67: russ.tar.xz
86Source68: serbian-apostrophe.doc.tar.xz
87Source69: serbian-apostrophe.tar.xz
88Source70: serbian-date-lat.doc.tar.xz
89Source71: serbian-date-lat.tar.xz
90Source72: serbian-def-cyr.doc.tar.xz
91Source73: serbian-def-cyr.tar.xz
92Source74: serbian-lig.doc.tar.xz
93Source75: serbian-lig.tar.xz
94Source76: t2.doc.tar.xz
95Source77: t2.tar.xz
96Source78: texlive-ru.doc.tar.xz
97Source79: texlive-ru.tar.xz
98Source80: texlive-sr.doc.tar.xz
99Source81: texlive-sr.tar.xz
100Source82: ukrhyph.doc.tar.xz
101Source83: ukrhyph.tar.xz
102
103Requires: texlive = %{version}
104Requires: texlive-collection-basic = %{version}
105Requires: texlive-collection-latex = %{version}
106
107Requires(post):         texlive = %{version}
108Requires(postun):       texlive = %{version}
109
110BuildArch:      noarch
111Buildroot:      %{_tmppath}/%{name}-%{version}-root
112
113Vendor:         Project Vine
114Distribution:   Vine Linux
115Packager:       munepi
116
117%description
118The TeX Live software distribution offers a complete TeX system for a
119variety of Unix, Macintosh, Windows and other platforms. It
120encompasses programs for editing, typesetting, previewing and printing
121of TeX documents in many different languages, and a large collection
122of TeX macros and font libraries.
123
124The distribution includes extensive general documentation about TeX,
125as well as the documentation for the included software packages.
126
127This package is a collection of Cyrillic:
128Support for Cyrillic scripts (Bulgarian, Russian, Serbian,
129Ukrainian), even if Latin alphabets may also be used.
130
131This package contains the following CTAN packages:
132babel-bulgarian: Babel contributed support for Bulgarian.
133babel-russian: Russian language module for Babel.
134babel-serbian:
135babel-serbianc: Babel module to support Serbian Cyrillic.
136babel-ukraineb:
137cmcyr: Computer Modern fonts with cyrillic extensions
138cyrillic: Support for Cyrillic fonts in LaTeX.
139cyrillic-bin: Cyrillic bibtex and makeindex.
140cyrplain:
141disser: Class and templates for typesetting dissertations in Russian
142eskd: Modern Russian typesetting.
143eskdx: Modern Russian typesetting.
144gost: BibTeX styles to format according to GOST.
145hyphen-bulgarian: Bulgarian hyphenation patterns.
146hyphen-mongolian: Mongolian hyphenation patterns in Cyrillic script.
147hyphen-russian: Russian hyphenation patterns.
148hyphen-serbian: Serbian hyphenation patterns.
149hyphen-ukrainian: Ukrainian hyphenation patterns.
150lcyw: Make Classic Cyrillic CM fonts accessible in LaTeX.
151lh: Cyrillic fonts that support LaTeX standard encodings.
152lhcyr: A non-standard Cyrillic input scheme.
153lshort-bulgarian: Bulgarian translation of the "Short Introduction to LaTeX2e".
154lshort-mongol: Short introduction to LaTeX, in Mongolian.
155lshort-russian: Russian introduction to LaTeX.
156lshort-ukr: Ukrainian version of the LaTeX introduction.
157mongolian-babel: A language definition file for Mongolian in Babel.
158montex: Mongolian LaTeX.
159mpman-ru: A Russian translation of the MetaPost manual.
160pst-eucl-translation-bg: Bulgarian translation of the pst-eucl documentation.
161ruhyphen: Russian hyphenation.
162russ: LaTeX in Russian, without babel.
163serbian-apostrophe: Commands for Serbian words with apostrophes.
164serbian-date-lat: Updated date typesetting for Serbian.
165serbian-def-cyr: Serbian cyrillic localization.
166serbian-lig: Control ligatures in Serbian
167t2: Support for using T2 encoding
168texlive-ru: TeX Live manual (Russian)
169texlive-sr: TeX Live manual (Serbian)
170ukrhyph: Hyphenation Patterns for Ukrainian.
171
172%description -l ja
173TeX Live ソフトウェアディストリビューションは、
174さまざまな Unix, Macintosh, Windows、および
175他のプラットホームに対して完全な TeX システムを提供します。
176多くの異なった言語を含む TeX ドキュメントの
177編集、組版、閲覧、印刷するためのプログラム、
178そして、TeX マクロやフォントライブラリの大きなコレクションを
179同梱しています。
180
181このディストリビューションは
182同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
183TeX に関するたくさんの一般的なドキュメントを含んでいます。
184
185このパッケージは以下のようなパッケージ集です。
186Cyrillic:
187Support for Cyrillic scripts (Bulgarian, Russian, Serbian,
188Ukrainian), even if Latin alphabets may also be used.
189
190このパッケージは以下の CTAN パッケージを含んでいます:
191babel-bulgarian: Babel contributed support for Bulgarian.
192babel-russian: Russian language module for Babel.
193babel-serbian:
194babel-serbianc: Babel module to support Serbian Cyrillic.
195babel-ukraineb:
196cmcyr: Computer Modern fonts with cyrillic extensions
197cyrillic: Support for Cyrillic fonts in LaTeX.
198cyrillic-bin: Cyrillic bibtex and makeindex.
199cyrplain:
200disser: Class and templates for typesetting dissertations in Russian
201eskd: Modern Russian typesetting.
202eskdx: Modern Russian typesetting.
203gost: BibTeX styles to format according to GOST.
204hyphen-bulgarian: Bulgarian hyphenation patterns.
205hyphen-mongolian: Mongolian hyphenation patterns in Cyrillic script.
206hyphen-russian: Russian hyphenation patterns.
207hyphen-serbian: Serbian hyphenation patterns.
208hyphen-ukrainian: Ukrainian hyphenation patterns.
209lcyw: Make Classic Cyrillic CM fonts accessible in LaTeX.
210lh: Cyrillic fonts that support LaTeX standard encodings.
211lhcyr: A non-standard Cyrillic input scheme.
212lshort-bulgarian: Bulgarian translation of the "Short Introduction to LaTeX2e".
213lshort-mongol: Short introduction to LaTeX, in Mongolian.
214lshort-russian: Russian introduction to LaTeX.
215lshort-ukr: Ukrainian version of the LaTeX introduction.
216mongolian-babel: A language definition file for Mongolian in Babel.
217montex: Mongolian LaTeX.
218mpman-ru: A Russian translation of the MetaPost manual.
219pst-eucl-translation-bg: Bulgarian translation of the pst-eucl documentation.
220ruhyphen: Russian hyphenation.
221russ: LaTeX in Russian, without babel.
222serbian-apostrophe: Commands for Serbian words with apostrophes.
223serbian-date-lat: Updated date typesetting for Serbian.
224serbian-def-cyr: Serbian cyrillic localization.
225serbian-lig: Control ligatures in Serbian
226t2: Support for using T2 encoding
227texlive-ru: TeX Live manual (Russian)
228texlive-sr: TeX Live manual (Serbian)
229ukrhyph: Hyphenation Patterns for Ukrainian.
230
231%package doc
232Summary: TeX Live: Documentation files of %{name}
233Group: Applications/Publishing
234Requires: %{name} = %{version}-%{release}
235
236%description doc
237This package contains documentation files of %{name}.
238
239%prep
240%setup -c -n %{name}-%{version}
241%__tar -xvf %{SOURCE1}
242%__tar -xvf %{SOURCE2}
243%__tar -xvf %{SOURCE3}
244%__tar -xvf %{SOURCE4}
245%__tar -xvf %{SOURCE5}
246%__tar -xvf %{SOURCE6}
247%__tar -xvf %{SOURCE7}
248%__tar -xvf %{SOURCE8}
249%__tar -xvf %{SOURCE9}
250%__tar -xvf %{SOURCE10}
251%__tar -xvf %{SOURCE11}
252%__tar -xvf %{SOURCE12}
253%__tar -xvf %{SOURCE13}
254%__tar -xvf %{SOURCE14}
255%__tar -xvf %{SOURCE15}
256%__tar -xvf %{SOURCE16}
257%__tar -xvf %{SOURCE17}
258%__tar -xvf %{SOURCE18}
259%__tar -xvf %{SOURCE19}
260%__tar -xvf %{SOURCE20}
261%__tar -xvf %{SOURCE21}
262%__tar -xvf %{SOURCE22}
263%__tar -xvf %{SOURCE23}
264%__tar -xvf %{SOURCE24}
265%__tar -xvf %{SOURCE25}
266%__tar -xvf %{SOURCE26}
267%__tar -xvf %{SOURCE27}
268%__tar -xvf %{SOURCE28}
269%__tar -xvf %{SOURCE29}
270%__tar -xvf %{SOURCE30}
271%__tar -xvf %{SOURCE31}
272%__tar -xvf %{SOURCE32}
273%__tar -xvf %{SOURCE33}
274%__tar -xvf %{SOURCE34}
275%__tar -xvf %{SOURCE35}
276%__tar -xvf %{SOURCE36}
277%__tar -xvf %{SOURCE37}
278%__tar -xvf %{SOURCE38}
279%__tar -xvf %{SOURCE39}
280%__tar -xvf %{SOURCE40}
281%__tar -xvf %{SOURCE41}
282%__tar -xvf %{SOURCE42}
283%__tar -xvf %{SOURCE43}
284%__tar -xvf %{SOURCE44}
285%__tar -xvf %{SOURCE45}
286%__tar -xvf %{SOURCE46}
287%__tar -xvf %{SOURCE47}
288%__tar -xvf %{SOURCE48}
289%__tar -xvf %{SOURCE49}
290%__tar -xvf %{SOURCE50}
291%__tar -xvf %{SOURCE51}
292%__tar -xvf %{SOURCE52}
293%__tar -xvf %{SOURCE53}
294%__tar -xvf %{SOURCE54}
295%__tar -xvf %{SOURCE55}
296%__tar -xvf %{SOURCE56}
297%__tar -xvf %{SOURCE57}
298%__tar -xvf %{SOURCE58}
299%__tar -xvf %{SOURCE59}
300%__tar -xvf %{SOURCE60}
301%__tar -xvf %{SOURCE61}
302%__tar -xvf %{SOURCE62}
303%__tar -xvf %{SOURCE63}
304%__tar -xvf %{SOURCE64}
305%__tar -xvf %{SOURCE65}
306%__tar -xvf %{SOURCE66}
307%__tar -xvf %{SOURCE67}
308%__tar -xvf %{SOURCE68}
309%__tar -xvf %{SOURCE69}
310%__tar -xvf %{SOURCE70}
311%__tar -xvf %{SOURCE71}
312%__tar -xvf %{SOURCE72}
313%__tar -xvf %{SOURCE73}
314%__tar -xvf %{SOURCE74}
315%__tar -xvf %{SOURCE75}
316%__tar -xvf %{SOURCE76}
317%__tar -xvf %{SOURCE77}
318%__tar -xvf %{SOURCE78}
319%__tar -xvf %{SOURCE79}
320%__tar -xvf %{SOURCE80}
321%__tar -xvf %{SOURCE81}
322%__tar -xvf %{SOURCE82}
323%__tar -xvf %{SOURCE83}
324
325%build
326
327%install
328[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
329
330%__mkdir_p %{buildroot}%{_datadir}
331
332## move texmf-dist to /usr/share/texmf-dist
333[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
334
335## move texmf to /usr/share/texmf
336[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
337
338## move tlpkg to /usr/share/tlpkg
339[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
340
341## move all non-arch binaries to /usr/bin
342[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
343
344## move others into /usr/share/texmf-dist
345%__mkdir_p %{buildroot}%{_tl_texmfdist}
346%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
347%__rm -rf * ||:
348
349
350## remove duplicated files between texlive and texlive-collection-*
351## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
352## remove unpacked files
353x=(
354scripts/context/stubs/unix/mtxrun
355scripts/ptex2pdf/ptex2pdf.lua
356scripts/texlive/fmtutil.pl
357scripts/texlive/texconfig-dialog.sh
358scripts/texlive/texconfig-sys.sh
359scripts/texlive/texconfig.sh
360scripts/texlive/texlinks.sh
361scripts/texlive/tlmgr.pl
362scripts/texlive/updmap.pl
363texconfig/tcfmgr
364web2c/fmtutil.cnf
365web2c/mktex.opt
366web2c/mktexdir
367web2c/mktexdir.opt
368web2c/mktexnam
369web2c/mktexnam.opt
370web2c/mktexupd
371web2c/texmf.cnf
372web2c/updmap-hdr.cfg
373web2c/updmap.cfg
374install-tl
375)
376if [ -d %{buildroot}%{_tl_texmfdist} ]; then
377pushd %{buildroot}%{_tl_texmfdist}
378%__rm -f ${x[@]} ||:
379popd
380fi
381
382## Files list
383find %{buildroot} -type f -or -type l | \
384    %__sed -e "s|%{buildroot}||g" > filelist.full
385
386find %{buildroot}%{_tl_texmfdist} -type d | \
387    %__sed -e "s|^%{buildroot}|%dir |" \
388           -e "s|$|/|"             >> filelist.full
389
390## subpackages
391grep "/texmf-dist/doc/" filelist.full > filelist.doc
392cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
393%__mv -f filelist.tmp filelist.full
394
395%clean
396%__rm -rf %{buildroot}
397
398%post
399%_tl_touch_run texhash
400%_tl_touch_run mtxrun
401
402[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
403
404    %_tl_enable_map Map cmcyr.map
405    %_tl_enable_map MixedMap mongolian.map
406
407%_tl_touch_run fmtutil
408
409exit 0
410
411
412%postun
413if [ "$1" = 0 ]; then
414    %_tl_touch_run texhash
415
416    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
417
418    %_tl_disable_map cmcyr.map
419    %_tl_disable_map mongolian.map
420
421fi
422
423exit 0
424
425%posttrans
426%{_tl_exec_texhash}
427%{_tl_exec_mtxrun}
428%{_tl_exec_updmap}
429%{_tl_exec_fmtutil}
430exit 0
431
432
433%files -f filelist.full
434%defattr(-,root,root,-)
435
436%files -f filelist.doc doc
437%defattr(-,root,root,-)
438
439%changelog
440* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
441- TeX Live 2016/dev
442- synced tlnet to 20160110 (TeX Live 2016/dev)
443
444* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
445- TeX Live 2015/pretest
446- synced tlnet to 20150522 (TeX Live 2015/pretest)
447
448* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
449- TeX Live 2015/pretest
450- synced tlnet to 20150426 (TeX Live 2015/pretest)
451
452* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
453- synced tlnet to 20150401
454
455* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
456- synced tlnet to 20141028
457
458* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
459- synced tlnet to 20140706
460
461* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
462- upgraded to TeX Live 2014
463
464* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
465- synced tlnet to 20140406
466
467* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
468- synced tlnet to 20131218
469
470* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
471- synced tlnet to 20131101
472
473* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
474- synced tlnet to 20131002
475
476* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
477- synced tlnet to 20130919
478
479* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
480- upgraded to TeX Live 2013
481  - used tlnet archives
482  - synced tlnet to 20130823
483- added macros.texlive
484
485* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
486- updated to TeX Live 2012
487
488* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
489- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
490  - set external dependencies (texlive-collection-binextra,
491    texlive-collection-fontutils)
492
493* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
494- updated to TeX Live 2011
495- merged texlive-vtlpkg-2009-osx.patch from OSXWS
496- added %doc README (%files)
497
498* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
499- applied texlive-vtlpkg-2009-vine.patch
500  - remove arch dependent binaries
501- updated tlpdb2rpmspec.sh.in:
502  - improved tlpdb4a()
503  - make symlinks of core script utils (texlive-collection-binextra,
504    texlive-collection-context, texlive-collection-fontutils,
505    texlive-collection-langgreek, texlive-collection-langindic,
506    texlive-collection-latex, texlive-collection-latexextra,
507    texlive-collection-latexrecommended, texlive-collection-pictures,
508    texlive-collection-pstricks, texlive-collection-science)
509
510* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
511- updated tlpdb2rpmspec.sh.in:
512  - improved %post
513
514* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
515- updated tlpdb2rpmspec.sh.in:
516  - removed arch dependent binaries (texlive-collection-latexextra)
517  - improved updmap process in %post and %postun
518  - fixed perl path
519
520* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
521- initial build
Note: See TracBrowser for help on using the repository browser.