texlive-collection-metapost-vl.spec 14 KB

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