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