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