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

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

TLNET 20131218

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-5:
3## tlpdb2rpmspec collection-langgreek
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Greek
10Summary(ja): TeX Live: Greek
11Name: texlive-collection-langgreek
12Version: 2013
13Release: 5%{?_dist_release}
14License: LPPL 1.3, LPPL, Freely redistributable without restriction, Public Domain, GPL+, GPLv2+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: babel-greek.doc.tar.xz
19Source1: babel-greek.source.tar.xz
20Source2: babel-greek.tar.xz
21Source3: betababel.doc.tar.xz
22Source4: betababel.tar.xz
23Source5: bgreek.doc.tar.xz
24Source6: bgreek.tar.xz
25Source7: cbfonts.doc.tar.xz
26Source8: cbfonts.tar.xz
27Source9: cbfonts-fd.doc.tar.xz
28Source10: cbfonts-fd.source.tar.xz
29Source11: cbfonts-fd.tar.xz
30Source12: gfsbaskerville.doc.tar.xz
31Source13: gfsbaskerville.tar.xz
32Source14: gfsporson.doc.tar.xz
33Source15: gfsporson.tar.xz
34Source16: greek-fontenc.doc.tar.xz
35Source17: greek-fontenc.tar.xz
36Source18: greek-inputenc.doc.tar.xz
37Source19: greek-inputenc.tar.xz
38Source20: greekdates.doc.tar.xz
39Source21: greekdates.source.tar.xz
40Source22: greekdates.tar.xz
41Source23: greektex.doc.tar.xz
42Source24: greektex.tar.xz
43Source25: hyphen-greek.doc.tar.xz
44Source26: hyphen-greek.tar.xz
45Source27: hyphen-ancientgreek.tar.xz
46Source28: ibycus-babel.doc.tar.xz
47Source29: ibycus-babel.source.tar.xz
48Source30: ibycus-babel.tar.xz
49Source31: ibygrk.doc.tar.xz
50Source32: ibygrk.tar.xz
51Source33: kerkis.doc.tar.xz
52Source34: kerkis.tar.xz
53Source35: levy.doc.tar.xz
54Source36: levy.tar.xz
55Source37: lgreek.doc.tar.xz
56Source38: lgreek.tar.xz
57Source39: mkgrkindex.doc.tar.xz
58Source40: mkgrkindex.tar.xz
59Source41: teubner.doc.tar.xz
60Source42: teubner.source.tar.xz
61Source43: teubner.tar.xz
62Source44: xgreek.doc.tar.xz
63Source45: xgreek.source.tar.xz
64Source46: xgreek.tar.xz
65Source47: yannisgr.doc.tar.xz
66Source48: yannisgr.tar.xz
67
68Requires: texlive = %{version}
69Requires: texlive-collection-basic = %{version}
70
71Requires(post):         texlive = %{version}
72Requires(postun):       texlive = %{version}
73
74BuildArch:      noarch
75Buildroot:      %{_tmppath}/%{name}-%{version}-root
76
77Vendor:         Project Vine
78Distribution:   Vine Linux
79Packager:       munepi
80
81%description
82The TeX Live software distribution offers a complete TeX system for a
83variety of Unix, Macintosh, Windows and other platforms. It
84encompasses programs for editing, typesetting, previewing and printing
85of TeX documents in many different languages, and a large collection
86of TeX macros and font libraries.
87
88The distribution includes extensive general documentation about TeX,
89as well as the documentation for the included software packages.
90
91This package is a collection of Greek:
92Support for Greek.
93
94This package contains the following CTAN packages:
95babel-greek: Babel support for documents written in Greek.
96betababel: Insert ancient greek text coded in Beta Code.
97bgreek: Using Beccari's fonts in betacode for classical Greek.
98cbfonts: Complete set of Greek fonts.
99cbfonts-fd: LaTeX font description files for the CB Greek fonts.
100gfsbaskerville: A Greek font, from one such by Baskerville.
101gfsporson: A Greek font, originally from Porson.
102greek-fontenc: LICR macros and encoding definition files for Greek.
103greek-inputenc: Greek encoding support for inputenc.
104greekdates: Provides ancient Greek day and month names, dates, etc.
105greektex: Fonts for typesetting Greek/English documents.
106hyphen-greek: Modern Greek hyphenation patterns.
107hyphen-ancientgreek: Ancient Greek hyphenation patterns.
108ibycus-babel: Use the Ibycus 4 Greek font with Babel
109ibygrk: Fonts and macros to typeset ancient Greek.
110kerkis: Kerkis (Greek) font family.
111levy: Fonts for typesetting classical greek.
112lgreek: LaTeX macros for using Silvio Levy's Greek fonts.
113mkgrkindex: Makeindex working with Greek.
114teubner: Philological typesetting of classical Greek.
115xgreek: XeLaTeX package for typesetting Greek language documents (beta release).
116yannisgr: Greek fonts by Yannis Haralambous.
117
118%description -l ja
119TeX Live ソフトウェアディストリビューションは、
120さまざまな Unix, Macintosh, Windows、および
121他のプラットホームに対して完全な TeX システムを提供します。
122多くの異なった言語を含む TeX ドキュメントの
123編集、組版、閲覧、印刷するためのプログラム、
124そして、TeX マクロやフォントライブラリの大きなコレクションを
125同梱しています。
126
127このディストリビューションは
128同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
129TeX に関するたくさんの一般的なドキュメントを含んでいます。
130
131このパッケージは以下のようなパッケージ集です。
132Greek:
133Support for Greek.
134
135このパッケージは以下の CTAN パッケージを含んでいます:
136babel-greek: Babel support for documents written in Greek.
137betababel: Insert ancient greek text coded in Beta Code.
138bgreek: Using Beccari's fonts in betacode for classical Greek.
139cbfonts: Complete set of Greek fonts.
140cbfonts-fd: LaTeX font description files for the CB Greek fonts.
141gfsbaskerville: A Greek font, from one such by Baskerville.
142gfsporson: A Greek font, originally from Porson.
143greek-fontenc: LICR macros and encoding definition files for Greek.
144greek-inputenc: Greek encoding support for inputenc.
145greekdates: Provides ancient Greek day and month names, dates, etc.
146greektex: Fonts for typesetting Greek/English documents.
147hyphen-greek: Modern Greek hyphenation patterns.
148hyphen-ancientgreek: Ancient Greek hyphenation patterns.
149ibycus-babel: Use the Ibycus 4 Greek font with Babel
150ibygrk: Fonts and macros to typeset ancient Greek.
151kerkis: Kerkis (Greek) font family.
152levy: Fonts for typesetting classical greek.
153lgreek: LaTeX macros for using Silvio Levy's Greek fonts.
154mkgrkindex: Makeindex working with Greek.
155teubner: Philological typesetting of classical Greek.
156xgreek: XeLaTeX package for typesetting Greek language documents (beta release).
157yannisgr: Greek fonts by Yannis Haralambous.
158
159%package doc
160Summary: TeX Live: Documentation files of %{name}
161Group: Applications/Publishing
162Requires: %{name} = %{version}-%{release}
163
164%description doc
165This package contains documentation files of %{name}.
166
167%prep
168%setup -c -n %{name}-%{version}
169%__tar -xvf %{SOURCE1}
170%__tar -xvf %{SOURCE2}
171%__tar -xvf %{SOURCE3}
172%__tar -xvf %{SOURCE4}
173%__tar -xvf %{SOURCE5}
174%__tar -xvf %{SOURCE6}
175%__tar -xvf %{SOURCE7}
176%__tar -xvf %{SOURCE8}
177%__tar -xvf %{SOURCE9}
178%__tar -xvf %{SOURCE10}
179%__tar -xvf %{SOURCE11}
180%__tar -xvf %{SOURCE12}
181%__tar -xvf %{SOURCE13}
182%__tar -xvf %{SOURCE14}
183%__tar -xvf %{SOURCE15}
184%__tar -xvf %{SOURCE16}
185%__tar -xvf %{SOURCE17}
186%__tar -xvf %{SOURCE18}
187%__tar -xvf %{SOURCE19}
188%__tar -xvf %{SOURCE20}
189%__tar -xvf %{SOURCE21}
190%__tar -xvf %{SOURCE22}
191%__tar -xvf %{SOURCE23}
192%__tar -xvf %{SOURCE24}
193%__tar -xvf %{SOURCE25}
194%__tar -xvf %{SOURCE26}
195%__tar -xvf %{SOURCE27}
196%__tar -xvf %{SOURCE28}
197%__tar -xvf %{SOURCE29}
198%__tar -xvf %{SOURCE30}
199%__tar -xvf %{SOURCE31}
200%__tar -xvf %{SOURCE32}
201%__tar -xvf %{SOURCE33}
202%__tar -xvf %{SOURCE34}
203%__tar -xvf %{SOURCE35}
204%__tar -xvf %{SOURCE36}
205%__tar -xvf %{SOURCE37}
206%__tar -xvf %{SOURCE38}
207%__tar -xvf %{SOURCE39}
208%__tar -xvf %{SOURCE40}
209%__tar -xvf %{SOURCE41}
210%__tar -xvf %{SOURCE42}
211%__tar -xvf %{SOURCE43}
212%__tar -xvf %{SOURCE44}
213%__tar -xvf %{SOURCE45}
214%__tar -xvf %{SOURCE46}
215%__tar -xvf %{SOURCE47}
216%__tar -xvf %{SOURCE48}
217
218%build
219
220%install
221[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
222
223%__mkdir_p %{buildroot}%{_datadir}
224
225## move texmf-dist to /usr/share/texmf-dist
226[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
227
228## move texmf to /usr/share/texmf
229[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
230
231## move tlpkg to /usr/share/tlpkg
232[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
233
234## move all non-arch binaries to /usr/bin
235[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
236
237## move others into /usr/share/texmf-dist
238%__mkdir_p %{buildroot}%{_tl_texmfdist}
239%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
240%__rm -rf * ||:
241
242
243## remove duplicated files between texlive and texlive-collection-*
244## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
245## remove unpacked files
246x=(
247scripts/fontools/autoinst
248scripts/texlive/tlmgr.pl
249scripts/texlive/updmap.pl
250texconfig/tcfmgr
251texconfig/tcfmgr.map
252web2c/fmtutil.cnf
253web2c/mktex.opt
254web2c/mktexdir
255web2c/mktexdir.opt
256web2c/mktexnam
257web2c/mktexnam.opt
258web2c/mktexupd
259web2c/texmf.cnf
260web2c/updmap.cfg
261web2c/updmap-hdr.cfg
262doc/chktex/ChkTeX.pdf
263install-tl
264)
265if [ -d %{buildroot}%{_tl_texmfdist} ]; then
266pushd %{buildroot}%{_tl_texmfdist}
267%__rm -f ${x[@]} ||:
268popd
269fi
270
271## Files list
272find %{buildroot} -type f -or -type l | \
273    %__sed -e "s|%{buildroot}||g" > filelist.full
274
275find %{buildroot}%{_tl_texmfdist} -type d | \
276    %__sed -e "s|^%{buildroot}|%dir |" \
277           -e "s|$|/|"             >> filelist.full
278
279## subpackages
280grep "/texmf-dist/doc/" filelist.full > filelist.doc
281cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
282%__mv -f filelist.tmp filelist.full
283
284%clean
285%__rm -rf %{buildroot}
286
287%post
288%_tl_touch_run texhash
289%_tl_touch_run mtxrun
290
291[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
292
293    %_tl_enable_map MixedMap cbgreek-full.map
294    %_tl_enable_map Map gfsbaskerville.map
295    %_tl_enable_map Map gfsporson.map
296    %_tl_enable_map MixedMap iby.map
297    %_tl_enable_map Map kerkis.map
298
299%_tl_touch_run fmtutil
300
301exit 0
302
303
304%postun
305if [ "$1" = 0 ]; then
306    %_tl_touch_run texhash
307
308    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
309
310    %_tl_disable_map cbgreek-full.map
311    %_tl_disable_map gfsbaskerville.map
312    %_tl_disable_map gfsporson.map
313    %_tl_disable_map iby.map
314    %_tl_disable_map kerkis.map
315
316fi
317
318exit 0
319
320%posttrans
321%{_tl_exec_texhash}
322%{_tl_exec_mtxrun}
323%{_tl_exec_updmap}
324%{_tl_exec_fmtutil}
325exit 0
326
327
328%files -f filelist.full
329%defattr(-,root,root,-)
330
331%files -f filelist.doc doc
332%defattr(-,root,root,-)
333
334%changelog
335* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
336- TLNET 20131218
337
338* Fri Nov  1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
339- TLNET 20131101
340
341* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
342- TLNET 20131002
343
344* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
345- TLNET 20130919
346
347* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
348- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.