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

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[8476]2## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
[1974]3## tlpdb2rpmspec collection-langgreek
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[1533]9Summary: TeX Live: Greek
10Summary(ja): TeX Live: Greek
11Name: texlive-collection-langgreek
[8476]12Version: 2014
13Release: 1%{?_dist_release}
[7770]14License: LPPL 1.3, LPPL, Freely redistributable without restriction, Public Domain, GPL+, GPLv2+
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]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
[7810]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
[7770]67
[1533]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:
[7770]92Support for Greek.
[1533]93
94This package contains the following CTAN packages:
[7770]95babel-greek: Babel support for documents written in Greek.
[1533]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.
[7810]99cbfonts-fd: LaTeX font description files for the CB Greek fonts.
[1533]100gfsbaskerville: A Greek font, from one such by Baskerville.
101gfsporson: A Greek font, originally from Porson.
[7810]102greek-fontenc: LICR macros and encoding definition files for Greek.
[1533]103greek-inputenc: Greek encoding support for inputenc.
104greekdates: Provides ancient Greek day and month names, dates, etc.
105greektex: Fonts for typesetting Greek/English documents.
[7770]106hyphen-greek: Modern Greek hyphenation patterns.
107hyphen-ancientgreek: Ancient Greek hyphenation patterns.
[1533]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.
[5207]112lgreek: LaTeX macros for using Silvio Levy's Greek fonts.
[1533]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:
[7770]133Support for Greek.
[1533]134
135このパッケージは以下の CTAN パッケージを含んでいます:
[7770]136babel-greek: Babel support for documents written in Greek.
[1533]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.
[7810]140cbfonts-fd: LaTeX font description files for the CB Greek fonts.
[1533]141gfsbaskerville: A Greek font, from one such by Baskerville.
142gfsporson: A Greek font, originally from Porson.
[7810]143greek-fontenc: LICR macros and encoding definition files for Greek.
[1533]144greek-inputenc: Greek encoding support for inputenc.
145greekdates: Provides ancient Greek day and month names, dates, etc.
146greektex: Fonts for typesetting Greek/English documents.
[7770]147hyphen-greek: Modern Greek hyphenation patterns.
148hyphen-ancientgreek: Ancient Greek hyphenation patterns.
[1533]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.
[5207]153lgreek: LaTeX macros for using Silvio Levy's Greek fonts.
[1533]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
[7770]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}
[7810]216%__tar -xvf %{SOURCE48}
[1533]217
218%build
219
220%install
221[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
222
[7770]223%__mkdir_p %{buildroot}%{_datadir}
[1533]224
[7770]225## move texmf-dist to /usr/share/texmf-dist
226[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]227
[7770]228## move texmf to /usr/share/texmf
229[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]230
[7770]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=(
[8476]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
[7770]275install-tl
276)
277if [ -d %{buildroot}%{_tl_texmfdist} ]; then
278pushd %{buildroot}%{_tl_texmfdist}
279%__rm -f ${x[@]} ||:
[3944]280popd
[7770]281fi
282
[1533]283## Files list
284find %{buildroot} -type f -or -type l | \
285    %__sed -e "s|%{buildroot}||g" > filelist.full
286
[7770]287find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]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
[7770]300%_tl_touch_run texhash
301%_tl_touch_run mtxrun
[1533]302
[7770]303[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]304
[7770]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
[2505]310
[7770]311%_tl_touch_run fmtutil
[2505]312
[1533]313exit 0
314
315
316%postun
317if [ "$1" = 0 ]; then
[7770]318    %_tl_touch_run texhash
[1533]319
[7770]320    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]321
[7770]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
[1533]327
328fi
329
330exit 0
331
[7148]332%posttrans
[7770]333%{_tl_exec_texhash}
334%{_tl_exec_mtxrun}
335%{_tl_exec_updmap}
336%{_tl_exec_fmtutil}
[7148]337exit 0
338
339
[1533]340%files -f filelist.full
[5207]341%defattr(-,root,root,-)
[1533]342
343%files -f filelist.doc doc
[5207]344%defattr(-,root,root,-)
[1533]345
346%changelog
[8476]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.