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