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

Revision 10360, 12.8 KB checked in by munepi, 8 years ago (diff)

updated to TeX Live 2016

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2016-4:
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: 2016
13Release: 4%{?_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 multilanguage support
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 multilanguage support
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=(
186dvipdfmx/dvipdfmx.cfg
187scripts/context/stubs/unix/mtxrun
188scripts/latexmk/latexmk.pl
189scripts/ptex2pdf/ptex2pdf.lua
190scripts/texlive/fmtutil.pl
191scripts/texlive/texconfig-dialog.sh
192scripts/texlive/texconfig-sys.sh
193scripts/texlive/texconfig.sh
194scripts/texlive/texlinks.sh
195scripts/texlive/tlmgr.pl
196scripts/texlive/updmap.pl
197texconfig/tcfmgr
198web2c/fmtutil.cnf
199web2c/mktex.opt
200web2c/mktexdir
201web2c/mktexdir.opt
202web2c/mktexnam
203web2c/mktexnam.opt
204web2c/mktexupd
205web2c/texmf.cnf
206web2c/updmap-hdr.cfg
207web2c/updmap.cfg
208install-tl
209#
210scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
211scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
212scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
213scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
214scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
215scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
216scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
217scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
218scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
219scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
220scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
221scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
222scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
223scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
224scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
225scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
226scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
227scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
228scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
229scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
230scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
231scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
232)
233if [ -d %{buildroot}%{_tl_texmfdist} ]; then
234pushd %{buildroot}%{_tl_texmfdist}
235%__rm -f ${x[@]} ||:
236popd
237fi
238
239## Files list
240find %{buildroot} -type f -or -type l | \
241    %__sed -e "s|%{buildroot}||g" > filelist.full
242
243find %{buildroot}%{_tl_texmfdist} -type d | \
244    %__sed -e "s|^%{buildroot}|%dir |" \
245           -e "s|$|/|"             >> filelist.full
246
247## subpackages
248grep "/texmf-dist/doc/" filelist.full > filelist.doc
249cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
250%__mv -f filelist.tmp filelist.full
251
252%clean
253%__rm -rf %{buildroot}
254
255%post
256%_tl_touch_run texhash
257%_tl_touch_run mtxrun
258
259[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
260
261    %_tl_enable_map Map cs-charter.map
262    %_tl_enable_map Map csfonts.map
263
264%_tl_touch_run fmtutil
265
266exit 0
267
268
269%postun
270if [ "$1" = 0 ]; then
271    %_tl_touch_run texhash
272
273    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
274
275    %_tl_disable_map cs-charter.map
276    %_tl_disable_map csfonts.map
277
278fi
279
280exit 0
281
282%posttrans
283%{_tl_exec_texhash}
284%{_tl_exec_mtxrun}
285%{_tl_exec_updmap}
286%{_tl_exec_fmtutil}
287exit 0
288
289
290%files -f filelist.full
291%defattr(-,root,root,-)
292
293%files -f filelist.doc doc
294%defattr(-,root,root,-)
295
296%changelog
297* Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
298- synced tlnet to 20160607 (TeX Live 2016)
299
300* Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
301- synced tlnet to 20160514 (TeX Live 2016/pretest)
302
303* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
304- synced tlnet to 20160510 (TeX Live 2016/pretest)
305
306* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
307- TeX Live 2016/pretest
308- synced tlnet to 20160428 (TeX Live 2016/pretest)
309
310* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
311- remove duplicated files from texlive-collection-*
312- synced tlnet to 20160113 (TeX Live 2015)
313
314* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
315- TeX Live 2016/dev
316- synced tlnet to 20160110 (TeX Live 2016/dev)
317
318* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
319- TeX Live 2015/pretest
320- synced tlnet to 20150522 (TeX Live 2015/pretest)
321
322* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
323- TeX Live 2015/pretest
324- synced tlnet to 20150426 (TeX Live 2015/pretest)
325
326* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
327- synced tlnet to 20150401
328
329* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
330- synced tlnet to 20141028
331
332* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
333- synced tlnet to 20140706
334
335* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
336- upgraded to TeX Live 2014
337
338* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
339- synced tlnet to 20140406
340
341* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
342- synced tlnet to 20131218
343
344* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
345- synced tlnet to 20131101
346
347* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
348- synced tlnet to 20131002
349
350* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
351- synced tlnet to 20130919
352
353* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
354- upgraded to TeX Live 2013
355  - used tlnet archives
356  - synced tlnet to 20130823
357- added macros.texlive
358
359* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
360- updated to TeX Live 2012
361
362* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
363- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
364  - set external dependencies (texlive-collection-binextra,
365    texlive-collection-fontutils)
366
367* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
368- updated to TeX Live 2011
369- merged texlive-vtlpkg-2009-osx.patch from OSXWS
370- added %doc README (%files)
371
372* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
373- applied texlive-vtlpkg-2009-vine.patch
374  - remove arch dependent binaries
375- updated tlpdb2rpmspec.sh.in:
376  - improved tlpdb4a()
377  - make symlinks of core script utils (texlive-collection-binextra,
378    texlive-collection-context, texlive-collection-fontutils,
379    texlive-collection-langgreek, texlive-collection-langindic,
380    texlive-collection-latex, texlive-collection-latexextra,
381    texlive-collection-latexrecommended, texlive-collection-pictures,
382    texlive-collection-pstricks, texlive-collection-science)
383
384* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
385- updated tlpdb2rpmspec.sh.in:
386  - improved %post
387
388* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
389- updated tlpdb2rpmspec.sh.in:
390  - removed arch dependent binaries (texlive-collection-latexextra)
391  - improved updmap process in %post and %postun
392  - fixed perl path
393
394* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
395- initial build
Note: See TracBrowser for help on using the repository browser.