texlive-collection-metapost-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-2:
  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: 2014
  11. Release: 2%{?_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: repere.doc.tar.xz
  85. Source70: repere.tar.xz
  86. Source71: roex.source.tar.xz
  87. Source72: roex.tar.xz
  88. Source73: slideshow.doc.tar.xz
  89. Source74: slideshow.tar.xz
  90. Source75: splines.doc.tar.xz
  91. Source76: splines.source.tar.xz
  92. Source77: splines.tar.xz
  93. Source78: suanpan.doc.tar.xz
  94. Source79: suanpan.tar.xz
  95. Source80: textpath.doc.tar.xz
  96. Source81: textpath.tar.xz
  97. Source82: threeddice.doc.tar.xz
  98. Source83: threeddice.tar.xz
  99. Requires: texlive = %{version}
  100. Requires: texlive-collection-basic = %{version}
  101. Requires(post): texlive = %{version}
  102. Requires(postun): texlive = %{version}
  103. BuildArch: noarch
  104. Buildroot: %{_tmppath}/%{name}-%{version}-root
  105. Vendor: Project Vine
  106. Distribution: Vine Linux
  107. Packager: munepi
  108. %description
  109. The TeX Live software distribution offers a complete TeX system for a
  110. variety of Unix, Macintosh, Windows and other platforms. It
  111. encompasses programs for editing, typesetting, previewing and printing
  112. of TeX documents in many different languages, and a large collection
  113. of TeX macros and font libraries.
  114. The distribution includes extensive general documentation about TeX,
  115. as well as the documentation for the included software packages.
  116. This package is a collection of MetaPost and Metafont packages:
  117. This package contains the following CTAN packages:
  118. automata: Finite state machines, graphs and trees in MetaPost.
  119. bbcard: Bullshit bingo, calendar and baseball-score cards.
  120. blockdraw_mp: Block diagrams and bond graphs, with MetaPost.
  121. bpolynomial: Drawing polynomial functions of up to order 3.
  122. cmarrows: MetaPost arrows and braces in the Computer Modern style.
  123. drv: Derivation trees with MetaPost.
  124. dviincl: Include a DVI page into MetaPost output.
  125. emp: "Encapsulate" MetaPost figures in a document.
  126. epsincl: Include EPS in MetaPost figures.
  127. expressg: Diagrams consisting of boxes, lines, and annotations.
  128. exteps: Include EPS figures in MetaPost.
  129. featpost: MetaPost macros for 3D.
  130. feynmf: Macros and fonts for creating Feynman (and other) diagrams.
  131. feynmp-auto: Automatic processing of feynmp graphics.
  132. garrigues: MetaPost macros for the reproduction of Garrigues' Easter nomogram.
  133. gmp: Enable integration between MetaPost pictures and LaTeX.
  134. hatching: MetaPost macros for hatching interior of closed paths.
  135. latexmp: Interface for LaTeX-based typesetting in MetaPost
  136. metago: MetaPost output of Go positions.
  137. metaobj: MetaPost package providing high-level objects.
  138. metaplot: Plot-manipulation macros for use in Metapost.
  139. metapost: A development of Metafont for creating graphics.
  140. metauml: MetaPost library for typesetting UML diagrams.
  141. mfpic: Draw Metafont/post pictures from (La)TeX commands.
  142. mfpic4ode: Macros to draw direction fields and solutions of ODEs.
  143. mp3d: 3D animations.
  144. mpcolornames: Extend list of predefined colour names for MetaPost.
  145. mpattern: Patterns in MetaPost.
  146. mpgraphics: Process and display MetaPost figures inline.
  147. piechartmp: Draw pie-charts using MetaPost.
  148. repere: Diagrams for school mathematics
  149. roex:
  150. slideshow: Generate slideshow with MetaPost.
  151. splines: MetaPost macros for drawing cubic spline interpolants.
  152. suanpan: MetaPost macros for drawing Chinese and Japanese abaci.
  153. textpath: Setting text along a path with MetaPost.
  154. threeddice: Create images of dice with one, two, or three faces showing, using MetaPost.
  155. %description -l ja
  156. TeX Live ソフトウェアディストリビューションは、
  157. さまざまな Unix, Macintosh, Windows、および
  158. 他のプラットホームに対して完全な TeX システムを提供します。
  159. 多くの異なった言語を含む TeX ドキュメントの
  160. 編集、組版、閲覧、印刷するためのプログラム、
  161. そして、TeX マクロやフォントライブラリの大きなコレクションを
  162. 同梱しています。
  163. このディストリビューションは
  164. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  165. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  166. このパッケージは以下のようなパッケージ集です。
  167. MetaPost and Metafont packages:
  168. このパッケージは以下の CTAN パッケージを含んでいます:
  169. automata: Finite state machines, graphs and trees in MetaPost.
  170. bbcard: Bullshit bingo, calendar and baseball-score cards.
  171. blockdraw_mp: Block diagrams and bond graphs, with MetaPost.
  172. bpolynomial: Drawing polynomial functions of up to order 3.
  173. cmarrows: MetaPost arrows and braces in the Computer Modern style.
  174. drv: Derivation trees with MetaPost.
  175. dviincl: Include a DVI page into MetaPost output.
  176. emp: "Encapsulate" MetaPost figures in a document.
  177. epsincl: Include EPS in MetaPost figures.
  178. expressg: Diagrams consisting of boxes, lines, and annotations.
  179. exteps: Include EPS figures in MetaPost.
  180. featpost: MetaPost macros for 3D.
  181. feynmf: Macros and fonts for creating Feynman (and other) diagrams.
  182. feynmp-auto: Automatic processing of feynmp graphics.
  183. garrigues: MetaPost macros for the reproduction of Garrigues' Easter nomogram.
  184. gmp: Enable integration between MetaPost pictures and LaTeX.
  185. hatching: MetaPost macros for hatching interior of closed paths.
  186. latexmp: Interface for LaTeX-based typesetting in MetaPost
  187. metago: MetaPost output of Go positions.
  188. metaobj: MetaPost package providing high-level objects.
  189. metaplot: Plot-manipulation macros for use in Metapost.
  190. metapost: A development of Metafont for creating graphics.
  191. metauml: MetaPost library for typesetting UML diagrams.
  192. mfpic: Draw Metafont/post pictures from (La)TeX commands.
  193. mfpic4ode: Macros to draw direction fields and solutions of ODEs.
  194. mp3d: 3D animations.
  195. mpcolornames: Extend list of predefined colour names for MetaPost.
  196. mpattern: Patterns in MetaPost.
  197. mpgraphics: Process and display MetaPost figures inline.
  198. piechartmp: Draw pie-charts using MetaPost.
  199. repere: Diagrams for school mathematics
  200. roex:
  201. slideshow: Generate slideshow with MetaPost.
  202. splines: MetaPost macros for drawing cubic spline interpolants.
  203. suanpan: MetaPost macros for drawing Chinese and Japanese abaci.
  204. textpath: Setting text along a path with MetaPost.
  205. threeddice: Create images of dice with one, two, or three faces showing, using MetaPost.
  206. %package doc
  207. Summary: TeX Live: Documentation files of %{name}
  208. Group: Applications/Publishing
  209. Requires: %{name} = %{version}-%{release}
  210. %description doc
  211. This package contains documentation files of %{name}.
  212. %prep
  213. %setup -c -n %{name}-%{version}
  214. %__tar -xvf %{SOURCE1}
  215. %__tar -xvf %{SOURCE2}
  216. %__tar -xvf %{SOURCE3}
  217. %__tar -xvf %{SOURCE4}
  218. %__tar -xvf %{SOURCE5}
  219. %__tar -xvf %{SOURCE6}
  220. %__tar -xvf %{SOURCE7}
  221. %__tar -xvf %{SOURCE8}
  222. %__tar -xvf %{SOURCE9}
  223. %__tar -xvf %{SOURCE10}
  224. %__tar -xvf %{SOURCE11}
  225. %__tar -xvf %{SOURCE12}
  226. %__tar -xvf %{SOURCE13}
  227. %__tar -xvf %{SOURCE14}
  228. %__tar -xvf %{SOURCE15}
  229. %__tar -xvf %{SOURCE16}
  230. %__tar -xvf %{SOURCE17}
  231. %__tar -xvf %{SOURCE18}
  232. %__tar -xvf %{SOURCE19}
  233. %__tar -xvf %{SOURCE20}
  234. %__tar -xvf %{SOURCE21}
  235. %__tar -xvf %{SOURCE22}
  236. %__tar -xvf %{SOURCE23}
  237. %__tar -xvf %{SOURCE24}
  238. %__tar -xvf %{SOURCE25}
  239. %__tar -xvf %{SOURCE26}
  240. %__tar -xvf %{SOURCE27}
  241. %__tar -xvf %{SOURCE28}
  242. %__tar -xvf %{SOURCE29}
  243. %__tar -xvf %{SOURCE30}
  244. %__tar -xvf %{SOURCE31}
  245. %__tar -xvf %{SOURCE32}
  246. %__tar -xvf %{SOURCE33}
  247. %__tar -xvf %{SOURCE34}
  248. %__tar -xvf %{SOURCE35}
  249. %__tar -xvf %{SOURCE36}
  250. %__tar -xvf %{SOURCE37}
  251. %__tar -xvf %{SOURCE38}
  252. %__tar -xvf %{SOURCE39}
  253. %__tar -xvf %{SOURCE40}
  254. %__tar -xvf %{SOURCE41}
  255. %__tar -xvf %{SOURCE42}
  256. %__tar -xvf %{SOURCE43}
  257. %__tar -xvf %{SOURCE44}
  258. %__tar -xvf %{SOURCE45}
  259. %__tar -xvf %{SOURCE46}
  260. %__tar -xvf %{SOURCE47}
  261. %__tar -xvf %{SOURCE48}
  262. %__tar -xvf %{SOURCE49}
  263. %__tar -xvf %{SOURCE50}
  264. %__tar -xvf %{SOURCE51}
  265. %__tar -xvf %{SOURCE52}
  266. %__tar -xvf %{SOURCE53}
  267. %__tar -xvf %{SOURCE54}
  268. %__tar -xvf %{SOURCE55}
  269. %__tar -xvf %{SOURCE56}
  270. %__tar -xvf %{SOURCE57}
  271. %__tar -xvf %{SOURCE58}
  272. %__tar -xvf %{SOURCE59}
  273. %__tar -xvf %{SOURCE60}
  274. %__tar -xvf %{SOURCE61}
  275. %__tar -xvf %{SOURCE62}
  276. %__tar -xvf %{SOURCE63}
  277. %__tar -xvf %{SOURCE64}
  278. %__tar -xvf %{SOURCE65}
  279. %__tar -xvf %{SOURCE66}
  280. %__tar -xvf %{SOURCE67}
  281. %__tar -xvf %{SOURCE68}
  282. %__tar -xvf %{SOURCE69}
  283. %__tar -xvf %{SOURCE70}
  284. %__tar -xvf %{SOURCE71}
  285. %__tar -xvf %{SOURCE72}
  286. %__tar -xvf %{SOURCE73}
  287. %__tar -xvf %{SOURCE74}
  288. %__tar -xvf %{SOURCE75}
  289. %__tar -xvf %{SOURCE76}
  290. %__tar -xvf %{SOURCE77}
  291. %__tar -xvf %{SOURCE78}
  292. %__tar -xvf %{SOURCE79}
  293. %__tar -xvf %{SOURCE80}
  294. %__tar -xvf %{SOURCE81}
  295. %__tar -xvf %{SOURCE82}
  296. %__tar -xvf %{SOURCE83}
  297. %build
  298. %install
  299. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  300. %__mkdir_p %{buildroot}%{_datadir}
  301. ## move texmf-dist to /usr/share/texmf-dist
  302. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  303. ## move texmf to /usr/share/texmf
  304. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  305. ## move tlpkg to /usr/share/tlpkg
  306. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  307. ## move all non-arch binaries to /usr/bin
  308. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  309. ## move others into /usr/share/texmf-dist
  310. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  311. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  312. %__rm -rf * ||:
  313. ## remove duplicated files between texlive and texlive-collection-*
  314. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  315. ## remove unpacked files
  316. x=(
  317. scripts/texlive/fmtutil.sh
  318. texconfig/tcfmgr
  319. web2c/texmf.cnf
  320. web2c/updmap-hdr.cfg
  321. web2c/updmap.cfg
  322. install-tl
  323. )
  324. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  325. pushd %{buildroot}%{_tl_texmfdist}
  326. %__rm -f ${x[@]} ||:
  327. popd
  328. fi
  329. ## Files list
  330. find %{buildroot} -type f -or -type l | \
  331. %__sed -e "s|%{buildroot}||g" > filelist.full
  332. find %{buildroot}%{_tl_texmfdist} -type d | \
  333. %__sed -e "s|^%{buildroot}|%dir |" \
  334. -e "s|$|/|" >> filelist.full
  335. ## subpackages
  336. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  337. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  338. %__mv -f filelist.tmp filelist.full
  339. %clean
  340. %__rm -rf %{buildroot}
  341. %post
  342. %_tl_touch_run texhash
  343. %_tl_touch_run mtxrun
  344. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  345. %_tl_enable_map Map troff-updmap.map
  346. exit 0
  347. %postun
  348. if [ "$1" = 0 ]; then
  349. %_tl_touch_run texhash
  350. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  351. %_tl_disable_map troff-updmap.map
  352. fi
  353. exit 0
  354. %posttrans
  355. %{_tl_exec_texhash}
  356. %{_tl_exec_mtxrun}
  357. %{_tl_exec_updmap}
  358. %{_tl_exec_fmtutil}
  359. exit 0
  360. %files -f filelist.full
  361. %defattr(-,root,root,-)
  362. %files -f filelist.doc doc
  363. %defattr(-,root,root,-)
  364. %changelog
  365. * Sun Jul 6 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  366. - synced tlnet to 20140706
  367. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  368. - synced tlnet to 20140524