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

Revision 9576, 14.8 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[9576]2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
[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
[9576]13Release: 2%{?_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:
113context: The ConTeXt macro package.
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.
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.
[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 パッケージを含んでいます:
167context: The ConTeXt macro package.
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.
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.
[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=(
[9576]307scripts/context/stubs/unix/mtxrun
308scripts/ptex2pdf/ptex2pdf.lua
309scripts/texlive/fmtutil.pl
[9529]310scripts/texlive/texconfig-dialog.sh
311scripts/texlive/texconfig-sys.sh
312scripts/texlive/texconfig.sh
313scripts/texlive/texlinks.sh
314scripts/texlive/tlmgr.pl
[9576]315scripts/texlive/updmap.pl
[9529]316texconfig/tcfmgr
[9576]317web2c/fmtutil.cnf
[9529]318web2c/mktex.opt
319web2c/mktexdir
320web2c/mktexdir.opt
321web2c/mktexnam
322web2c/mktexnam.opt
323web2c/mktexupd
324web2c/texmf.cnf
325web2c/updmap-hdr.cfg
326web2c/updmap.cfg
[9576]327install-tl
[7770]328)
329if [ -d %{buildroot}%{_tl_texmfdist} ]; then
330pushd %{buildroot}%{_tl_texmfdist}
331%__rm -f ${x[@]} ||:
[3944]332popd
[7770]333fi
334
[1533]335## Files list
336find %{buildroot} -type f -or -type l | \
337    %__sed -e "s|%{buildroot}||g" > filelist.full
338
[7770]339find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]340    %__sed -e "s|^%{buildroot}|%dir |" \
341           -e "s|$|/|"             >> filelist.full
342
343## subpackages
344grep "/texmf-dist/doc/" filelist.full > filelist.doc
345cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
346%__mv -f filelist.tmp filelist.full
347
348%clean
349%__rm -rf %{buildroot}
350
351%post
[7770]352%_tl_touch_run texhash
353%_tl_touch_run mtxrun
[1533]354
[7770]355[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[5207]356
[7770]357    %_tl_enable_map Map original-context-symbol.map
[5207]358
[7770]359%_tl_touch_run fmtutil
[2505]360
[1533]361exit 0
362
363
364%postun
365if [ "$1" = 0 ]; then
[7770]366    %_tl_touch_run texhash
[1533]367
[7770]368    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[5207]369
[7770]370    %_tl_disable_map original-context-symbol.map
[5207]371
[1533]372fi
373
374exit 0
375
[7148]376%posttrans
[7770]377%{_tl_exec_texhash}
378%{_tl_exec_mtxrun}
379%{_tl_exec_updmap}
380%{_tl_exec_fmtutil}
[7148]381exit 0
382
383
[1533]384%files -f filelist.full
[5207]385%defattr(-,root,root,-)
[1533]386
387%files -f filelist.doc doc
[5207]388%defattr(-,root,root,-)
[1533]389
390%changelog
[9576]391* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
392- TeX Live 2015/pretest
393- synced tlnet to 20150522 (TeX Live 2015/pretest)
[9034]394
[9576]395* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
396- TeX Live 2015/pretest
397- synced tlnet to 20150426 (TeX Live 2015/pretest)
398
399* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
400- synced tlnet to 20150401
401
402* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
403- synced tlnet to 20141028
404
405* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
406- synced tlnet to 20140706
407
408* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
409- upgraded to TeX Live 2014
410
411* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
412- synced tlnet to 20140406
413
414* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
415- synced tlnet to 20131218
416
417* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
418- synced tlnet to 20131101
419
420* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
421- synced tlnet to 20131002
422
423* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
424- synced tlnet to 20130919
425
426* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
427- upgraded to TeX Live 2013
428  - used tlnet archives
429  - synced tlnet to 20130823
430- added macros.texlive
431
432* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
433- updated to TeX Live 2012
434
435* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
436- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
437  - set external dependencies (texlive-collection-binextra,
438    texlive-collection-fontutils)
439
440* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
441- updated to TeX Live 2011
442- merged texlive-vtlpkg-2009-osx.patch from OSXWS
443- added %doc README (%files)
444
445* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
446- applied texlive-vtlpkg-2009-vine.patch
447  - remove arch dependent binaries
448- updated tlpdb2rpmspec.sh.in:
449  - improved tlpdb4a()
450  - make symlinks of core script utils (texlive-collection-binextra,
451    texlive-collection-context, texlive-collection-fontutils,
452    texlive-collection-langgreek, texlive-collection-langindic,
453    texlive-collection-latex, texlive-collection-latexextra,
454    texlive-collection-latexrecommended, texlive-collection-pictures,
455    texlive-collection-pstricks, texlive-collection-science)
456
457* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
458- updated tlpdb2rpmspec.sh.in:
459  - improved %post
460
461* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
462- updated tlpdb2rpmspec.sh.in:
463  - removed arch dependent binaries (texlive-collection-latexextra)
464  - improved updmap process in %post and %postun
465  - fixed perl path
466
467* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
468- initial build
Note: See TracBrowser for help on using the repository browser.