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

Revision 7855, 10.1 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-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: 3%{?_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/texlive/tlmgr.pl
248texconfig/tcfmgr
249texconfig/tcfmgr.map
250web2c/fmtutil.cnf
251web2c/mktex.opt
252web2c/mktexdir
253web2c/mktexdir.opt
254web2c/mktexnam
255web2c/mktexnam.opt
256web2c/mktexupd
257web2c/texmf.cnf
258web2c/updmap.cfg
259web2c/updmap-hdr.cfg
260doc/chktex/ChkTeX.pdf
261install-tl
262)
263if [ -d %{buildroot}%{_tl_texmfdist} ]; then
264pushd %{buildroot}%{_tl_texmfdist}
265%__rm -f ${x[@]} ||:
266popd
267fi
268
269## Files list
270find %{buildroot} -type f -or -type l | \
271    %__sed -e "s|%{buildroot}||g" > filelist.full
272
273find %{buildroot}%{_tl_texmfdist} -type d | \
274    %__sed -e "s|^%{buildroot}|%dir |" \
275           -e "s|$|/|"             >> filelist.full
276
277## subpackages
278grep "/texmf-dist/doc/" filelist.full > filelist.doc
279cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
280%__mv -f filelist.tmp filelist.full
281
282%clean
283%__rm -rf %{buildroot}
284
285%post
286%_tl_touch_run texhash
287%_tl_touch_run mtxrun
288
289[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
290
291    %_tl_enable_map MixedMap cbgreek-full.map
292    %_tl_enable_map Map gfsbaskerville.map
293    %_tl_enable_map Map gfsporson.map
294    %_tl_enable_map MixedMap iby.map
295    %_tl_enable_map Map kerkis.map
296
297%_tl_touch_run fmtutil
298
299exit 0
300
301
302%postun
303if [ "$1" = 0 ]; then
304    %_tl_touch_run texhash
305
306    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
307
308    %_tl_disable_map cbgreek-full.map
309    %_tl_disable_map gfsbaskerville.map
310    %_tl_disable_map gfsporson.map
311    %_tl_disable_map iby.map
312    %_tl_disable_map kerkis.map
313
314fi
315
316exit 0
317
318%posttrans
319%{_tl_exec_texhash}
320%{_tl_exec_mtxrun}
321%{_tl_exec_updmap}
322%{_tl_exec_fmtutil}
323exit 0
324
325
326%files -f filelist.full
327%defattr(-,root,root,-)
328
329%files -f filelist.doc doc
330%defattr(-,root,root,-)
331
332%changelog
333* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
334- TLNET 20131002
335
336* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
337- TLNET 20130919
338
339* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
340- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-langgreek
341- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.