texlive-collection-games-vl.spec 11 KB

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