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

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