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

Revision 9034, 9.9 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20141028

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-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: 2014
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/epstopdf/epstopdf.pl
248scripts/texlive/fmtutil.sh
249texconfig/tcfmgr
250web2c/texmf.cnf
251web2c/updmap-hdr.cfg
252web2c/updmap.cfg
253install-tl
254)
255if [ -d %{buildroot}%{_tl_texmfdist} ]; then
256pushd %{buildroot}%{_tl_texmfdist}
257%__rm -f ${x[@]} ||:
258popd
259fi
260
261## Files list
262find %{buildroot} -type f -or -type l | \
263    %__sed -e "s|%{buildroot}||g" > filelist.full
264
265find %{buildroot}%{_tl_texmfdist} -type d | \
266    %__sed -e "s|^%{buildroot}|%dir |" \
267           -e "s|$|/|"             >> filelist.full
268
269## subpackages
270grep "/texmf-dist/doc/" filelist.full > filelist.doc
271cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
272%__mv -f filelist.tmp filelist.full
273
274%clean
275%__rm -rf %{buildroot}
276
277%post
278%_tl_touch_run texhash
279%_tl_touch_run mtxrun
280
281[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
282
283    %_tl_enable_map MixedMap cbgreek-full.map
284    %_tl_enable_map Map gfsbaskerville.map
285    %_tl_enable_map Map gfsporson.map
286    %_tl_enable_map MixedMap iby.map
287    %_tl_enable_map Map kerkis.map
288
289%_tl_touch_run fmtutil
290
291exit 0
292
293
294%postun
295if [ "$1" = 0 ]; then
296    %_tl_touch_run texhash
297
298    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
299
300    %_tl_disable_map cbgreek-full.map
301    %_tl_disable_map gfsbaskerville.map
302    %_tl_disable_map gfsporson.map
303    %_tl_disable_map iby.map
304    %_tl_disable_map kerkis.map
305
306fi
307
308exit 0
309
310%posttrans
311%{_tl_exec_texhash}
312%{_tl_exec_mtxrun}
313%{_tl_exec_updmap}
314%{_tl_exec_fmtutil}
315exit 0
316
317
318%files -f filelist.full
319%defattr(-,root,root,-)
320
321%files -f filelist.doc doc
322%defattr(-,root,root,-)
323
324%changelog
325* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
326- synced tlnet to 20141028
327
328* Sun Jul  6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
329- synced tlnet to 20140706
330
331* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
332- synced tlnet to 20140524
Note: See TracBrowser for help on using the repository browser.