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

Revision 8476, 10.4 KB checked in by munepi, 10 years ago (diff)

TeX Live 2014

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
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: 2014
13Release: 1%{?_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=(
247# scripts/texlive/tlmgr.pl
248# scripts/texlive/updmap.pl
249# scripts/fontools/autoinst
250# scripts/glossaries/makeglossaries
251# scripts/m-tx/m-tx.lua
252# scripts/musixtex/musixtex.lua
253# scripts/pmx/pmx2pdf.lua
254# scripts/latexmk/latexmk.pl
255# scripts/jfontmaps/kanji-config-updmap.pl
256# scripts/jfontmaps/kanji-fontmap-creator.pl
257# scripts/latexpand/latexpand
258# scripts/epstopdf/epstopdf.pl
259# scripts/convbkmk/convbkmk.rb
260# scripts/jfontmaps/kanji-config-updmap-sys.sh
261# scripts/luaotfload/luaotfload-tool.lua
262# texconfig/tcfmgr
263# texconfig/tcfmgr.map
264# web2c/fmtutil.cnf
265# web2c/mktex.opt
266# web2c/mktexdir
267# web2c/mktexdir.opt
268# web2c/mktexnam
269# web2c/mktexnam.opt
270# web2c/mktexupd
271# web2c/texmf.cnf
272# web2c/updmap.cfg
273# web2c/updmap-hdr.cfg
274# doc/chktex/ChkTeX.pdf
275install-tl
276)
277if [ -d %{buildroot}%{_tl_texmfdist} ]; then
278pushd %{buildroot}%{_tl_texmfdist}
279%__rm -f ${x[@]} ||:
280popd
281fi
282
283## Files list
284find %{buildroot} -type f -or -type l | \
285    %__sed -e "s|%{buildroot}||g" > filelist.full
286
287find %{buildroot}%{_tl_texmfdist} -type d | \
288    %__sed -e "s|^%{buildroot}|%dir |" \
289           -e "s|$|/|"             >> filelist.full
290
291## subpackages
292grep "/texmf-dist/doc/" filelist.full > filelist.doc
293cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
294%__mv -f filelist.tmp filelist.full
295
296%clean
297%__rm -rf %{buildroot}
298
299%post
300%_tl_touch_run texhash
301%_tl_touch_run mtxrun
302
303[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
304
305    %_tl_enable_map MixedMap cbgreek-full.map
306    %_tl_enable_map Map gfsbaskerville.map
307    %_tl_enable_map Map gfsporson.map
308    %_tl_enable_map MixedMap iby.map
309    %_tl_enable_map Map kerkis.map
310
311%_tl_touch_run fmtutil
312
313exit 0
314
315
316%postun
317if [ "$1" = 0 ]; then
318    %_tl_touch_run texhash
319
320    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
321
322    %_tl_disable_map cbgreek-full.map
323    %_tl_disable_map gfsbaskerville.map
324    %_tl_disable_map gfsporson.map
325    %_tl_disable_map iby.map
326    %_tl_disable_map kerkis.map
327
328fi
329
330exit 0
331
332%posttrans
333%{_tl_exec_texhash}
334%{_tl_exec_mtxrun}
335%{_tl_exec_updmap}
336%{_tl_exec_fmtutil}
337exit 0
338
339
340%files -f filelist.full
341%defattr(-,root,root,-)
342
343%files -f filelist.doc doc
344%defattr(-,root,root,-)
345
346%changelog
347* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
348- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.