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

Revision 8049, 13.5 KB checked in by munepi, 10 years ago (diff)

TLNET 20131218

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[8049]2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5:
[1974]3## tlpdb2rpmspec collection-langcyrillic
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[1533]9Summary: TeX Live: Cyrillic
10Summary(ja): TeX Live: Cyrillic
11Name: texlive-collection-langcyrillic
[7770]12Version: 2013
[8049]13Release: 5%{?_dist_release}
[7770]14License: LPPL 1.3, Public Domain, LPPL, GPL+, Freely redistributable without restriction, GFDL, GPLv2+
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]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
[1533]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:
[7770]128Support for Cyrillic scripts (Bulgarian, Russian, Serbian,
129Ukrainian), even if Latin alphabets may also be used.
[1533]130
131This package contains the following CTAN packages:
[7951]132babel-bulgarian: (Babel contributed support for Bulgarian.
[7770]133babel-russian: Russian language module for Babel.
134babel-serbian:
135babel-serbianc: Babel module to support Serbian Cyrillic.
136babel-ukraineb:
[1533]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.
[7770]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.
[5207]150lcyw: Make Classic Cyrillic CM fonts accessible in LaTeX.
[1533]151lh: Cyrillic fonts that support LaTeX standard encodings.
152lhcyr: A non-standard Cyrillic input scheme.
[7770]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.
[1533]161ruhyphen: Russian hyphenation.
[5207]162russ: LaTeX in Russian, without babel.
[7770]163serbian-apostrophe: Commands for Serbian words with apostrophes.
164serbian-date-lat: Updated date typesetting for Serbian.
165serbian-def-cyr:
166serbian-lig: Control ligatures in Serbian.
[1533]167t2: Support for using T2 encoding.
[7770]168texlive-ru: TeX Live manual (Russian)
169texlive-sr: TeX Live manual (Serbian)
[1533]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:
[7770]187Support for Cyrillic scripts (Bulgarian, Russian, Serbian,
188Ukrainian), even if Latin alphabets may also be used.
[1533]189
190このパッケージは以下の CTAN パッケージを含んでいます:
[7951]191babel-bulgarian: (Babel contributed support for Bulgarian.
[7770]192babel-russian: Russian language module for Babel.
193babel-serbian:
194babel-serbianc: Babel module to support Serbian Cyrillic.
195babel-ukraineb:
[1533]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.
[7770]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.
[5207]209lcyw: Make Classic Cyrillic CM fonts accessible in LaTeX.
[1533]210lh: Cyrillic fonts that support LaTeX standard encodings.
211lhcyr: A non-standard Cyrillic input scheme.
[7770]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.
[1533]220ruhyphen: Russian hyphenation.
[5207]221russ: LaTeX in Russian, without babel.
[7770]222serbian-apostrophe: Commands for Serbian words with apostrophes.
223serbian-date-lat: Updated date typesetting for Serbian.
224serbian-def-cyr:
225serbian-lig: Control ligatures in Serbian.
[1533]226t2: Support for using T2 encoding.
[7770]227texlive-ru: TeX Live manual (Russian)
228texlive-sr: TeX Live manual (Serbian)
[1533]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
[7770]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}
[1533]324
325%build
326
327%install
328[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
329
[7770]330%__mkdir_p %{buildroot}%{_datadir}
[1533]331
[7770]332## move texmf-dist to /usr/share/texmf-dist
333[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]334
[7770]335## move texmf to /usr/share/texmf
336[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]337
[7770]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=(
[7951]354scripts/fontools/autoinst
[7855]355scripts/texlive/tlmgr.pl
[7951]356scripts/texlive/updmap.pl
[7770]357texconfig/tcfmgr
358texconfig/tcfmgr.map
359web2c/fmtutil.cnf
360web2c/mktex.opt
361web2c/mktexdir
362web2c/mktexdir.opt
363web2c/mktexnam
364web2c/mktexnam.opt
365web2c/mktexupd
366web2c/texmf.cnf
367web2c/updmap.cfg
368web2c/updmap-hdr.cfg
369doc/chktex/ChkTeX.pdf
370install-tl
371)
372if [ -d %{buildroot}%{_tl_texmfdist} ]; then
373pushd %{buildroot}%{_tl_texmfdist}
374%__rm -f ${x[@]} ||:
[5207]375popd
[7770]376fi
377
[1533]378## Files list
379find %{buildroot} -type f -or -type l | \
380    %__sed -e "s|%{buildroot}||g" > filelist.full
381
[7770]382find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]383    %__sed -e "s|^%{buildroot}|%dir |" \
384           -e "s|$|/|"             >> filelist.full
385
386## subpackages
387grep "/texmf-dist/doc/" filelist.full > filelist.doc
388cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
389%__mv -f filelist.tmp filelist.full
390
391%clean
392%__rm -rf %{buildroot}
393
394%post
[7770]395%_tl_touch_run texhash
396%_tl_touch_run mtxrun
[1533]397
[7770]398[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]399
[7770]400    %_tl_enable_map Map cmcyr.map
401    %_tl_enable_map MixedMap mongolian.map
[2505]402
[7770]403%_tl_touch_run fmtutil
[2505]404
[1533]405exit 0
406
407
408%postun
409if [ "$1" = 0 ]; then
[7770]410    %_tl_touch_run texhash
[1533]411
[7770]412    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]413
[7770]414    %_tl_disable_map cmcyr.map
415    %_tl_disable_map mongolian.map
[1533]416
417fi
418
419exit 0
420
[7148]421%posttrans
[7770]422%{_tl_exec_texhash}
423%{_tl_exec_mtxrun}
424%{_tl_exec_updmap}
425%{_tl_exec_fmtutil}
[7148]426exit 0
427
428
[1533]429%files -f filelist.full
[5207]430%defattr(-,root,root,-)
[1533]431
432%files -f filelist.doc doc
[5207]433%defattr(-,root,root,-)
[1533]434
435%changelog
[8049]436* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
437- TLNET 20131218
438
[7951]439* Fri Nov  1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
440- TLNET 20131101
441
[7855]442* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
443- TLNET 20131002
444
[7810]445* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
446- TLNET 20130919
447
[7770]448* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
449- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.