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

Revision 7855, 13.2 KB checked in by munepi, 11 years ago (diff)

update source snapshot, TLNET: 20131002

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-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: 2013
13Release: 3%{?_dist_release}
14License: LPPL 1.3, Public Domain, LPPL, GPL+, Freely redistributable without restriction, GFDL, 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:
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:
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:
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:
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/texlive/tlmgr.pl
355texconfig/tcfmgr
356texconfig/tcfmgr.map
357web2c/fmtutil.cnf
358web2c/mktex.opt
359web2c/mktexdir
360web2c/mktexdir.opt
361web2c/mktexnam
362web2c/mktexnam.opt
363web2c/mktexupd
364web2c/texmf.cnf
365web2c/updmap.cfg
366web2c/updmap-hdr.cfg
367doc/chktex/ChkTeX.pdf
368install-tl
369)
370if [ -d %{buildroot}%{_tl_texmfdist} ]; then
371pushd %{buildroot}%{_tl_texmfdist}
372%__rm -f ${x[@]} ||:
373popd
374fi
375
376## Files list
377find %{buildroot} -type f -or -type l | \
378    %__sed -e "s|%{buildroot}||g" > filelist.full
379
380find %{buildroot}%{_tl_texmfdist} -type d | \
381    %__sed -e "s|^%{buildroot}|%dir |" \
382           -e "s|$|/|"             >> filelist.full
383
384## subpackages
385grep "/texmf-dist/doc/" filelist.full > filelist.doc
386cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
387%__mv -f filelist.tmp filelist.full
388
389%clean
390%__rm -rf %{buildroot}
391
392%post
393%_tl_touch_run texhash
394%_tl_touch_run mtxrun
395
396[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
397
398    %_tl_enable_map Map cmcyr.map
399    %_tl_enable_map MixedMap mongolian.map
400
401%_tl_touch_run fmtutil
402
403exit 0
404
405
406%postun
407if [ "$1" = 0 ]; then
408    %_tl_touch_run texhash
409
410    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
411
412    %_tl_disable_map cmcyr.map
413    %_tl_disable_map mongolian.map
414
415fi
416
417exit 0
418
419%posttrans
420%{_tl_exec_texhash}
421%{_tl_exec_mtxrun}
422%{_tl_exec_updmap}
423%{_tl_exec_fmtutil}
424exit 0
425
426
427%files -f filelist.full
428%defattr(-,root,root,-)
429
430%files -f filelist.doc doc
431%defattr(-,root,root,-)
432
433%changelog
434* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
435- TLNET 20131002
436
437* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
438- TLNET 20130919
439
440* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
441- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langcyrillic
442- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.