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

Revision 8476, 8.0 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-langczechslovak
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: Czech/Slovak
10Summary(ja): TeX Live: Czech/Slovak
11Name: texlive-collection-langczechslovak
12Version: 2014
13Release: 1%{?_dist_release}
14License: LPPL 1.3, LPPL, GPL+, Freely redistributable without restriction
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: babel-czech.doc.tar.xz
19Source1: babel-czech.source.tar.xz
20Source2: babel-czech.tar.xz
21Source3: babel-slovak.doc.tar.xz
22Source4: babel-slovak.source.tar.xz
23Source5: babel-slovak.tar.xz
24Source6: cnbwp.doc.tar.xz
25Source7: cnbwp.tar.xz
26Source8: cs.tar.xz
27Source9: csbulletin.doc.tar.xz
28Source10: csbulletin.tar.xz
29Source11: cslatex.source.tar.xz
30Source12: cslatex.tar.xz
31Source13: csplain.tar.xz
32Source14: cstex.doc.tar.xz
33Source15: cstex.tar.xz
34Source16: hyphen-czech.tar.xz
35Source17: hyphen-slovak.tar.xz
36Source18: vlna.doc.tar.xz
37Source19: vlna.tar.xz
38Source20: lshort-czech.doc.tar.xz
39Source21: lshort-czech.tar.xz
40Source22: lshort-slovak.doc.tar.xz
41Source23: lshort-slovak.tar.xz
42Source24: texlive-cz.doc.tar.xz
43Source25: texlive-cz.tar.xz
44
45Requires: texlive = %{version}
46Requires: texlive-collection-basic = %{version}
47Requires: texlive-collection-latex = %{version}
48
49Requires(post):         texlive = %{version}
50Requires(postun):       texlive = %{version}
51
52BuildArch:      noarch
53Buildroot:      %{_tmppath}/%{name}-%{version}-root
54
55Vendor:         Project Vine
56Distribution:   Vine Linux
57Packager:       munepi
58
59%description
60The TeX Live software distribution offers a complete TeX system for a
61variety of Unix, Macintosh, Windows and other platforms. It
62encompasses programs for editing, typesetting, previewing and printing
63of TeX documents in many different languages, and a large collection
64of TeX macros and font libraries.
65
66The distribution includes extensive general documentation about TeX,
67as well as the documentation for the included software packages.
68
69This package is a collection of Czech/Slovak:
70Support for Czech/Slovak.
71
72This package contains the following CTAN packages:
73babel-czech: Babel support for Czech.
74babel-slovak: Babel support for typesetting Slovak.
75cnbwp: Typeset working papers of the Czech National Bank.
76cs: Czech/Slovak-tuned Computer Modern fonts.
77csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj).
78cslatex: LaTeX support for Czech/Slovak typesetting.
79csplain: Plain TeX support for Czech/Slovak typesetting.
80cstex: Support for Czech/Slovak languages.
81hyphen-czech: Czech hyphenation patterns.
82hyphen-slovak: Slovak hyphenation patterns.
83vlna:
84lshort-czech: Czech translation of the "Short Introduction to LaTeX2e".
85lshort-slovak: Slovak introduction to LaTeX.
86texlive-cz: TeX Live manual (Czech/Slovak)
87
88%description -l ja
89TeX Live ソフトウェアディストリビューションは、
90さまざまな Unix, Macintosh, Windows、および
91他のプラットホームに対して完全な TeX システムを提供します。
92多くの異なった言語を含む TeX ドキュメントの
93編集、組版、閲覧、印刷するためのプログラム、
94そして、TeX マクロやフォントライブラリの大きなコレクションを
95同梱しています。
96
97このディストリビューションは
98同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
99TeX に関するたくさんの一般的なドキュメントを含んでいます。
100
101このパッケージは以下のようなパッケージ集です。
102Czech/Slovak:
103Support for Czech/Slovak.
104
105このパッケージは以下の CTAN パッケージを含んでいます:
106babel-czech: Babel support for Czech.
107babel-slovak: Babel support for typesetting Slovak.
108cnbwp: Typeset working papers of the Czech National Bank.
109cs: Czech/Slovak-tuned Computer Modern fonts.
110csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj).
111cslatex: LaTeX support for Czech/Slovak typesetting.
112csplain: Plain TeX support for Czech/Slovak typesetting.
113cstex: Support for Czech/Slovak languages.
114hyphen-czech: Czech hyphenation patterns.
115hyphen-slovak: Slovak hyphenation patterns.
116vlna:
117lshort-czech: Czech translation of the "Short Introduction to LaTeX2e".
118lshort-slovak: Slovak introduction to LaTeX.
119texlive-cz: TeX Live manual (Czech/Slovak)
120
121%package doc
122Summary: TeX Live: Documentation files of %{name}
123Group: Applications/Publishing
124Requires: %{name} = %{version}-%{release}
125
126%description doc
127This package contains documentation files of %{name}.
128
129%prep
130%setup -c -n %{name}-%{version}
131%__tar -xvf %{SOURCE1}
132%__tar -xvf %{SOURCE2}
133%__tar -xvf %{SOURCE3}
134%__tar -xvf %{SOURCE4}
135%__tar -xvf %{SOURCE5}
136%__tar -xvf %{SOURCE6}
137%__tar -xvf %{SOURCE7}
138%__tar -xvf %{SOURCE8}
139%__tar -xvf %{SOURCE9}
140%__tar -xvf %{SOURCE10}
141%__tar -xvf %{SOURCE11}
142%__tar -xvf %{SOURCE12}
143%__tar -xvf %{SOURCE13}
144%__tar -xvf %{SOURCE14}
145%__tar -xvf %{SOURCE15}
146%__tar -xvf %{SOURCE16}
147%__tar -xvf %{SOURCE17}
148%__tar -xvf %{SOURCE18}
149%__tar -xvf %{SOURCE19}
150%__tar -xvf %{SOURCE20}
151%__tar -xvf %{SOURCE21}
152%__tar -xvf %{SOURCE22}
153%__tar -xvf %{SOURCE23}
154%__tar -xvf %{SOURCE24}
155%__tar -xvf %{SOURCE25}
156
157%build
158
159%install
160[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
161
162%__mkdir_p %{buildroot}%{_datadir}
163
164## move texmf-dist to /usr/share/texmf-dist
165[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
166
167## move texmf to /usr/share/texmf
168[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
169
170## move tlpkg to /usr/share/tlpkg
171[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
172
173## move all non-arch binaries to /usr/bin
174[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
175
176## move others into /usr/share/texmf-dist
177%__mkdir_p %{buildroot}%{_tl_texmfdist}
178%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
179%__rm -rf * ||:
180
181
182## remove duplicated files between texlive and texlive-collection-*
183## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
184## remove unpacked files
185x=(
186# scripts/texlive/tlmgr.pl
187# scripts/texlive/updmap.pl
188# scripts/fontools/autoinst
189# scripts/glossaries/makeglossaries
190# scripts/m-tx/m-tx.lua
191# scripts/musixtex/musixtex.lua
192# scripts/pmx/pmx2pdf.lua
193# scripts/latexmk/latexmk.pl
194# scripts/jfontmaps/kanji-config-updmap.pl
195# scripts/jfontmaps/kanji-fontmap-creator.pl
196# scripts/latexpand/latexpand
197# scripts/epstopdf/epstopdf.pl
198# scripts/convbkmk/convbkmk.rb
199# scripts/jfontmaps/kanji-config-updmap-sys.sh
200# scripts/luaotfload/luaotfload-tool.lua
201# texconfig/tcfmgr
202# texconfig/tcfmgr.map
203# web2c/fmtutil.cnf
204# web2c/mktex.opt
205# web2c/mktexdir
206# web2c/mktexdir.opt
207# web2c/mktexnam
208# web2c/mktexnam.opt
209# web2c/mktexupd
210# web2c/texmf.cnf
211# web2c/updmap.cfg
212# web2c/updmap-hdr.cfg
213# doc/chktex/ChkTeX.pdf
214install-tl
215)
216if [ -d %{buildroot}%{_tl_texmfdist} ]; then
217pushd %{buildroot}%{_tl_texmfdist}
218%__rm -f ${x[@]} ||:
219popd
220fi
221
222## Files list
223find %{buildroot} -type f -or -type l | \
224    %__sed -e "s|%{buildroot}||g" > filelist.full
225
226find %{buildroot}%{_tl_texmfdist} -type d | \
227    %__sed -e "s|^%{buildroot}|%dir |" \
228           -e "s|$|/|"             >> filelist.full
229
230## subpackages
231grep "/texmf-dist/doc/" filelist.full > filelist.doc
232cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
233%__mv -f filelist.tmp filelist.full
234
235%clean
236%__rm -rf %{buildroot}
237
238%post
239%_tl_touch_run texhash
240%_tl_touch_run mtxrun
241
242[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
243
244    %_tl_enable_map Map cs-charter.map
245    %_tl_enable_map Map csfonts.map
246
247%_tl_touch_run fmtutil
248
249exit 0
250
251
252%postun
253if [ "$1" = 0 ]; then
254    %_tl_touch_run texhash
255
256    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
257
258    %_tl_disable_map cs-charter.map
259    %_tl_disable_map csfonts.map
260
261fi
262
263exit 0
264
265%posttrans
266%{_tl_exec_texhash}
267%{_tl_exec_mtxrun}
268%{_tl_exec_updmap}
269%{_tl_exec_fmtutil}
270exit 0
271
272
273%files -f filelist.full
274%defattr(-,root,root,-)
275
276%files -f filelist.doc doc
277%defattr(-,root,root,-)
278
279%changelog
280* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
281- TLNET 20140524
Note: See TracBrowser for help on using the repository browser.