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

Revision 10360, 17.2 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-context
4
5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
9Summary: TeX Live: ConTeXt and packages
10Summary(ja): TeX Live: ConTeXt and packages
11Name: texlive-collection-context
12Version: 2016
13Release: 4%{?_dist_release}
14License: Freely redistributable without restriction, Public Domain, GPL+, GPLv3+, BSD, GPLv2+
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: context.doc.tar.xz
19Source1: context.tar.xz
20Source2: jmn.tar.xz
21Source3: context-account.doc.tar.xz
22Source4: context-account.tar.xz
23Source5: context-algorithmic.tar.xz
24Source6: context-animation.doc.tar.xz
25Source7: context-animation.tar.xz
26Source8: context-annotation.doc.tar.xz
27Source9: context-annotation.tar.xz
28Source10: context-bnf.doc.tar.xz
29Source11: context-bnf.tar.xz
30Source12: context-chromato.doc.tar.xz
31Source13: context-chromato.tar.xz
32Source14: context-construction-plan.doc.tar.xz
33Source15: context-construction-plan.tar.xz
34Source16: context-cyrillicnumbers.doc.tar.xz
35Source17: context-cyrillicnumbers.tar.xz
36Source18: context-degrade.doc.tar.xz
37Source19: context-degrade.tar.xz
38Source20: context-fancybreak.doc.tar.xz
39Source21: context-fancybreak.tar.xz
40Source22: context-filter.doc.tar.xz
41Source23: context-filter.tar.xz
42Source24: context-fixme.tar.xz
43Source25: context-french.doc.tar.xz
44Source26: context-french.tar.xz
45Source27: context-fullpage.doc.tar.xz
46Source28: context-fullpage.tar.xz
47Source29: context-games.doc.tar.xz
48Source30: context-games.tar.xz
49Source31: context-gantt.doc.tar.xz
50Source32: context-gantt.tar.xz
51Source33: context-gnuplot.doc.tar.xz
52Source34: context-gnuplot.tar.xz
53Source35: context-letter.doc.tar.xz
54Source36: context-letter.tar.xz
55Source37: context-lettrine.doc.tar.xz
56Source38: context-lettrine.tar.xz
57Source39: context-lilypond.doc.tar.xz
58Source40: context-lilypond.tar.xz
59Source41: context-mathsets.doc.tar.xz
60Source42: context-mathsets.tar.xz
61Source43: context-notes-zh-cn.doc.tar.xz
62Source44: context-notes-zh-cn.tar.xz
63Source45: context-rst.doc.tar.xz
64Source46: context-rst.tar.xz
65Source47: context-ruby.doc.tar.xz
66Source48: context-ruby.tar.xz
67Source49: context-simplefonts.doc.tar.xz
68Source50: context-simplefonts.tar.xz
69Source51: context-simpleslides.doc.tar.xz
70Source52: context-simpleslides.tar.xz
71Source53: context-title.doc.tar.xz
72Source54: context-title.tar.xz
73Source55: context-transliterator.doc.tar.xz
74Source56: context-transliterator.tar.xz
75Source57: context-typearea.doc.tar.xz
76Source58: context-typearea.tar.xz
77Source59: context-typescripts.doc.tar.xz
78Source60: context-typescripts.tar.xz
79Source61: context-vim.doc.tar.xz
80Source62: context-vim.tar.xz
81Source63: context-visualcounter.doc.tar.xz
82Source64: context-visualcounter.source.tar.xz
83Source65: context-visualcounter.tar.xz
84
85Requires: texlive = %{version}
86Requires: texlive-collection-basic = %{version}
87
88Requires(post):         texlive = %{version}
89Requires(postun):       texlive = %{version}
90
91BuildArch:      noarch
92Buildroot:      %{_tmppath}/%{name}-%{version}-root
93
94Vendor:         Project Vine
95Distribution:   Vine Linux
96Packager:       munepi
97
98%description
99The TeX Live software distribution offers a complete TeX system for a
100variety of Unix, Macintosh, Windows and other platforms. It
101encompasses programs for editing, typesetting, previewing and printing
102of TeX documents in many different languages, and a large collection
103of TeX macros and font libraries.
104
105The distribution includes extensive general documentation about TeX,
106as well as the documentation for the included software packages.
107
108This package is a collection of ConTeXt and packages:
109Hans Hagen's powerful ConTeXt system, http://pragma-ade.com.
110Also includes third-party ConTeXt packages.
111
112This package contains the following CTAN packages:
113context: The ConTeXt macro package
114jmn:
115context-account: A simple accounting package
116context-algorithmic: Algorithm handling in ConTeXt
117context-animation: Generate fieldstack based animation with ConTeXt
118context-annotation:
119context-bnf: A BNF module for ConTeXt
120context-chromato: ConTeXt macros for chromatograms
121context-construction-plan: Construction plans in ConTeXt
122context-cyrillicnumbers: Write numbers as cyrillic glyphs
123context-degrade: Degrading JPEG images in ConTeXt
124context-fancybreak: Overfull pages with ConTeXt
125context-filter: Run external programs on the contents of a start-stop environment
126context-fixme: Make editorial marks on a document
127context-french: Support for writing French in ConTeXt
128context-fullpage: Overfull pages with ConTeXt
129context-games:
130context-gantt: GANTT module for ConTeXt
131context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt
132context-letter: ConTeXt package for writing letters
133context-lettrine: A ConTeXt implementation of lettrines
134context-lilypond: Lilypond code in ConTeXt
135context-mathsets: Set notation in ConTeXt
136context-notes-zh-cn: Notes on using ConTeXt MkIV
137context-rst: Process reStructuredText with ConTeXt
138context-ruby: Ruby annotations in ConTeXt
139context-simplefonts: Simplified font usage for ConTeXt
140context-simpleslides:
141context-title:
142context-transliterator: Transliterate text from 'other' alphabets
143context-typearea: Something like Koma-Script typearea
144context-typescripts: Small modules to load various fonts for use in ConTeXt
145context-vim: Generate ConTeXt syntax highlighting code from vim
146context-visualcounter:
147
148%description -l ja
149TeX Live ソフトウェアディストリビューションは、
150さまざまな Unix, Macintosh, Windows、および
151他のプラットホームに対して完全な TeX システムを提供します。
152多くの異なった言語を含む TeX ドキュメントの
153編集、組版、閲覧、印刷するためのプログラム、
154そして、TeX マクロやフォントライブラリの大きなコレクションを
155同梱しています。
156
157このディストリビューションは
158同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
159TeX に関するたくさんの一般的なドキュメントを含んでいます。
160
161このパッケージは以下のようなパッケージ集です。
162ConTeXt and packages:
163Hans Hagen's powerful ConTeXt system, http://pragma-ade.com.
164Also includes third-party ConTeXt packages.
165
166このパッケージは以下の CTAN パッケージを含んでいます:
167context: The ConTeXt macro package
168jmn:
169context-account: A simple accounting package
170context-algorithmic: Algorithm handling in ConTeXt
171context-animation: Generate fieldstack based animation with ConTeXt
172context-annotation:
173context-bnf: A BNF module for ConTeXt
174context-chromato: ConTeXt macros for chromatograms
175context-construction-plan: Construction plans in ConTeXt
176context-cyrillicnumbers: Write numbers as cyrillic glyphs
177context-degrade: Degrading JPEG images in ConTeXt
178context-fancybreak: Overfull pages with ConTeXt
179context-filter: Run external programs on the contents of a start-stop environment
180context-fixme: Make editorial marks on a document
181context-french: Support for writing French in ConTeXt
182context-fullpage: Overfull pages with ConTeXt
183context-games:
184context-gantt: GANTT module for ConTeXt
185context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt
186context-letter: ConTeXt package for writing letters
187context-lettrine: A ConTeXt implementation of lettrines
188context-lilypond: Lilypond code in ConTeXt
189context-mathsets: Set notation in ConTeXt
190context-notes-zh-cn: Notes on using ConTeXt MkIV
191context-rst: Process reStructuredText with ConTeXt
192context-ruby: Ruby annotations in ConTeXt
193context-simplefonts: Simplified font usage for ConTeXt
194context-simpleslides:
195context-title:
196context-transliterator: Transliterate text from 'other' alphabets
197context-typearea: Something like Koma-Script typearea
198context-typescripts: Small modules to load various fonts for use in ConTeXt
199context-vim: Generate ConTeXt syntax highlighting code from vim
200context-visualcounter:
201
202%package doc
203Summary: TeX Live: Documentation files of %{name}
204Group: Applications/Publishing
205Requires: %{name} = %{version}-%{release}
206
207%description doc
208This package contains documentation files of %{name}.
209
210%prep
211%setup -c -n %{name}-%{version}
212%__tar -xvf %{SOURCE1}
213%__tar -xvf %{SOURCE2}
214%__tar -xvf %{SOURCE3}
215%__tar -xvf %{SOURCE4}
216%__tar -xvf %{SOURCE5}
217%__tar -xvf %{SOURCE6}
218%__tar -xvf %{SOURCE7}
219%__tar -xvf %{SOURCE8}
220%__tar -xvf %{SOURCE9}
221%__tar -xvf %{SOURCE10}
222%__tar -xvf %{SOURCE11}
223%__tar -xvf %{SOURCE12}
224%__tar -xvf %{SOURCE13}
225%__tar -xvf %{SOURCE14}
226%__tar -xvf %{SOURCE15}
227%__tar -xvf %{SOURCE16}
228%__tar -xvf %{SOURCE17}
229%__tar -xvf %{SOURCE18}
230%__tar -xvf %{SOURCE19}
231%__tar -xvf %{SOURCE20}
232%__tar -xvf %{SOURCE21}
233%__tar -xvf %{SOURCE22}
234%__tar -xvf %{SOURCE23}
235%__tar -xvf %{SOURCE24}
236%__tar -xvf %{SOURCE25}
237%__tar -xvf %{SOURCE26}
238%__tar -xvf %{SOURCE27}
239%__tar -xvf %{SOURCE28}
240%__tar -xvf %{SOURCE29}
241%__tar -xvf %{SOURCE30}
242%__tar -xvf %{SOURCE31}
243%__tar -xvf %{SOURCE32}
244%__tar -xvf %{SOURCE33}
245%__tar -xvf %{SOURCE34}
246%__tar -xvf %{SOURCE35}
247%__tar -xvf %{SOURCE36}
248%__tar -xvf %{SOURCE37}
249%__tar -xvf %{SOURCE38}
250%__tar -xvf %{SOURCE39}
251%__tar -xvf %{SOURCE40}
252%__tar -xvf %{SOURCE41}
253%__tar -xvf %{SOURCE42}
254%__tar -xvf %{SOURCE43}
255%__tar -xvf %{SOURCE44}
256%__tar -xvf %{SOURCE45}
257%__tar -xvf %{SOURCE46}
258%__tar -xvf %{SOURCE47}
259%__tar -xvf %{SOURCE48}
260%__tar -xvf %{SOURCE49}
261%__tar -xvf %{SOURCE50}
262%__tar -xvf %{SOURCE51}
263%__tar -xvf %{SOURCE52}
264%__tar -xvf %{SOURCE53}
265%__tar -xvf %{SOURCE54}
266%__tar -xvf %{SOURCE55}
267%__tar -xvf %{SOURCE56}
268%__tar -xvf %{SOURCE57}
269%__tar -xvf %{SOURCE58}
270%__tar -xvf %{SOURCE59}
271%__tar -xvf %{SOURCE60}
272%__tar -xvf %{SOURCE61}
273%__tar -xvf %{SOURCE62}
274%__tar -xvf %{SOURCE63}
275%__tar -xvf %{SOURCE64}
276%__tar -xvf %{SOURCE65}
277
278%build
279
280%install
281[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
282
283%__mkdir_p %{buildroot}%{_datadir}
284
285## move texmf-dist to /usr/share/texmf-dist
286[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
287
288## move texmf to /usr/share/texmf
289[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
290
291## move tlpkg to /usr/share/tlpkg
292[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
293
294## move all non-arch binaries to /usr/bin
295[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
296
297## move others into /usr/share/texmf-dist
298%__mkdir_p %{buildroot}%{_tl_texmfdist}
299%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
300%__rm -rf * ||:
301
302
303## remove duplicated files between texlive and texlive-collection-*
304## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
305## remove unpacked files
306x=(
307dvipdfmx/dvipdfmx.cfg
308scripts/context/stubs/unix/mtxrun
309scripts/latexmk/latexmk.pl
310scripts/ptex2pdf/ptex2pdf.lua
311scripts/texlive/fmtutil.pl
312scripts/texlive/texconfig-dialog.sh
313scripts/texlive/texconfig-sys.sh
314scripts/texlive/texconfig.sh
315scripts/texlive/texlinks.sh
316scripts/texlive/tlmgr.pl
317scripts/texlive/updmap.pl
318texconfig/tcfmgr
319web2c/fmtutil.cnf
320web2c/mktex.opt
321web2c/mktexdir
322web2c/mktexdir.opt
323web2c/mktexnam
324web2c/mktexnam.opt
325web2c/mktexupd
326web2c/texmf.cnf
327web2c/updmap-hdr.cfg
328web2c/updmap.cfg
329install-tl
330#
331scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
332scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
333scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
334scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
335scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
336scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
337scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
338scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
339scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
340scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
341scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
342scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
343scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
344scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
345scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
346scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
347scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
348scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
349scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
350scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
351scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
352scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
353)
354if [ -d %{buildroot}%{_tl_texmfdist} ]; then
355pushd %{buildroot}%{_tl_texmfdist}
356%__rm -f ${x[@]} ||:
357popd
358fi
359
360## Files list
361find %{buildroot} -type f -or -type l | \
362    %__sed -e "s|%{buildroot}||g" > filelist.full
363
364find %{buildroot}%{_tl_texmfdist} -type d | \
365    %__sed -e "s|^%{buildroot}|%dir |" \
366           -e "s|$|/|"             >> filelist.full
367
368## subpackages
369grep "/texmf-dist/doc/" filelist.full > filelist.doc
370cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
371%__mv -f filelist.tmp filelist.full
372
373%clean
374%__rm -rf %{buildroot}
375
376%post
377%_tl_touch_run texhash
378%_tl_touch_run mtxrun
379
380[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
381
382    %_tl_enable_map Map original-context-symbol.map
383
384%_tl_touch_run fmtutil
385
386exit 0
387
388
389%postun
390if [ "$1" = 0 ]; then
391    %_tl_touch_run texhash
392
393    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
394
395    %_tl_disable_map original-context-symbol.map
396
397fi
398
399exit 0
400
401%posttrans
402%{_tl_exec_texhash}
403%{_tl_exec_mtxrun}
404%{_tl_exec_updmap}
405%{_tl_exec_fmtutil}
406exit 0
407
408
409%files -f filelist.full
410%defattr(-,root,root,-)
411
412%files -f filelist.doc doc
413%defattr(-,root,root,-)
414
415%changelog
416* Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
417- synced tlnet to 20160607 (TeX Live 2016)
418
419* Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
420- synced tlnet to 20160514 (TeX Live 2016/pretest)
421
422* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
423- synced tlnet to 20160510 (TeX Live 2016/pretest)
424
425* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
426- TeX Live 2016/pretest
427- synced tlnet to 20160428 (TeX Live 2016/pretest)
428
429* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
430- remove duplicated files from texlive-collection-*
431- synced tlnet to 20160113 (TeX Live 2015)
432
433* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
434- TeX Live 2016/dev
435- synced tlnet to 20160110 (TeX Live 2016/dev)
436
437* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
438- TeX Live 2015/pretest
439- synced tlnet to 20150522 (TeX Live 2015/pretest)
440
441* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
442- TeX Live 2015/pretest
443- synced tlnet to 20150426 (TeX Live 2015/pretest)
444
445* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
446- synced tlnet to 20150401
447
448* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
449- synced tlnet to 20141028
450
451* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
452- synced tlnet to 20140706
453
454* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
455- upgraded to TeX Live 2014
456
457* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
458- synced tlnet to 20140406
459
460* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
461- synced tlnet to 20131218
462
463* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
464- synced tlnet to 20131101
465
466* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
467- synced tlnet to 20131002
468
469* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
470- synced tlnet to 20130919
471
472* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
473- upgraded to TeX Live 2013
474  - used tlnet archives
475  - synced tlnet to 20130823
476- added macros.texlive
477
478* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
479- updated to TeX Live 2012
480
481* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
482- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
483  - set external dependencies (texlive-collection-binextra,
484    texlive-collection-fontutils)
485
486* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
487- updated to TeX Live 2011
488- merged texlive-vtlpkg-2009-osx.patch from OSXWS
489- added %doc README (%files)
490
491* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
492- applied texlive-vtlpkg-2009-vine.patch
493  - remove arch dependent binaries
494- updated tlpdb2rpmspec.sh.in:
495  - improved tlpdb4a()
496  - make symlinks of core script utils (texlive-collection-binextra,
497    texlive-collection-context, texlive-collection-fontutils,
498    texlive-collection-langgreek, texlive-collection-langindic,
499    texlive-collection-latex, texlive-collection-latexextra,
500    texlive-collection-latexrecommended, texlive-collection-pictures,
501    texlive-collection-pstricks, texlive-collection-science)
502
503* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
504- updated tlpdb2rpmspec.sh.in:
505  - improved %post
506
507* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
508- updated tlpdb2rpmspec.sh.in:
509  - removed arch dependent binaries (texlive-collection-latexextra)
510  - improved updmap process in %post and %postun
511  - fixed perl path
512
513* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
514- initial build
Note: See TracBrowser for help on using the repository browser.