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

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-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: 2015
13Release: 2%{?_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=(
307scripts/context/stubs/unix/mtxrun
308scripts/ptex2pdf/ptex2pdf.lua
309scripts/texlive/fmtutil.pl
310scripts/texlive/texconfig-dialog.sh
311scripts/texlive/texconfig-sys.sh
312scripts/texlive/texconfig.sh
313scripts/texlive/texlinks.sh
314scripts/texlive/tlmgr.pl
315scripts/texlive/updmap.pl
316texconfig/tcfmgr
317web2c/fmtutil.cnf
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
327install-tl
328)
329if [ -d %{buildroot}%{_tl_texmfdist} ]; then
330pushd %{buildroot}%{_tl_texmfdist}
331%__rm -f ${x[@]} ||:
332popd
333fi
334
335## Files list
336find %{buildroot} -type f -or -type l | \
337    %__sed -e "s|%{buildroot}||g" > filelist.full
338
339find %{buildroot}%{_tl_texmfdist} -type d | \
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
352%_tl_touch_run texhash
353%_tl_touch_run mtxrun
354
355[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
356
357    %_tl_enable_map Map original-context-symbol.map
358
359%_tl_touch_run fmtutil
360
361exit 0
362
363
364%postun
365if [ "$1" = 0 ]; then
366    %_tl_touch_run texhash
367
368    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
369
370    %_tl_disable_map original-context-symbol.map
371
372fi
373
374exit 0
375
376%posttrans
377%{_tl_exec_texhash}
378%{_tl_exec_mtxrun}
379%{_tl_exec_updmap}
380%{_tl_exec_fmtutil}
381exit 0
382
383
384%files -f filelist.full
385%defattr(-,root,root,-)
386
387%files -f filelist.doc doc
388%defattr(-,root,root,-)
389
390%changelog
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)
394
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.