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

Revision 9529, 10.1 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

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