texlive-collection-games-vl.spec 11 KB

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