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

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

synced tlnet to 20160110 (TeX Live 2016/dev)

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