[1533] | 1 | ## -*- coding: utf-8-unix -*- |
---|
[7951] | 2 | ## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4: |
---|
[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 |
---|
[7951] | 13 | Release: 4%{?_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 |
---|
| 57 | Source39: psgo.doc.tar.xz |
---|
| 58 | Source40: psgo.tar.xz |
---|
| 59 | Source41: reverxii.doc.tar.xz |
---|
| 60 | Source42: reverxii.tar.xz |
---|
| 61 | Source43: schwalbe-chess.doc.tar.xz |
---|
| 62 | Source44: schwalbe-chess.source.tar.xz |
---|
| 63 | Source45: schwalbe-chess.tar.xz |
---|
| 64 | Source46: sgame.doc.tar.xz |
---|
| 65 | Source47: sgame.tar.xz |
---|
| 66 | Source48: skak.doc.tar.xz |
---|
| 67 | Source49: skak.tar.xz |
---|
| 68 | Source50: skaknew.doc.tar.xz |
---|
| 69 | Source51: skaknew.tar.xz |
---|
| 70 | Source52: sudoku.doc.tar.xz |
---|
| 71 | Source53: sudoku.source.tar.xz |
---|
| 72 | Source54: sudoku.tar.xz |
---|
| 73 | Source55: sudokubundle.doc.tar.xz |
---|
| 74 | Source56: sudokubundle.source.tar.xz |
---|
| 75 | Source57: sudokubundle.tar.xz |
---|
| 76 | Source58: xq.doc.tar.xz |
---|
| 77 | Source59: xq.tar.xz |
---|
| 78 | Source60: xskak.doc.tar.xz |
---|
| 79 | Source61: xskak.source.tar.xz |
---|
| 80 | Source62: xskak.tar.xz |
---|
| 81 | |
---|
[1533] | 82 | Requires: texlive = %{version} |
---|
| 83 | Requires: texlive-collection-latex = %{version} |
---|
| 84 | |
---|
| 85 | Requires(post): texlive = %{version} |
---|
| 86 | Requires(postun): texlive = %{version} |
---|
| 87 | |
---|
| 88 | BuildArch: noarch |
---|
| 89 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 90 | |
---|
| 91 | Vendor: Project Vine |
---|
| 92 | Distribution: Vine Linux |
---|
| 93 | Packager: munepi |
---|
| 94 | |
---|
| 95 | %description |
---|
| 96 | The TeX Live software distribution offers a complete TeX system for a |
---|
| 97 | variety of Unix, Macintosh, Windows and other platforms. It |
---|
| 98 | encompasses programs for editing, typesetting, previewing and printing |
---|
| 99 | of TeX documents in many different languages, and a large collection |
---|
| 100 | of TeX macros and font libraries. |
---|
| 101 | |
---|
| 102 | The distribution includes extensive general documentation about TeX, |
---|
| 103 | as well as the documentation for the included software packages. |
---|
| 104 | |
---|
| 105 | This package is a collection of Games typesetting: |
---|
| 106 | Setups for typesetting various games, including chess. |
---|
| 107 | |
---|
| 108 | This package contains the following CTAN packages: |
---|
[5207] | 109 | bartel-chess-fonts: A set of fonts supporting chess diagrams. |
---|
[1533] | 110 | chess: Fonts for typesetting chess boards. |
---|
| 111 | chess-problem-diagrams: A package for typesetting chess problem diagrams. |
---|
| 112 | chessboard: Print chess boards. |
---|
| 113 | chessfss: A package to handle chess fonts. |
---|
| 114 | crossword: Typeset crossword puzzles. |
---|
| 115 | crosswrd: Macros for typesetting crossword puzzles. |
---|
| 116 | egameps: LaTeX package for typesetting extensive games. |
---|
[7148] | 117 | gamebook: Typeset gamebooks and other interactive novels. |
---|
[1533] | 118 | go: Fonts and macros for typesetting go games. |
---|
[7148] | 119 | hanoi: Tower of Hanoi in TeX. |
---|
[1533] | 120 | hexgame: Provide an environment to draw a hexgame-board. |
---|
[7770] | 121 | horoscop: Generate astrological charts in LaTeX. |
---|
| 122 | logicpuzzle: Typeset (grid-based) logic puzzles. |
---|
[1533] | 123 | othello: Create othello boards in LaTeX. |
---|
[7148] | 124 | othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations. |
---|
[1533] | 125 | psgo: Typeset go diagrams with PSTricks. |
---|
[7148] | 126 | reverxii: Playing Reversi in TeX. |
---|
| 127 | schwalbe-chess: Typeset the German chess magazine "Die Schwalbe" |
---|
[1533] | 128 | sgame: LaTeX style for typesetting strategic games. |
---|
| 129 | skak: Fonts and macros for typesetting chess games. |
---|
| 130 | skaknew: The skak chess fonts redone in Adobe Type 1. |
---|
| 131 | sudoku: Create sudoku grids. |
---|
| 132 | sudokubundle: A set of sudoku-related packages. |
---|
| 133 | xq: Support for writing about xiangqi. |
---|
| 134 | xskak: An extension to the skak package for chess typesetting. |
---|
| 135 | |
---|
| 136 | %description -l ja |
---|
| 137 | TeX Live ソフトウェアディストリビューションは、 |
---|
| 138 | さまざまな Unix, Macintosh, Windows、および |
---|
| 139 | 他のプラットホームに対して完全な TeX システムを提供します。 |
---|
| 140 | 多くの異なった言語を含む TeX ドキュメントの |
---|
| 141 | 編集、組版、閲覧、印刷するためのプログラム、 |
---|
| 142 | そして、TeX マクロやフォントライブラリの大きなコレクションを |
---|
| 143 | 同梱しています。 |
---|
| 144 | |
---|
| 145 | このディストリビューションは |
---|
| 146 | 同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、 |
---|
| 147 | TeX に関するたくさんの一般的なドキュメントを含んでいます。 |
---|
| 148 | |
---|
| 149 | このパッケージは以下のようなパッケージ集です。 |
---|
| 150 | Games typesetting: |
---|
| 151 | Setups for typesetting various games, including chess. |
---|
| 152 | |
---|
| 153 | このパッケージは以下の CTAN パッケージを含んでいます: |
---|
[5207] | 154 | bartel-chess-fonts: A set of fonts supporting chess diagrams. |
---|
[1533] | 155 | chess: Fonts for typesetting chess boards. |
---|
| 156 | chess-problem-diagrams: A package for typesetting chess problem diagrams. |
---|
| 157 | chessboard: Print chess boards. |
---|
| 158 | chessfss: A package to handle chess fonts. |
---|
| 159 | crossword: Typeset crossword puzzles. |
---|
| 160 | crosswrd: Macros for typesetting crossword puzzles. |
---|
| 161 | egameps: LaTeX package for typesetting extensive games. |
---|
[7148] | 162 | gamebook: Typeset gamebooks and other interactive novels. |
---|
[1533] | 163 | go: Fonts and macros for typesetting go games. |
---|
[7148] | 164 | hanoi: Tower of Hanoi in TeX. |
---|
[1533] | 165 | hexgame: Provide an environment to draw a hexgame-board. |
---|
[7770] | 166 | horoscop: Generate astrological charts in LaTeX. |
---|
| 167 | logicpuzzle: Typeset (grid-based) logic puzzles. |
---|
[1533] | 168 | othello: Create othello boards in LaTeX. |
---|
[7148] | 169 | othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations. |
---|
[1533] | 170 | psgo: Typeset go diagrams with PSTricks. |
---|
[7148] | 171 | reverxii: Playing Reversi in TeX. |
---|
| 172 | schwalbe-chess: Typeset the German chess magazine "Die Schwalbe" |
---|
[1533] | 173 | sgame: LaTeX style for typesetting strategic games. |
---|
| 174 | skak: Fonts and macros for typesetting chess games. |
---|
| 175 | skaknew: The skak chess fonts redone in Adobe Type 1. |
---|
| 176 | sudoku: Create sudoku grids. |
---|
| 177 | sudokubundle: A set of sudoku-related packages. |
---|
| 178 | xq: Support for writing about xiangqi. |
---|
| 179 | xskak: An extension to the skak package for chess typesetting. |
---|
| 180 | |
---|
| 181 | %package doc |
---|
| 182 | Summary: TeX Live: Documentation files of %{name} |
---|
| 183 | Group: Applications/Publishing |
---|
| 184 | Requires: %{name} = %{version}-%{release} |
---|
| 185 | |
---|
| 186 | %description doc |
---|
| 187 | This package contains documentation files of %{name}. |
---|
| 188 | |
---|
| 189 | %prep |
---|
[7770] | 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} |
---|
[1533] | 253 | |
---|
| 254 | %build |
---|
| 255 | |
---|
| 256 | %install |
---|
| 257 | [ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot} |
---|
| 258 | |
---|
[7770] | 259 | %__mkdir_p %{buildroot}%{_datadir} |
---|
[1533] | 260 | |
---|
[7770] | 261 | ## move texmf-dist to /usr/share/texmf-dist |
---|
| 262 | [ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||: |
---|
[1533] | 263 | |
---|
[7770] | 264 | ## move texmf to /usr/share/texmf |
---|
| 265 | [ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||: |
---|
[1533] | 266 | |
---|
[7770] | 267 | ## move tlpkg to /usr/share/tlpkg |
---|
| 268 | [ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||: |
---|
| 269 | |
---|
| 270 | ## move all non-arch binaries to /usr/bin |
---|
| 271 | [ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||: |
---|
| 272 | |
---|
| 273 | ## move others into /usr/share/texmf-dist |
---|
| 274 | %__mkdir_p %{buildroot}%{_tl_texmfdist} |
---|
| 275 | %__cp -a * %{buildroot}%{_tl_texmfdist}/ ||: |
---|
| 276 | %__rm -rf * ||: |
---|
| 277 | |
---|
| 278 | |
---|
| 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=( |
---|
[7951] | 283 | scripts/fontools/autoinst |
---|
[7855] | 284 | scripts/texlive/tlmgr.pl |
---|
[7951] | 285 | scripts/texlive/updmap.pl |
---|
[7770] | 286 | texconfig/tcfmgr |
---|
| 287 | texconfig/tcfmgr.map |
---|
| 288 | web2c/fmtutil.cnf |
---|
| 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.cfg |
---|
| 297 | web2c/updmap-hdr.cfg |
---|
| 298 | doc/chktex/ChkTeX.pdf |
---|
| 299 | install-tl |
---|
| 300 | ) |
---|
| 301 | if [ -d %{buildroot}%{_tl_texmfdist} ]; then |
---|
| 302 | pushd %{buildroot}%{_tl_texmfdist} |
---|
| 303 | %__rm -f ${x[@]} ||: |
---|
[5207] | 304 | popd |
---|
[7770] | 305 | fi |
---|
| 306 | |
---|
[1533] | 307 | ## Files list |
---|
| 308 | find %{buildroot} -type f -or -type l | \ |
---|
| 309 | %__sed -e "s|%{buildroot}||g" > filelist.full |
---|
| 310 | |
---|
[7770] | 311 | find %{buildroot}%{_tl_texmfdist} -type d | \ |
---|
[1533] | 312 | %__sed -e "s|^%{buildroot}|%dir |" \ |
---|
| 313 | -e "s|$|/|" >> filelist.full |
---|
| 314 | |
---|
| 315 | ## subpackages |
---|
| 316 | grep "/texmf-dist/doc/" filelist.full > filelist.doc |
---|
| 317 | cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp |
---|
| 318 | %__mv -f filelist.tmp filelist.full |
---|
| 319 | |
---|
| 320 | %clean |
---|
| 321 | %__rm -rf %{buildroot} |
---|
| 322 | |
---|
| 323 | %post |
---|
[7770] | 324 | %_tl_touch_run texhash |
---|
| 325 | %_tl_touch_run mtxrun |
---|
[1533] | 326 | |
---|
[7770] | 327 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 328 | |
---|
[7770] | 329 | %_tl_enable_map Map SkakNew.map |
---|
[2505] | 330 | |
---|
[1533] | 331 | exit 0 |
---|
| 332 | |
---|
| 333 | |
---|
| 334 | %postun |
---|
| 335 | if [ "$1" = 0 ]; then |
---|
[7770] | 336 | %_tl_touch_run texhash |
---|
[1533] | 337 | |
---|
[7770] | 338 | [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0 |
---|
[1533] | 339 | |
---|
[7770] | 340 | %_tl_disable_map SkakNew.map |
---|
[1533] | 341 | |
---|
| 342 | fi |
---|
| 343 | |
---|
| 344 | exit 0 |
---|
| 345 | |
---|
[7148] | 346 | %posttrans |
---|
[7770] | 347 | %{_tl_exec_texhash} |
---|
| 348 | %{_tl_exec_mtxrun} |
---|
| 349 | %{_tl_exec_updmap} |
---|
| 350 | %{_tl_exec_fmtutil} |
---|
[7148] | 351 | exit 0 |
---|
| 352 | |
---|
| 353 | |
---|
[1533] | 354 | %files -f filelist.full |
---|
[5207] | 355 | %defattr(-,root,root,-) |
---|
[1533] | 356 | |
---|
| 357 | %files -f filelist.doc doc |
---|
[5207] | 358 | %defattr(-,root,root,-) |
---|
[1533] | 359 | |
---|
| 360 | %changelog |
---|
[7951] | 361 | * Fri Nov 1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4 |
---|
| 362 | - TLNET 20131101 |
---|
| 363 | |
---|
[7855] | 364 | * Wed Oct 2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3 |
---|
| 365 | - TLNET 20131002 |
---|
| 366 | |
---|
[7810] | 367 | * Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2 |
---|
| 368 | - TLNET 20130919 |
---|
| 369 | |
---|
[7770] | 370 | * Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1 |
---|
| 371 | - generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-games |
---|
| 372 | - TLNET 20130823 |
---|