texlive-collection-games-vl.spec 12 KB

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