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

Revision 9955, 16.8 KB checked in by munepi, 8 years ago (diff)

reverted to texlive-20150521-source (TeX Live 2015)
remove duplicated files from texlive-collection-*

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[9955]2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-4:
[1974]3## tlpdb2rpmspec collection-context
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[7770]9Summary: TeX Live: ConTeXt and packages
10Summary(ja): TeX Live: ConTeXt and packages
[1533]11Name: texlive-collection-context
[9529]12Version: 2015
[9955]13Release: 4%{?_dist_release}
[9529]14License: Freely redistributable without restriction, Public Domain, GPL+, GPLv3+, BSD, GPLv2+
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]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
[9529]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
[7770]84
[1533]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
[7770]108This package is a collection of ConTeXt and packages:
[1533]109Hans Hagen's powerful ConTeXt system, http://pragma-ade.com.
110Also includes third-party ConTeXt packages.
111
112This package contains the following CTAN packages:
[9950]113context: The ConTeXt macro package
[1533]114jmn:
115context-account: A simple accounting package.
[7770]116context-algorithmic: Algorithm handling in ConTeXt.
[9529]117context-animation: Generate fieldstack based animation with ConTeXt.
118context-annotation:
[1533]119context-bnf: A BNF module for Context.
120context-chromato: ConTeXt macros for chromatograms.
121context-construction-plan: Construction plans in ConTeXt.
[7770]122context-cyrillicnumbers: Write numbers as cyrillic glyphs.
[1533]123context-degrade: Degrading JPEG images in ConTeXt.
[9529]124context-fancybreak: Overfull pages with ConTeXt
[5207]125context-filter: Run external programs on the contents of a start-stop environment.
[1533]126context-fixme: Make editorial marks on a document.
127context-french: Support for writing French in ConTeXt.
[5207]128context-fullpage: Overfull pages with ConTeXt
[1533]129context-games:
[7148]130context-gantt: GANTT module for ConTeXt.
[1533]131context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt.
[9950]132context-letter: ConTeXt package for writing letters
[1533]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.
[5207]137context-rst: Process reStructuredText with ConTeXt.
138context-ruby: Ruby annotations in ConTeXt.
[1533]139context-simplefonts: Simplified font usage for ConTeXt.
[7770]140context-simpleslides:
[9529]141context-title:
[7770]142context-transliterator: Transliterate text from 'other' alphabets.
[1533]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.
[9529]146context-visualcounter:
[1533]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このパッケージは以下のようなパッケージ集です。
[7770]162ConTeXt and packages:
[1533]163Hans Hagen's powerful ConTeXt system, http://pragma-ade.com.
164Also includes third-party ConTeXt packages.
165
166このパッケージは以下の CTAN パッケージを含んでいます:
[9950]167context: The ConTeXt macro package
[1533]168jmn:
169context-account: A simple accounting package.
[7770]170context-algorithmic: Algorithm handling in ConTeXt.
[9529]171context-animation: Generate fieldstack based animation with ConTeXt.
172context-annotation:
[1533]173context-bnf: A BNF module for Context.
174context-chromato: ConTeXt macros for chromatograms.
175context-construction-plan: Construction plans in ConTeXt.
[7770]176context-cyrillicnumbers: Write numbers as cyrillic glyphs.
[1533]177context-degrade: Degrading JPEG images in ConTeXt.
[9529]178context-fancybreak: Overfull pages with ConTeXt
[5207]179context-filter: Run external programs on the contents of a start-stop environment.
[1533]180context-fixme: Make editorial marks on a document.
181context-french: Support for writing French in ConTeXt.
[5207]182context-fullpage: Overfull pages with ConTeXt
[1533]183context-games:
[7148]184context-gantt: GANTT module for ConTeXt.
[1533]185context-gnuplot: Inclusion of Gnuplot graphs in ConTeXt.
[9950]186context-letter: ConTeXt package for writing letters
[1533]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.
[5207]191context-rst: Process reStructuredText with ConTeXt.
192context-ruby: Ruby annotations in ConTeXt.
[1533]193context-simplefonts: Simplified font usage for ConTeXt.
[7770]194context-simpleslides:
[9529]195context-title:
[7770]196context-transliterator: Transliterate text from 'other' alphabets.
[1533]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.
[9529]200context-visualcounter:
[1533]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
[7770]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}
[9529]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}
[1533]277
278%build
279
280%install
281[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
282
[7770]283%__mkdir_p %{buildroot}%{_datadir}
[1533]284
[7770]285## move texmf-dist to /usr/share/texmf-dist
286[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]287
[7770]288## move texmf to /usr/share/texmf
289[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]290
[7770]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=(
[9955]307dvipdfmx/dvipdfmx.cfg
[9576]308scripts/context/stubs/unix/mtxrun
309scripts/ptex2pdf/ptex2pdf.lua
310scripts/texlive/fmtutil.pl
[9529]311scripts/texlive/texconfig-dialog.sh
312scripts/texlive/texconfig-sys.sh
313scripts/texlive/texconfig.sh
314scripts/texlive/texlinks.sh
315scripts/texlive/tlmgr.pl
[9576]316scripts/texlive/updmap.pl
[9529]317texconfig/tcfmgr
[9576]318web2c/fmtutil.cnf
[9529]319web2c/mktex.opt
320web2c/mktexdir
321web2c/mktexdir.opt
322web2c/mktexnam
323web2c/mktexnam.opt
324web2c/mktexupd
325web2c/texmf.cnf
326web2c/updmap-hdr.cfg
327web2c/updmap.cfg
[9576]328install-tl
[9955]329#
330scripts/cjk-gs-integrate/cjk-gs-integrate.pl #texlive-collection-langcjk-2015-3vl7.noarch
331scripts/epspdf/epspdf.tlu #texlive-collection-pictures-2015-3vl7.noarch
332scripts/epspdf/epspdftk.tcl #texlive-collection-pictures-2015-3vl7.noarch
333scripts/glossaries/makeglossaries #texlive-collection-latexextra-2015-3vl7.noarch
334scripts/jfontmaps/kanji-config-updmap.pl #texlive-collection-langjapanese-2015-3vl7.noarch
335scripts/jfontmaps/kanji-fontmap-creator.pl #texlive-collection-langjapanese-2015-3vl7.noarch
336scripts/kotex-utils/jamo-normalize.pl #texlive-collection-langkorean-2015-3vl7.noarch
337scripts/kotex-utils/komkindex.pl #texlive-collection-langkorean-2015-3vl7.noarch
338scripts/crossrefware/ltx2crossrefxml.pl #texlive-collection-bibtexextra-2015-3vl7.noarch
339scripts/rubik/rubikrotation.pl #texlive-collection-games-2015-3vl7.noarch
340scripts/musixtex/musixtex.lua #texlive-collection-music-2015-3vl7.noarch
341scripts/pmxchords/pmxchords.lua #texlive-collection-music-2015-3vl7.noarch
342scripts/ctanify/ctanify #texlive-collection-binextra-2015-3vl7.noarch
343scripts/dtxgen/dtxgen #texlive-collection-binextra-2015-3vl7.noarch
344scripts/findhyph/findhyph #texlive-collection-binextra-2015-3vl7.noarch
345scripts/latexpand/latexpand #texlive-collection-binextra-2015-3vl7.noarch
346scripts/ltxfileinfo/ltxfileinfo #texlive-collection-binextra-2015-3vl7.noarch
347scripts/latexdiff/latexdiff-vc.pl #texlive-collection-binextra-2015-3vl7.noarch
348scripts/latexdiff/latexdiff.pl #texlive-collection-binextra-2015-3vl7.noarch
349scripts/texfot/texfot.pl #texlive-collection-binextra-2015-3vl7.noarch
350scripts/fontools/autoinst #texlive-collection-fontutils-2015-3vl7.noarch
351scripts/luaotfload/luaotfload-tool.lua #texlive-collection-luatex-2015-3vl7.noarch
[7770]352)
353if [ -d %{buildroot}%{_tl_texmfdist} ]; then
354pushd %{buildroot}%{_tl_texmfdist}
355%__rm -f ${x[@]} ||:
[3944]356popd
[7770]357fi
358
[1533]359## Files list
360find %{buildroot} -type f -or -type l | \
361    %__sed -e "s|%{buildroot}||g" > filelist.full
362
[7770]363find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]364    %__sed -e "s|^%{buildroot}|%dir |" \
365           -e "s|$|/|"             >> filelist.full
366
367## subpackages
368grep "/texmf-dist/doc/" filelist.full > filelist.doc
369cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
370%__mv -f filelist.tmp filelist.full
371
372%clean
373%__rm -rf %{buildroot}
374
375%post
[7770]376%_tl_touch_run texhash
377%_tl_touch_run mtxrun
[1533]378
[7770]379[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[5207]380
[7770]381    %_tl_enable_map Map original-context-symbol.map
[5207]382
[7770]383%_tl_touch_run fmtutil
[2505]384
[1533]385exit 0
386
387
388%postun
389if [ "$1" = 0 ]; then
[7770]390    %_tl_touch_run texhash
[1533]391
[7770]392    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[5207]393
[7770]394    %_tl_disable_map original-context-symbol.map
[5207]395
[1533]396fi
397
398exit 0
399
[7148]400%posttrans
[7770]401%{_tl_exec_texhash}
402%{_tl_exec_mtxrun}
403%{_tl_exec_updmap}
404%{_tl_exec_fmtutil}
[7148]405exit 0
406
407
[1533]408%files -f filelist.full
[5207]409%defattr(-,root,root,-)
[1533]410
411%files -f filelist.doc doc
[5207]412%defattr(-,root,root,-)
[1533]413
414%changelog
[9955]415* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
416- remove duplicated files from texlive-collection-*
417- synced tlnet to 20160113 (TeX Live 2015)
418
[9950]419* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
420- TeX Live 2016/dev
421- synced tlnet to 20160110 (TeX Live 2016/dev)
422
[9576]423* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
424- TeX Live 2015/pretest
425- synced tlnet to 20150522 (TeX Live 2015/pretest)
[9034]426
[9576]427* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
428- TeX Live 2015/pretest
429- synced tlnet to 20150426 (TeX Live 2015/pretest)
430
431* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
432- synced tlnet to 20150401
433
434* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
435- synced tlnet to 20141028
436
437* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
438- synced tlnet to 20140706
439
440* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
441- upgraded to TeX Live 2014
442
443* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
444- synced tlnet to 20140406
445
446* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
447- synced tlnet to 20131218
448
449* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
450- synced tlnet to 20131101
451
452* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
453- synced tlnet to 20131002
454
455* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
456- synced tlnet to 20130919
457
458* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
459- upgraded to TeX Live 2013
460  - used tlnet archives
461  - synced tlnet to 20130823
462- added macros.texlive
463
464* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
465- updated to TeX Live 2012
466
467* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
468- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
469  - set external dependencies (texlive-collection-binextra,
470    texlive-collection-fontutils)
471
472* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
473- updated to TeX Live 2011
474- merged texlive-vtlpkg-2009-osx.patch from OSXWS
475- added %doc README (%files)
476
477* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
478- applied texlive-vtlpkg-2009-vine.patch
479  - remove arch dependent binaries
480- updated tlpdb2rpmspec.sh.in:
481  - improved tlpdb4a()
482  - make symlinks of core script utils (texlive-collection-binextra,
483    texlive-collection-context, texlive-collection-fontutils,
484    texlive-collection-langgreek, texlive-collection-langindic,
485    texlive-collection-latex, texlive-collection-latexextra,
486    texlive-collection-latexrecommended, texlive-collection-pictures,
487    texlive-collection-pstricks, texlive-collection-science)
488
489* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
490- updated tlpdb2rpmspec.sh.in:
491  - improved %post
492
493* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
494- updated tlpdb2rpmspec.sh.in:
495  - removed arch dependent binaries (texlive-collection-latexextra)
496  - improved updmap process in %post and %postun
497  - fixed perl path
498
499* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
500- initial build
Note: See TracBrowser for help on using the repository browser.