texlive-collection-games-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. ## -*- coding: utf-8-unix -*-
  2. ## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
  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: 2%{?_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/context/stubs/unix/mtxrun
  284. scripts/ptex2pdf/ptex2pdf.lua
  285. scripts/texlive/fmtutil.pl
  286. scripts/texlive/texconfig-dialog.sh
  287. scripts/texlive/texconfig-sys.sh
  288. scripts/texlive/texconfig.sh
  289. scripts/texlive/texlinks.sh
  290. scripts/texlive/tlmgr.pl
  291. scripts/texlive/updmap.pl
  292. texconfig/tcfmgr
  293. web2c/fmtutil.cnf
  294. web2c/mktex.opt
  295. web2c/mktexdir
  296. web2c/mktexdir.opt
  297. web2c/mktexnam
  298. web2c/mktexnam.opt
  299. web2c/mktexupd
  300. web2c/texmf.cnf
  301. web2c/updmap-hdr.cfg
  302. web2c/updmap.cfg
  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 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
  347. - TeX Live 2015/pretest
  348. - synced tlnet to 20150522 (TeX Live 2015/pretest)
  349. * Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
  350. - TeX Live 2015/pretest
  351. - synced tlnet to 20150426 (TeX Live 2015/pretest)
  352. * Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
  353. - synced tlnet to 20150401
  354. * Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
  355. - synced tlnet to 20141028
  356. * Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
  357. - synced tlnet to 20140706
  358. * Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
  359. - upgraded to TeX Live 2014
  360. * Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
  361. - synced tlnet to 20140406
  362. * Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
  363. - synced tlnet to 20131218
  364. * Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
  365. - synced tlnet to 20131101
  366. * Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
  367. - synced tlnet to 20131002
  368. * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
  369. - synced tlnet to 20130919
  370. * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
  371. - upgraded to TeX Live 2013
  372. - used tlnet archives
  373. - synced tlnet to 20130823
  374. - added macros.texlive
  375. * Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
  376. - updated to TeX Live 2012
  377. * Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
  378. - updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
  379. - set external dependencies (texlive-collection-binextra,
  380. texlive-collection-fontutils)
  381. * Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
  382. - updated to TeX Live 2011
  383. - merged texlive-vtlpkg-2009-osx.patch from OSXWS
  384. - added %doc README (%files)
  385. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
  386. - applied texlive-vtlpkg-2009-vine.patch
  387. - remove arch dependent binaries
  388. - updated tlpdb2rpmspec.sh.in:
  389. - improved tlpdb4a()
  390. - make symlinks of core script utils (texlive-collection-binextra,
  391. texlive-collection-context, texlive-collection-fontutils,
  392. texlive-collection-langgreek, texlive-collection-langindic,
  393. texlive-collection-latex, texlive-collection-latexextra,
  394. texlive-collection-latexrecommended, texlive-collection-pictures,
  395. texlive-collection-pstricks, texlive-collection-science)
  396. * Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
  397. - updated tlpdb2rpmspec.sh.in:
  398. - improved %post
  399. * Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
  400. - updated tlpdb2rpmspec.sh.in:
  401. - removed arch dependent binaries (texlive-collection-latexextra)
  402. - improved updmap process in %post and %postun
  403. - fixed perl path
  404. * Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
  405. - initial build