texlive-collection-games-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2014-1:
  3. ## tlpdb2rpmspec collection-games
  4. %global _use_internal_dependency_generator 0
  5. %global __find_provides %{nil}
  6. %global __find_requires %{nil}
  7. Summary: TeX Live: Games typesetting
  8. Summary(ja): TeX Live: Games typesetting
  9. Name: texlive-collection-games
  10. Version: 2014
  11. Release: 1%{?_dist_release}
  12. License: GPL+, Public Domain, LPPL 1.2, LPPL, Freely redistributable without restriction, LPPL 1.3
  13. Group: Applications/Publishing
  14. URL:http://www.tug.org/texlive/
  15. Source0: bartel-chess-fonts.doc.tar.xz
  16. Source1: bartel-chess-fonts.tar.xz
  17. Source2: chess.doc.tar.xz
  18. Source3: chess.tar.xz
  19. Source4: chess-problem-diagrams.doc.tar.xz
  20. Source5: chess-problem-diagrams.source.tar.xz
  21. Source6: chess-problem-diagrams.tar.xz
  22. Source7: chessboard.doc.tar.xz
  23. Source8: chessboard.source.tar.xz
  24. Source9: chessboard.tar.xz
  25. Source10: chessfss.doc.tar.xz
  26. Source11: chessfss.source.tar.xz
  27. Source12: chessfss.tar.xz
  28. Source13: crossword.doc.tar.xz
  29. Source14: crossword.source.tar.xz
  30. Source15: crossword.tar.xz
  31. Source16: crosswrd.doc.tar.xz
  32. Source17: crosswrd.source.tar.xz
  33. Source18: crosswrd.tar.xz
  34. Source19: egameps.doc.tar.xz
  35. Source20: egameps.tar.xz
  36. Source21: gamebook.doc.tar.xz
  37. Source22: gamebook.source.tar.xz
  38. Source23: gamebook.tar.xz
  39. Source24: go.doc.tar.xz
  40. Source25: go.source.tar.xz
  41. Source26: go.tar.xz
  42. Source27: hanoi.tar.xz
  43. Source28: hexgame.doc.tar.xz
  44. Source29: hexgame.tar.xz
  45. Source30: horoscop.doc.tar.xz
  46. Source31: horoscop.source.tar.xz
  47. Source32: horoscop.tar.xz
  48. Source33: labyrinth.doc.tar.xz
  49. Source34: labyrinth.tar.xz
  50. Source35: logicpuzzle.doc.tar.xz
  51. Source36: logicpuzzle.tar.xz
  52. Source37: othello.doc.tar.xz
  53. Source38: othello.tar.xz
  54. Source39: othelloboard.doc.tar.xz
  55. Source40: othelloboard.tar.xz
  56. Source41: pas-crosswords.doc.tar.xz
  57. Source42: pas-crosswords.tar.xz
  58. Source43: psgo.doc.tar.xz
  59. Source44: psgo.tar.xz
  60. Source45: reverxii.doc.tar.xz
  61. Source46: reverxii.tar.xz
  62. Source47: rubik.doc.tar.xz
  63. Source48: rubik.source.tar.xz
  64. Source49: rubik.tar.xz
  65. Source50: schwalbe-chess.doc.tar.xz
  66. Source51: schwalbe-chess.source.tar.xz
  67. Source52: schwalbe-chess.tar.xz
  68. Source53: sgame.doc.tar.xz
  69. Source54: sgame.tar.xz
  70. Source55: skak.doc.tar.xz
  71. Source56: skak.tar.xz
  72. Source57: skaknew.doc.tar.xz
  73. Source58: skaknew.tar.xz
  74. Source59: sudoku.doc.tar.xz
  75. Source60: sudoku.source.tar.xz
  76. Source61: sudoku.tar.xz
  77. Source62: sudokubundle.doc.tar.xz
  78. Source63: sudokubundle.source.tar.xz
  79. Source64: sudokubundle.tar.xz
  80. Source65: xq.doc.tar.xz
  81. Source66: xq.tar.xz
  82. Source67: xskak.doc.tar.xz
  83. Source68: xskak.source.tar.xz
  84. Source69: xskak.tar.xz
  85. Requires: texlive = %{version}
  86. Requires: texlive-collection-latex = %{version}
  87. Requires(post): texlive = %{version}
  88. Requires(postun): texlive = %{version}
  89. BuildArch: noarch
  90. Buildroot: %{_tmppath}/%{name}-%{version}-root
  91. Vendor: Project Vine
  92. Distribution: Vine Linux
  93. Packager: munepi
  94. %description
  95. The TeX Live software distribution offers a complete TeX system for a
  96. variety of Unix, Macintosh, Windows and other platforms. It
  97. encompasses programs for editing, typesetting, previewing and printing
  98. of TeX documents in many different languages, and a large collection
  99. of TeX macros and font libraries.
  100. The distribution includes extensive general documentation about TeX,
  101. as well as the documentation for the included software packages.
  102. This package is a collection of Games typesetting:
  103. Setups for typesetting various games, including chess.
  104. This package contains the following CTAN packages:
  105. bartel-chess-fonts: A set of fonts supporting chess diagrams.
  106. chess: Fonts for typesetting chess boards.
  107. chess-problem-diagrams: A package for typesetting chess problem diagrams.
  108. chessboard: Print chess boards.
  109. chessfss: A package to handle chess fonts.
  110. crossword: Typeset crossword puzzles.
  111. crosswrd: Macros for typesetting crossword puzzles.
  112. egameps: LaTeX package for typesetting extensive games.
  113. gamebook: Typeset gamebooks and other interactive novels.
  114. go: Fonts and macros for typesetting go games.
  115. hanoi: Tower of Hanoi in TeX.
  116. hexgame: Provide an environment to draw a hexgame-board.
  117. horoscop: Generate astrological charts in LaTeX.
  118. labyrinth: Draw labyrinths and solution paths.
  119. logicpuzzle: Typeset (grid-based) logic puzzles.
  120. othello: Modification of a Go package to create othello boards.
  121. othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations.
  122. pas-crosswords: Creating crossword grids, using TikZ.
  123. psgo: Typeset go diagrams with PSTricks.
  124. reverxii: Playing Reversi in TeX.
  125. rubik: Document Rubik cube configurations and rotation sequences.
  126. schwalbe-chess: Typeset the German chess magazine "Die Schwalbe"
  127. sgame: LaTeX style for typesetting strategic games.
  128. skak: Fonts and macros for typesetting chess games.
  129. skaknew: The skak chess fonts redone in Adobe Type 1.
  130. sudoku: Create sudoku grids.
  131. sudokubundle: A set of sudoku-related packages.
  132. xq: Support for writing about xiangqi.
  133. xskak: An extension to the skak package for chess typesetting.
  134. %description -l ja
  135. TeX Live ソフトウェアディストリビューションは、
  136. さまざまな Unix, Macintosh, Windows、および
  137. 他のプラットホームに対して完全な TeX システムを提供します。
  138. 多くの異なった言語を含む TeX ドキュメントの
  139. 編集、組版、閲覧、印刷するためのプログラム、
  140. そして、TeX マクロやフォントライブラリの大きなコレクションを
  141. 同梱しています。
  142. このディストリビューションは
  143. 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
  144. TeX に関するたくさんの一般的なドキュメントを含んでいます。
  145. このパッケージは以下のようなパッケージ集です。
  146. Games typesetting:
  147. Setups for typesetting various games, including chess.
  148. このパッケージは以下の CTAN パッケージを含んでいます:
  149. bartel-chess-fonts: A set of fonts supporting chess diagrams.
  150. chess: Fonts for typesetting chess boards.
  151. chess-problem-diagrams: A package for typesetting chess problem diagrams.
  152. chessboard: Print chess boards.
  153. chessfss: A package to handle chess fonts.
  154. crossword: Typeset crossword puzzles.
  155. crosswrd: Macros for typesetting crossword puzzles.
  156. egameps: LaTeX package for typesetting extensive games.
  157. gamebook: Typeset gamebooks and other interactive novels.
  158. go: Fonts and macros for typesetting go games.
  159. hanoi: Tower of Hanoi in TeX.
  160. hexgame: Provide an environment to draw a hexgame-board.
  161. horoscop: Generate astrological charts in LaTeX.
  162. labyrinth: Draw labyrinths and solution paths.
  163. logicpuzzle: Typeset (grid-based) logic puzzles.
  164. othello: Modification of a Go package to create othello boards.
  165. othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations.
  166. pas-crosswords: Creating crossword grids, using TikZ.
  167. psgo: Typeset go diagrams with PSTricks.
  168. reverxii: Playing Reversi in TeX.
  169. rubik: Document Rubik cube configurations and rotation sequences.
  170. schwalbe-chess: Typeset the German chess magazine "Die Schwalbe"
  171. sgame: LaTeX style for typesetting strategic games.
  172. skak: Fonts and macros for typesetting chess games.
  173. skaknew: The skak chess fonts redone in Adobe Type 1.
  174. sudoku: Create sudoku grids.
  175. sudokubundle: A set of sudoku-related packages.
  176. xq: Support for writing about xiangqi.
  177. xskak: An extension to the skak package for chess typesetting.
  178. %package doc
  179. Summary: TeX Live: Documentation files of %{name}
  180. Group: Applications/Publishing
  181. Requires: %{name} = %{version}-%{release}
  182. %description doc
  183. This package contains documentation files of %{name}.
  184. %prep
  185. %setup -c -n %{name}-%{version}
  186. %__tar -xvf %{SOURCE1}
  187. %__tar -xvf %{SOURCE2}
  188. %__tar -xvf %{SOURCE3}
  189. %__tar -xvf %{SOURCE4}
  190. %__tar -xvf %{SOURCE5}
  191. %__tar -xvf %{SOURCE6}
  192. %__tar -xvf %{SOURCE7}
  193. %__tar -xvf %{SOURCE8}
  194. %__tar -xvf %{SOURCE9}
  195. %__tar -xvf %{SOURCE10}
  196. %__tar -xvf %{SOURCE11}
  197. %__tar -xvf %{SOURCE12}
  198. %__tar -xvf %{SOURCE13}
  199. %__tar -xvf %{SOURCE14}
  200. %__tar -xvf %{SOURCE15}
  201. %__tar -xvf %{SOURCE16}
  202. %__tar -xvf %{SOURCE17}
  203. %__tar -xvf %{SOURCE18}
  204. %__tar -xvf %{SOURCE19}
  205. %__tar -xvf %{SOURCE20}
  206. %__tar -xvf %{SOURCE21}
  207. %__tar -xvf %{SOURCE22}
  208. %__tar -xvf %{SOURCE23}
  209. %__tar -xvf %{SOURCE24}
  210. %__tar -xvf %{SOURCE25}
  211. %__tar -xvf %{SOURCE26}
  212. %__tar -xvf %{SOURCE27}
  213. %__tar -xvf %{SOURCE28}
  214. %__tar -xvf %{SOURCE29}
  215. %__tar -xvf %{SOURCE30}
  216. %__tar -xvf %{SOURCE31}
  217. %__tar -xvf %{SOURCE32}
  218. %__tar -xvf %{SOURCE33}
  219. %__tar -xvf %{SOURCE34}
  220. %__tar -xvf %{SOURCE35}
  221. %__tar -xvf %{SOURCE36}
  222. %__tar -xvf %{SOURCE37}
  223. %__tar -xvf %{SOURCE38}
  224. %__tar -xvf %{SOURCE39}
  225. %__tar -xvf %{SOURCE40}
  226. %__tar -xvf %{SOURCE41}
  227. %__tar -xvf %{SOURCE42}
  228. %__tar -xvf %{SOURCE43}
  229. %__tar -xvf %{SOURCE44}
  230. %__tar -xvf %{SOURCE45}
  231. %__tar -xvf %{SOURCE46}
  232. %__tar -xvf %{SOURCE47}
  233. %__tar -xvf %{SOURCE48}
  234. %__tar -xvf %{SOURCE49}
  235. %__tar -xvf %{SOURCE50}
  236. %__tar -xvf %{SOURCE51}
  237. %__tar -xvf %{SOURCE52}
  238. %__tar -xvf %{SOURCE53}
  239. %__tar -xvf %{SOURCE54}
  240. %__tar -xvf %{SOURCE55}
  241. %__tar -xvf %{SOURCE56}
  242. %__tar -xvf %{SOURCE57}
  243. %__tar -xvf %{SOURCE58}
  244. %__tar -xvf %{SOURCE59}
  245. %__tar -xvf %{SOURCE60}
  246. %__tar -xvf %{SOURCE61}
  247. %__tar -xvf %{SOURCE62}
  248. %__tar -xvf %{SOURCE63}
  249. %__tar -xvf %{SOURCE64}
  250. %__tar -xvf %{SOURCE65}
  251. %__tar -xvf %{SOURCE66}
  252. %__tar -xvf %{SOURCE67}
  253. %__tar -xvf %{SOURCE68}
  254. %__tar -xvf %{SOURCE69}
  255. %build
  256. %install
  257. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
  258. %__mkdir_p %{buildroot}%{_datadir}
  259. ## move texmf-dist to /usr/share/texmf-dist
  260. [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
  261. ## move texmf to /usr/share/texmf
  262. [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
  263. ## move tlpkg to /usr/share/tlpkg
  264. [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
  265. ## move all non-arch binaries to /usr/bin
  266. [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
  267. ## move others into /usr/share/texmf-dist
  268. %__mkdir_p %{buildroot}%{_tl_texmfdist}
  269. %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
  270. %__rm -rf * ||:
  271. ## remove duplicated files between texlive and texlive-collection-*
  272. ## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
  273. ## remove unpacked files
  274. x=(
  275. # scripts/texlive/tlmgr.pl
  276. # scripts/texlive/updmap.pl
  277. # scripts/fontools/autoinst
  278. # scripts/glossaries/makeglossaries
  279. # scripts/m-tx/m-tx.lua
  280. # scripts/musixtex/musixtex.lua
  281. # scripts/pmx/pmx2pdf.lua
  282. # scripts/latexmk/latexmk.pl
  283. # scripts/jfontmaps/kanji-config-updmap.pl
  284. # scripts/jfontmaps/kanji-fontmap-creator.pl
  285. # scripts/latexpand/latexpand
  286. # scripts/epstopdf/epstopdf.pl
  287. # scripts/convbkmk/convbkmk.rb
  288. # scripts/jfontmaps/kanji-config-updmap-sys.sh
  289. # scripts/luaotfload/luaotfload-tool.lua
  290. # texconfig/tcfmgr
  291. # texconfig/tcfmgr.map
  292. # web2c/fmtutil.cnf
  293. # web2c/mktex.opt
  294. # web2c/mktexdir
  295. # web2c/mktexdir.opt
  296. # web2c/mktexnam
  297. # web2c/mktexnam.opt
  298. # web2c/mktexupd
  299. # web2c/texmf.cnf
  300. # web2c/updmap.cfg
  301. # web2c/updmap-hdr.cfg
  302. # doc/chktex/ChkTeX.pdf
  303. install-tl
  304. )
  305. if [ -d %{buildroot}%{_tl_texmfdist} ]; then
  306. pushd %{buildroot}%{_tl_texmfdist}
  307. %__rm -f ${x[@]} ||:
  308. popd
  309. fi
  310. ## Files list
  311. find %{buildroot} -type f -or -type l | \
  312. %__sed -e "s|%{buildroot}||g" > filelist.full
  313. find %{buildroot}%{_tl_texmfdist} -type d | \
  314. %__sed -e "s|^%{buildroot}|%dir |" \
  315. -e "s|$|/|" >> filelist.full
  316. ## subpackages
  317. grep "/texmf-dist/doc/" filelist.full > filelist.doc
  318. cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
  319. %__mv -f filelist.tmp filelist.full
  320. %clean
  321. %__rm -rf %{buildroot}
  322. %post
  323. %_tl_touch_run texhash
  324. %_tl_touch_run mtxrun
  325. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  326. %_tl_enable_map Map SkakNew.map
  327. exit 0
  328. %postun
  329. if [ "$1" = 0 ]; then
  330. %_tl_touch_run texhash
  331. [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
  332. %_tl_disable_map SkakNew.map
  333. fi
  334. exit 0
  335. %posttrans
  336. %{_tl_exec_texhash}
  337. %{_tl_exec_mtxrun}
  338. %{_tl_exec_updmap}
  339. %{_tl_exec_fmtutil}
  340. exit 0
  341. %files -f filelist.full
  342. %defattr(-,root,root,-)
  343. %files -f filelist.doc doc
  344. %defattr(-,root,root,-)
  345. %changelog
  346. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  347. - TLNET 20140524