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

Revision 11118, 13.0 KB checked in by munepi, 7 years ago (diff)

TeX Live 2017

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2017-2:
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: 2017
13Release: 2%{?_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.i386-darwin.tar.xz
30Source12: cslatex.powerpc-darwin.tar.xz
31Source13: cslatex.source.tar.xz
32Source14: cslatex.tar.xz
33Source15: csplain.i386-darwin.tar.xz
34Source16: csplain.powerpc-darwin.tar.xz
35Source17: csplain.tar.xz
36Source18: cstex.doc.tar.xz
37Source19: cstex.tar.xz
38Source20: hyphen-czech.tar.xz
39Source21: hyphen-slovak.tar.xz
40Source22: vlna.doc.tar.xz
41Source23: vlna.i386-darwin.tar.xz
42Source24: vlna.powerpc-darwin.tar.xz
43Source25: vlna.tar.xz
44Source26: lshort-czech.doc.tar.xz
45Source27: lshort-czech.tar.xz
46Source28: lshort-slovak.doc.tar.xz
47Source29: lshort-slovak.tar.xz
48Source30: texlive-cz.doc.tar.xz
49Source31: texlive-cz.tar.xz
50
51Requires: texlive = %{version}
52Requires: texlive-collection-basic = %{version}
53Requires: texlive-collection-latex = %{version}
54
55Requires(post):         texlive = %{version}
56Requires(postun):       texlive = %{version}
57
58BuildArch:      noarch
59Buildroot:      %{_tmppath}/%{name}-%{version}-root
60
61Vendor:         Project Vine
62Distribution:   Vine Linux
63Packager:       munepi
64
65%description
66The TeX Live software distribution offers a complete TeX system for a
67variety of Unix, Macintosh, Windows and other platforms. It
68encompasses programs for editing, typesetting, previewing and printing
69of TeX documents in many different languages, and a large collection
70of TeX macros and font libraries.
71
72The distribution includes extensive general documentation about TeX,
73as well as the documentation for the included software packages.
74
75This package is a collection of Czech/Slovak:
76Support for Czech/Slovak.
77
78This package contains the following CTAN packages:
79babel-czech: Babel support for Czech
80babel-slovak: Babel support for typesetting Slovak
81cnbwp: Typeset working papers of the Czech National Bank
82cs: Czech/Slovak-tuned Computer Modern fonts
83csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj)
84cslatex: LaTeX support for Czech/Slovak typesetting
85csplain: Plain TeX multilanguage support
86cstex: Support for Czech/Slovak languages
87hyphen-czech: Czech hyphenation patterns.
88hyphen-slovak: Slovak hyphenation patterns.
89vlna:
90lshort-czech: Czech translation of the "Short Introduction to LaTeX2e"
91lshort-slovak: Slovak introduction to LaTeX
92texlive-cz: TeX Live manual (Czech/Slovak)
93
94%description -l ja
95TeX Live ソフトウェアディストリビューションは、
96さまざまな Unix, Macintosh, Windows、および
97他のプラットホームに対して完全な TeX システムを提供します。
98多くの異なった言語を含む TeX ドキュメントの
99編集、組版、閲覧、印刷するためのプログラム、
100そして、TeX マクロやフォントライブラリの大きなコレクションを
101同梱しています。
102
103このディストリビューションは
104同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
105TeX に関するたくさんの一般的なドキュメントを含んでいます。
106
107このパッケージは以下のようなパッケージ集です。
108Czech/Slovak:
109Support for Czech/Slovak.
110
111このパッケージは以下の CTAN パッケージを含んでいます:
112babel-czech: Babel support for Czech
113babel-slovak: Babel support for typesetting Slovak
114cnbwp: Typeset working papers of the Czech National Bank
115cs: Czech/Slovak-tuned Computer Modern fonts
116csbulletin: LaTeX class for articles submitted to the CSTUG Bulletin (Zpravodaj)
117cslatex: LaTeX support for Czech/Slovak typesetting
118csplain: Plain TeX multilanguage support
119cstex: Support for Czech/Slovak languages
120hyphen-czech: Czech hyphenation patterns.
121hyphen-slovak: Slovak hyphenation patterns.
122vlna:
123lshort-czech: Czech translation of the "Short Introduction to LaTeX2e"
124lshort-slovak: Slovak introduction to LaTeX
125texlive-cz: TeX Live manual (Czech/Slovak)
126
127%package doc
128Summary: TeX Live: Documentation files of %{name}
129Group: Applications/Publishing
130Requires: %{name} = %{version}-%{release}
131
132%description doc
133This package contains documentation files of %{name}.
134
135%prep
136%setup -c -n %{name}-%{version}
137%__tar -xvf %{SOURCE1}
138%__tar -xvf %{SOURCE2}
139%__tar -xvf %{SOURCE3}
140%__tar -xvf %{SOURCE4}
141%__tar -xvf %{SOURCE5}
142%__tar -xvf %{SOURCE6}
143%__tar -xvf %{SOURCE7}
144%__tar -xvf %{SOURCE8}
145%__tar -xvf %{SOURCE9}
146%__tar -xvf %{SOURCE10}
147%__tar -xvf %{SOURCE11}
148%__tar -xvf %{SOURCE12}
149%__tar -xvf %{SOURCE13}
150%__tar -xvf %{SOURCE14}
151%__tar -xvf %{SOURCE15}
152%__tar -xvf %{SOURCE16}
153%__tar -xvf %{SOURCE17}
154%__tar -xvf %{SOURCE18}
155%__tar -xvf %{SOURCE19}
156%__tar -xvf %{SOURCE20}
157%__tar -xvf %{SOURCE21}
158%__tar -xvf %{SOURCE22}
159%__tar -xvf %{SOURCE23}
160%__tar -xvf %{SOURCE24}
161%__tar -xvf %{SOURCE25}
162%__tar -xvf %{SOURCE26}
163%__tar -xvf %{SOURCE27}
164%__tar -xvf %{SOURCE28}
165%__tar -xvf %{SOURCE29}
166%__tar -xvf %{SOURCE30}
167%__tar -xvf %{SOURCE31}
168
169%build
170
171%install
172[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
173
174%__mkdir_p %{buildroot}%{_datadir}
175
176## move texmf-dist to /usr/share/texmf-dist
177[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
178
179## move texmf to /usr/share/texmf
180[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
181
182## move tlpkg to /usr/share/tlpkg
183[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
184
185## move all non-arch binaries to /usr/bin
186[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
187
188## move others into /usr/share/texmf-dist
189%__mkdir_p %{buildroot}%{_tl_texmfdist}
190%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
191%__rm -rf * ||:
192
193
194## remove duplicated files between texlive and texlive-collection-*
195## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
196## remove unpacked files
197x=(
198dvipdfmx/dvipdfmx.cfg
199scripts/context/stubs/unix/mtxrun
200scripts/latexmk/latexmk.pl
201scripts/ptex2pdf/ptex2pdf.lua
202scripts/texlive/fmtutil.pl
203scripts/texlive/texconfig-dialog.sh
204scripts/texlive/texconfig-sys.sh
205scripts/texlive/texconfig.sh
206scripts/texlive/texlinks.sh
207scripts/texlive/tlmgr.pl
208scripts/texlive/updmap.pl
209texconfig/tcfmgr
210web2c/fmtutil.cnf
211web2c/mktex.opt
212web2c/mktexdir
213web2c/mktexdir.opt
214web2c/mktexnam
215web2c/mktexnam.opt
216web2c/mktexupd
217web2c/texmf.cnf
218web2c/updmap-hdr.cfg
219web2c/updmap.cfg
220install-tl
221#
222scripts/cjk-gs-integrate/cjk-gs-integrate.pl
223scripts/epspdf/epspdf.tlu
224scripts/epspdf/epspdftk.tcl
225scripts/glossaries/makeglossaries
226scripts/jfontmaps/kanji-config-updmap.pl
227scripts/jfontmaps/kanji-fontmap-creator.pl
228scripts/kotex-utils/jamo-normalize.pl
229scripts/kotex-utils/komkindex.pl
230scripts/crossrefware/ltx2crossrefxml.pl
231scripts/rubik/rubikrotation.pl
232scripts/musixtex/musixtex.lua
233scripts/pmxchords/pmxchords.lua
234scripts/ctanify/ctanify
235scripts/dtxgen/dtxgen
236scripts/findhyph/findhyph
237scripts/latexpand/latexpand
238scripts/ltxfileinfo/ltxfileinfo
239scripts/latexdiff/latexdiff-vc.pl
240scripts/latexdiff/latexdiff.pl
241scripts/texfot/texfot.pl
242scripts/fontools/autoinst
243scripts/luaotfload/luaotfload-tool.lua
244scripts/oberdiek/pdfatfi.pl
245fonts/map/glyphlist/glyphlist.txt ## texlive-collection-basic-2017-1vl7.noarch
246scripts/tex4ht/xhlatex.sh ## texlive-collection-plaingeneric-2017-1vl7.noarch
247scripts/latexindent/latexindent.pl ## texlive-collection-binextra-2017-1vl7.noarch
248scripts/texosquery/texosquery-jre5.sh ## texlive-collection-binextra-2017-1vl7.noarch
249scripts/texosquery/texosquery-jre8.sh ## texlive-collection-binextra-2017-1vl7.noarch
250scripts/texosquery/texosquery.sh ## texlive-collection-binextra-2017-1vl7.noarch
251)
252if [ -d %{buildroot}%{_tl_texmfdist} ]; then
253pushd %{buildroot}%{_tl_texmfdist}
254%__rm -f ${x[@]} ||:
255popd
256fi
257
258## Files list
259find %{buildroot} -type f -or -type l | \
260    %__sed -e "s|%{buildroot}||g" > filelist.full
261
262find %{buildroot}%{_tl_texmfdist} -type d | \
263    %__sed -e "s|^%{buildroot}|%dir |" \
264           -e "s|$|/|"             >> filelist.full
265
266## subpackages
267grep "/texmf-dist/doc/" filelist.full > filelist.doc
268cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
269%__mv -f filelist.tmp filelist.full
270
271%clean
272%__rm -rf %{buildroot}
273
274%post
275%_tl_touch_run texhash
276%_tl_touch_run mtxrun
277
278[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
279
280    %_tl_enable_map Map cs-charter.map
281    %_tl_enable_map Map csfonts.map
282
283%_tl_touch_run fmtutil
284
285exit 0
286
287
288%postun
289if [ "$1" = 0 ]; then
290    %_tl_touch_run texhash
291
292    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
293
294    %_tl_disable_map cs-charter.map
295    %_tl_disable_map csfonts.map
296
297fi
298
299exit 0
300
301%posttrans
302%{_tl_exec_texhash}
303%{_tl_exec_mtxrun}
304%{_tl_exec_updmap}
305%{_tl_exec_fmtutil}
306exit 0
307
308
309%files -f filelist.full
310%defattr(-,root,root,-)
311
312%files -f filelist.doc doc
313%defattr(-,root,root,-)
314
315%changelog
316* Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-2
317- synced tlnet to 20170616 (TeX Live 2017)
318
319* Thu Jun 08 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-1
320- synced tlnet to 20170607 (TeX Live 2017)
321
322* Tue Aug 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-5
323- synced tlnet to 20160823 (TeX Live 2016)
324
325* Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
326- synced tlnet to 20160607 (TeX Live 2016)
327
328* Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
329- synced tlnet to 20160514 (TeX Live 2016/pretest)
330
331* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
332- synced tlnet to 20160510 (TeX Live 2016/pretest)
333
334* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
335- TeX Live 2016/pretest
336- synced tlnet to 20160428 (TeX Live 2016/pretest)
337
338* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
339- remove duplicated files from texlive-collection-*
340- synced tlnet to 20160113 (TeX Live 2015)
341
342* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
343- TeX Live 2016/dev
344- synced tlnet to 20160110 (TeX Live 2016/dev)
345
346* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
347- TeX Live 2015/pretest
348- synced tlnet to 20150522 (TeX Live 2015/pretest)
349
350* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
351- TeX Live 2015/pretest
352- synced tlnet to 20150426 (TeX Live 2015/pretest)
353
354* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
355- synced tlnet to 20150401
356
357* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
358- synced tlnet to 20141028
359
360* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
361- synced tlnet to 20140706
362
363* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
364- upgraded to TeX Live 2014
365
366* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
367- synced tlnet to 20140406
368
369* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
370- synced tlnet to 20131218
371
372* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
373- synced tlnet to 20131101
374
375* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
376- synced tlnet to 20131002
377
378* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
379- synced tlnet to 20130919
380
381* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
382- upgraded to TeX Live 2013
383  - used tlnet archives
384  - synced tlnet to 20130823
385- added macros.texlive
386
387* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
388- updated to TeX Live 2012
389
390* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
391- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
392  - set external dependencies (texlive-collection-binextra,
393    texlive-collection-fontutils)
394
395* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
396- updated to TeX Live 2011
397- merged texlive-vtlpkg-2009-osx.patch from OSXWS
398- added %doc README (%files)
399
400* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
401- applied texlive-vtlpkg-2009-vine.patch
402  - remove arch dependent binaries
403- updated tlpdb2rpmspec.sh.in:
404  - improved tlpdb4a()
405  - make symlinks of core script utils (texlive-collection-binextra,
406    texlive-collection-context, texlive-collection-fontutils,
407    texlive-collection-langgreek, texlive-collection-langindic,
408    texlive-collection-latex, texlive-collection-latexextra,
409    texlive-collection-latexrecommended, texlive-collection-pictures,
410    texlive-collection-pstricks, texlive-collection-science)
411
412* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
413- updated tlpdb2rpmspec.sh.in:
414  - improved %post
415
416* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
417- updated tlpdb2rpmspec.sh.in:
418  - removed arch dependent binaries (texlive-collection-latexextra)
419  - improved updmap process in %post and %postun
420  - fixed perl path
421
422* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
423- initial build
Note: See TracBrowser for help on using the repository browser.