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

Revision 9576, 15.7 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-metapost
[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: MetaPost and Metafont packages
10Summary(ja): TeX Live: MetaPost and Metafont packages
[1533]11Name: texlive-collection-metapost
[9529]12Version: 2015
[9576]13Release: 2%{?_dist_release}
[7770]14License: LPPL, Public Domain, GPL+, LPPL 1.3, LGPLv2+, Freely redistributable without restriction
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]18Source0: automata.doc.tar.xz
19Source1: automata.tar.xz
20Source2: bbcard.doc.tar.xz
21Source3: bbcard.tar.xz
22Source4: blockdraw_mp.doc.tar.xz
23Source5: blockdraw_mp.tar.xz
24Source6: bpolynomial.doc.tar.xz
25Source7: bpolynomial.tar.xz
26Source8: cmarrows.doc.tar.xz
27Source9: cmarrows.tar.xz
28Source10: drv.doc.tar.xz
29Source11: drv.tar.xz
30Source12: dviincl.doc.tar.xz
31Source13: dviincl.tar.xz
32Source14: emp.doc.tar.xz
33Source15: emp.source.tar.xz
34Source16: emp.tar.xz
35Source17: epsincl.doc.tar.xz
36Source18: epsincl.tar.xz
37Source19: expressg.doc.tar.xz
38Source20: expressg.source.tar.xz
39Source21: expressg.tar.xz
40Source22: exteps.doc.tar.xz
41Source23: exteps.tar.xz
42Source24: featpost.doc.tar.xz
43Source25: featpost.tar.xz
44Source26: feynmf.doc.tar.xz
45Source27: feynmf.source.tar.xz
46Source28: feynmf.tar.xz
47Source29: feynmp-auto.doc.tar.xz
48Source30: feynmp-auto.source.tar.xz
49Source31: feynmp-auto.tar.xz
50Source32: garrigues.doc.tar.xz
51Source33: garrigues.tar.xz
52Source34: gmp.doc.tar.xz
53Source35: gmp.source.tar.xz
54Source36: gmp.tar.xz
55Source37: hatching.doc.tar.xz
56Source38: hatching.tar.xz
57Source39: latexmp.doc.tar.xz
58Source40: latexmp.tar.xz
59Source41: metago.doc.tar.xz
60Source42: metago.tar.xz
61Source43: metaobj.doc.tar.xz
62Source44: metaobj.tar.xz
63Source45: metaplot.doc.tar.xz
64Source46: metaplot.tar.xz
65Source47: metapost.doc.tar.xz
66Source48: metapost.tar.xz
67Source49: metauml.doc.tar.xz
68Source50: metauml.tar.xz
69Source51: mfpic.doc.tar.xz
70Source52: mfpic.source.tar.xz
71Source53: mfpic.tar.xz
72Source54: mfpic4ode.doc.tar.xz
73Source55: mfpic4ode.source.tar.xz
74Source56: mfpic4ode.tar.xz
75Source57: mp3d.doc.tar.xz
76Source58: mp3d.tar.xz
77Source59: mpcolornames.doc.tar.xz
78Source60: mpcolornames.source.tar.xz
79Source61: mpcolornames.tar.xz
80Source62: mpattern.doc.tar.xz
81Source63: mpattern.tar.xz
82Source64: mpgraphics.doc.tar.xz
83Source65: mpgraphics.source.tar.xz
84Source66: mpgraphics.tar.xz
85Source67: piechartmp.doc.tar.xz
86Source68: piechartmp.tar.xz
[8476]87Source69: repere.doc.tar.xz
88Source70: repere.tar.xz
89Source71: roex.source.tar.xz
90Source72: roex.tar.xz
91Source73: slideshow.doc.tar.xz
92Source74: slideshow.tar.xz
93Source75: splines.doc.tar.xz
94Source76: splines.source.tar.xz
95Source77: splines.tar.xz
96Source78: suanpan.doc.tar.xz
97Source79: suanpan.tar.xz
98Source80: textpath.doc.tar.xz
99Source81: textpath.tar.xz
100Source82: threeddice.doc.tar.xz
101Source83: threeddice.tar.xz
[7770]102
[1533]103Requires: texlive = %{version}
104Requires: texlive-collection-basic = %{version}
105
106Requires(post):         texlive = %{version}
107Requires(postun):       texlive = %{version}
108
109BuildArch:      noarch
110Buildroot:      %{_tmppath}/%{name}-%{version}-root
111
112Vendor:         Project Vine
113Distribution:   Vine Linux
114Packager:       munepi
115
116%description
117The TeX Live software distribution offers a complete TeX system for a
118variety of Unix, Macintosh, Windows and other platforms. It
119encompasses programs for editing, typesetting, previewing and printing
120of TeX documents in many different languages, and a large collection
121of TeX macros and font libraries.
122
123The distribution includes extensive general documentation about TeX,
124as well as the documentation for the included software packages.
125
[7770]126This package is a collection of MetaPost and Metafont packages:
[1533]127
128
129This package contains the following CTAN packages:
130automata: Finite state machines, graphs and trees in MetaPost.
131bbcard: Bullshit bingo, calendar and baseball-score cards.
132blockdraw_mp: Block diagrams and bond graphs, with MetaPost.
133bpolynomial: Drawing polynomial functions of up to order 3.
134cmarrows: MetaPost arrows and braces in the Computer Modern style.
135drv: Derivation trees with MetaPost.
136dviincl: Include a DVI page into MetaPost output.
137emp: "Encapsulate" MetaPost figures in a document.
138epsincl: Include EPS in MetaPost figures.
139expressg: Diagrams consisting of boxes, lines, and annotations.
140exteps: Include EPS figures in MetaPost.
141featpost: MetaPost macros for 3D.
142feynmf: Macros and fonts for creating Feynman (and other) diagrams.
[7770]143feynmp-auto: Automatic processing of feynmp graphics.
[1533]144garrigues: MetaPost macros for the reproduction of Garrigues' Easter nomogram.
[8476]145gmp: Enable integration between MetaPost pictures and LaTeX.
[1533]146hatching: MetaPost macros for hatching interior of closed paths.
147latexmp: Interface for LaTeX-based typesetting in MetaPost
148metago: MetaPost output of Go positions.
149metaobj: MetaPost package providing high-level objects.
150metaplot: Plot-manipulation macros for use in Metapost.
[5207]151metapost: A development of Metafont for creating graphics.
[1533]152metauml: MetaPost library for typesetting UML diagrams.
[7770]153mfpic: Draw Metafont/post pictures from (La)TeX commands.
[1533]154mfpic4ode: Macros to draw direction fields and solutions of ODEs.
155mp3d: 3D animations.
[8476]156mpcolornames: Extend list of predefined colour names for MetaPost.
[1533]157mpattern: Patterns in MetaPost.
[7770]158mpgraphics: Process and display MetaPost figures inline.
[1533]159piechartmp: Draw pie-charts using MetaPost.
[8476]160repere: Diagrams for school mathematics
[1533]161roex:
162slideshow: Generate slideshow with MetaPost.
163splines: MetaPost macros for drawing cubic spline interpolants.
164suanpan: MetaPost macros for drawing Chinese and Japanese abaci.
165textpath: Setting text along a path with MetaPost.
[5207]166threeddice: Create images of dice with one, two, or three faces showing, using MetaPost.
[1533]167
168%description -l ja
169TeX Live ソフトウェアディストリビューションは、
170さまざまな Unix, Macintosh, Windows、および
171他のプラットホームに対して完全な TeX システムを提供します。
172多くの異なった言語を含む TeX ドキュメントの
173編集、組版、閲覧、印刷するためのプログラム、
174そして、TeX マクロやフォントライブラリの大きなコレクションを
175同梱しています。
176
177このディストリビューションは
178同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
179TeX に関するたくさんの一般的なドキュメントを含んでいます。
180
181このパッケージは以下のようなパッケージ集です。
[7770]182MetaPost and Metafont packages:
[1533]183
184
185このパッケージは以下の CTAN パッケージを含んでいます:
186automata: Finite state machines, graphs and trees in MetaPost.
187bbcard: Bullshit bingo, calendar and baseball-score cards.
188blockdraw_mp: Block diagrams and bond graphs, with MetaPost.
189bpolynomial: Drawing polynomial functions of up to order 3.
190cmarrows: MetaPost arrows and braces in the Computer Modern style.
191drv: Derivation trees with MetaPost.
192dviincl: Include a DVI page into MetaPost output.
193emp: "Encapsulate" MetaPost figures in a document.
194epsincl: Include EPS in MetaPost figures.
195expressg: Diagrams consisting of boxes, lines, and annotations.
196exteps: Include EPS figures in MetaPost.
197featpost: MetaPost macros for 3D.
198feynmf: Macros and fonts for creating Feynman (and other) diagrams.
[7770]199feynmp-auto: Automatic processing of feynmp graphics.
[1533]200garrigues: MetaPost macros for the reproduction of Garrigues' Easter nomogram.
[8476]201gmp: Enable integration between MetaPost pictures and LaTeX.
[1533]202hatching: MetaPost macros for hatching interior of closed paths.
203latexmp: Interface for LaTeX-based typesetting in MetaPost
204metago: MetaPost output of Go positions.
205metaobj: MetaPost package providing high-level objects.
206metaplot: Plot-manipulation macros for use in Metapost.
[5207]207metapost: A development of Metafont for creating graphics.
[1533]208metauml: MetaPost library for typesetting UML diagrams.
[7770]209mfpic: Draw Metafont/post pictures from (La)TeX commands.
[1533]210mfpic4ode: Macros to draw direction fields and solutions of ODEs.
211mp3d: 3D animations.
[8476]212mpcolornames: Extend list of predefined colour names for MetaPost.
[1533]213mpattern: Patterns in MetaPost.
[7770]214mpgraphics: Process and display MetaPost figures inline.
[1533]215piechartmp: Draw pie-charts using MetaPost.
[8476]216repere: Diagrams for school mathematics
[1533]217roex:
218slideshow: Generate slideshow with MetaPost.
219splines: MetaPost macros for drawing cubic spline interpolants.
220suanpan: MetaPost macros for drawing Chinese and Japanese abaci.
221textpath: Setting text along a path with MetaPost.
[5207]222threeddice: Create images of dice with one, two, or three faces showing, using MetaPost.
[1533]223
224%package doc
225Summary: TeX Live: Documentation files of %{name}
226Group: Applications/Publishing
227Requires: %{name} = %{version}-%{release}
228
229%description doc
230This package contains documentation files of %{name}.
231
232%prep
[7770]233%setup -c -n %{name}-%{version}
234%__tar -xvf %{SOURCE1}
235%__tar -xvf %{SOURCE2}
236%__tar -xvf %{SOURCE3}
237%__tar -xvf %{SOURCE4}
238%__tar -xvf %{SOURCE5}
239%__tar -xvf %{SOURCE6}
240%__tar -xvf %{SOURCE7}
241%__tar -xvf %{SOURCE8}
242%__tar -xvf %{SOURCE9}
243%__tar -xvf %{SOURCE10}
244%__tar -xvf %{SOURCE11}
245%__tar -xvf %{SOURCE12}
246%__tar -xvf %{SOURCE13}
247%__tar -xvf %{SOURCE14}
248%__tar -xvf %{SOURCE15}
249%__tar -xvf %{SOURCE16}
250%__tar -xvf %{SOURCE17}
251%__tar -xvf %{SOURCE18}
252%__tar -xvf %{SOURCE19}
253%__tar -xvf %{SOURCE20}
254%__tar -xvf %{SOURCE21}
255%__tar -xvf %{SOURCE22}
256%__tar -xvf %{SOURCE23}
257%__tar -xvf %{SOURCE24}
258%__tar -xvf %{SOURCE25}
259%__tar -xvf %{SOURCE26}
260%__tar -xvf %{SOURCE27}
261%__tar -xvf %{SOURCE28}
262%__tar -xvf %{SOURCE29}
263%__tar -xvf %{SOURCE30}
264%__tar -xvf %{SOURCE31}
265%__tar -xvf %{SOURCE32}
266%__tar -xvf %{SOURCE33}
267%__tar -xvf %{SOURCE34}
268%__tar -xvf %{SOURCE35}
269%__tar -xvf %{SOURCE36}
270%__tar -xvf %{SOURCE37}
271%__tar -xvf %{SOURCE38}
272%__tar -xvf %{SOURCE39}
273%__tar -xvf %{SOURCE40}
274%__tar -xvf %{SOURCE41}
275%__tar -xvf %{SOURCE42}
276%__tar -xvf %{SOURCE43}
277%__tar -xvf %{SOURCE44}
278%__tar -xvf %{SOURCE45}
279%__tar -xvf %{SOURCE46}
280%__tar -xvf %{SOURCE47}
281%__tar -xvf %{SOURCE48}
282%__tar -xvf %{SOURCE49}
283%__tar -xvf %{SOURCE50}
284%__tar -xvf %{SOURCE51}
285%__tar -xvf %{SOURCE52}
286%__tar -xvf %{SOURCE53}
287%__tar -xvf %{SOURCE54}
288%__tar -xvf %{SOURCE55}
289%__tar -xvf %{SOURCE56}
290%__tar -xvf %{SOURCE57}
291%__tar -xvf %{SOURCE58}
292%__tar -xvf %{SOURCE59}
293%__tar -xvf %{SOURCE60}
294%__tar -xvf %{SOURCE61}
295%__tar -xvf %{SOURCE62}
296%__tar -xvf %{SOURCE63}
297%__tar -xvf %{SOURCE64}
298%__tar -xvf %{SOURCE65}
299%__tar -xvf %{SOURCE66}
300%__tar -xvf %{SOURCE67}
301%__tar -xvf %{SOURCE68}
302%__tar -xvf %{SOURCE69}
303%__tar -xvf %{SOURCE70}
304%__tar -xvf %{SOURCE71}
305%__tar -xvf %{SOURCE72}
306%__tar -xvf %{SOURCE73}
307%__tar -xvf %{SOURCE74}
308%__tar -xvf %{SOURCE75}
309%__tar -xvf %{SOURCE76}
310%__tar -xvf %{SOURCE77}
311%__tar -xvf %{SOURCE78}
312%__tar -xvf %{SOURCE79}
313%__tar -xvf %{SOURCE80}
314%__tar -xvf %{SOURCE81}
[8476]315%__tar -xvf %{SOURCE82}
316%__tar -xvf %{SOURCE83}
[1533]317
318%build
319
320%install
321[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
322
[7770]323%__mkdir_p %{buildroot}%{_datadir}
[1533]324
[7770]325## move texmf-dist to /usr/share/texmf-dist
326[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]327
[7770]328## move texmf to /usr/share/texmf
329[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]330
[7770]331## move tlpkg to /usr/share/tlpkg
332[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
333
334## move all non-arch binaries to /usr/bin
335[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
336
337## move others into /usr/share/texmf-dist
338%__mkdir_p %{buildroot}%{_tl_texmfdist}
339%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
340%__rm -rf * ||:
341
342
343## remove duplicated files between texlive and texlive-collection-*
344## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
345## remove unpacked files
346x=(
[9576]347scripts/context/stubs/unix/mtxrun
348scripts/ptex2pdf/ptex2pdf.lua
349scripts/texlive/fmtutil.pl
[9529]350scripts/texlive/texconfig-dialog.sh
351scripts/texlive/texconfig-sys.sh
352scripts/texlive/texconfig.sh
353scripts/texlive/texlinks.sh
354scripts/texlive/tlmgr.pl
[9576]355scripts/texlive/updmap.pl
[9529]356texconfig/tcfmgr
[9576]357web2c/fmtutil.cnf
[9529]358web2c/mktex.opt
359web2c/mktexdir
360web2c/mktexdir.opt
361web2c/mktexnam
362web2c/mktexnam.opt
363web2c/mktexupd
364web2c/texmf.cnf
365web2c/updmap-hdr.cfg
366web2c/updmap.cfg
[9576]367install-tl
[7770]368)
369if [ -d %{buildroot}%{_tl_texmfdist} ]; then
370pushd %{buildroot}%{_tl_texmfdist}
371%__rm -f ${x[@]} ||:
[5207]372popd
[7770]373fi
374
[1533]375## Files list
376find %{buildroot} -type f -or -type l | \
377    %__sed -e "s|%{buildroot}||g" > filelist.full
378
[7770]379find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]380    %__sed -e "s|^%{buildroot}|%dir |" \
381           -e "s|$|/|"             >> filelist.full
382
383## subpackages
384grep "/texmf-dist/doc/" filelist.full > filelist.doc
385cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
386%__mv -f filelist.tmp filelist.full
387
388%clean
389%__rm -rf %{buildroot}
390
391%post
[7770]392%_tl_touch_run texhash
393%_tl_touch_run mtxrun
[1533]394
[7770]395[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[5207]396
[7770]397    %_tl_enable_map Map troff-updmap.map
[5207]398
[1533]399exit 0
400
401
402%postun
403if [ "$1" = 0 ]; then
[7770]404    %_tl_touch_run texhash
[1533]405
[7770]406    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[5207]407
[7770]408    %_tl_disable_map troff-updmap.map
[5207]409
[1533]410fi
411
412exit 0
413
[7148]414%posttrans
[7770]415%{_tl_exec_texhash}
416%{_tl_exec_mtxrun}
417%{_tl_exec_updmap}
418%{_tl_exec_fmtutil}
[7148]419exit 0
420
421
[1533]422%files -f filelist.full
[5207]423%defattr(-,root,root,-)
[1533]424
425%files -f filelist.doc doc
[5207]426%defattr(-,root,root,-)
[1533]427
428%changelog
[9576]429* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
430- TeX Live 2015/pretest
431- synced tlnet to 20150522 (TeX Live 2015/pretest)
[9034]432
[9576]433* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
434- TeX Live 2015/pretest
435- synced tlnet to 20150426 (TeX Live 2015/pretest)
436
437* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
438- synced tlnet to 20150401
439
440* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
441- synced tlnet to 20141028
442
443* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
444- synced tlnet to 20140706
445
446* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
447- upgraded to TeX Live 2014
448
449* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
450- synced tlnet to 20140406
451
452* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
453- synced tlnet to 20131218
454
455* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
456- synced tlnet to 20131101
457
458* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
459- synced tlnet to 20131002
460
461* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
462- synced tlnet to 20130919
463
464* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
465- upgraded to TeX Live 2013
466  - used tlnet archives
467  - synced tlnet to 20130823
468- added macros.texlive
469
470* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
471- updated to TeX Live 2012
472
473* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
474- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
475  - set external dependencies (texlive-collection-binextra,
476    texlive-collection-fontutils)
477
478* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
479- updated to TeX Live 2011
480- merged texlive-vtlpkg-2009-osx.patch from OSXWS
481- added %doc README (%files)
482
483* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
484- applied texlive-vtlpkg-2009-vine.patch
485  - remove arch dependent binaries
486- updated tlpdb2rpmspec.sh.in:
487  - improved tlpdb4a()
488  - make symlinks of core script utils (texlive-collection-binextra,
489    texlive-collection-context, texlive-collection-fontutils,
490    texlive-collection-langgreek, texlive-collection-langindic,
491    texlive-collection-latex, texlive-collection-latexextra,
492    texlive-collection-latexrecommended, texlive-collection-pictures,
493    texlive-collection-pstricks, texlive-collection-science)
494
495* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
496- updated tlpdb2rpmspec.sh.in:
497  - improved %post
498
499* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
500- updated tlpdb2rpmspec.sh.in:
501  - removed arch dependent binaries (texlive-collection-latexextra)
502  - improved updmap process in %post and %postun
503  - fixed perl path
504
505* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
506- initial build
Note: See TracBrowser for help on using the repository browser.