source: projects/specs/trunk/t/texlive-collection-games/texlive-collection-games-vl.spec @ 8744

Revision 8744, 11.2 KB checked in by munepi, 10 years ago (diff)

synced tlnet to 20140706

Line 
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
9Summary: TeX Live: Games typesetting
10Summary(ja): TeX Live: Games typesetting
11Name: texlive-collection-games
12Version: 2014
13Release: 2%{?_dist_release}
14License: GPL+, Public Domain, LPPL 1.2, LPPL, Freely redistributable without restriction, LPPL 1.3
15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
18Source0: bartel-chess-fonts.doc.tar.xz
19Source1: bartel-chess-fonts.tar.xz
20Source2: chess.doc.tar.xz
21Source3: chess.tar.xz
22Source4: chess-problem-diagrams.doc.tar.xz
23Source5: chess-problem-diagrams.source.tar.xz
24Source6: chess-problem-diagrams.tar.xz
25Source7: chessboard.doc.tar.xz
26Source8: chessboard.source.tar.xz
27Source9: chessboard.tar.xz
28Source10: chessfss.doc.tar.xz
29Source11: chessfss.source.tar.xz
30Source12: chessfss.tar.xz
31Source13: crossword.doc.tar.xz
32Source14: crossword.source.tar.xz
33Source15: crossword.tar.xz
34Source16: crosswrd.doc.tar.xz
35Source17: crosswrd.source.tar.xz
36Source18: crosswrd.tar.xz
37Source19: egameps.doc.tar.xz
38Source20: egameps.tar.xz
39Source21: gamebook.doc.tar.xz
40Source22: gamebook.source.tar.xz
41Source23: gamebook.tar.xz
42Source24: go.doc.tar.xz
43Source25: go.source.tar.xz
44Source26: go.tar.xz
45Source27: hanoi.tar.xz
46Source28: hexgame.doc.tar.xz
47Source29: hexgame.tar.xz
48Source30: horoscop.doc.tar.xz
49Source31: horoscop.source.tar.xz
50Source32: horoscop.tar.xz
51Source33: labyrinth.doc.tar.xz
52Source34: labyrinth.tar.xz
53Source35: logicpuzzle.doc.tar.xz
54Source36: logicpuzzle.tar.xz
55Source37: othello.doc.tar.xz
56Source38: othello.tar.xz
57Source39: othelloboard.doc.tar.xz
58Source40: othelloboard.tar.xz
59Source41: pas-crosswords.doc.tar.xz
60Source42: pas-crosswords.tar.xz
61Source43: psgo.doc.tar.xz
62Source44: psgo.tar.xz
63Source45: reverxii.doc.tar.xz
64Source46: reverxii.tar.xz
65Source47: rubik.doc.tar.xz
66Source48: rubik.source.tar.xz
67Source49: rubik.tar.xz
68Source50: schwalbe-chess.doc.tar.xz
69Source51: schwalbe-chess.source.tar.xz
70Source52: schwalbe-chess.tar.xz
71Source53: sgame.doc.tar.xz
72Source54: sgame.tar.xz
73Source55: skak.doc.tar.xz
74Source56: skak.tar.xz
75Source57: skaknew.doc.tar.xz
76Source58: skaknew.tar.xz
77Source59: sudoku.doc.tar.xz
78Source60: sudoku.source.tar.xz
79Source61: sudoku.tar.xz
80Source62: sudokubundle.doc.tar.xz
81Source63: sudokubundle.source.tar.xz
82Source64: sudokubundle.tar.xz
83Source65: xq.doc.tar.xz
84Source66: xq.tar.xz
85Source67: xskak.doc.tar.xz
86Source68: xskak.source.tar.xz
87Source69: xskak.tar.xz
88
89Requires: texlive = %{version}
90Requires: texlive-collection-latex = %{version}
91
92Requires(post):         texlive = %{version}
93Requires(postun):       texlive = %{version}
94
95BuildArch:      noarch
96Buildroot:      %{_tmppath}/%{name}-%{version}-root
97
98Vendor:         Project Vine
99Distribution:   Vine Linux
100Packager:       munepi
101
102%description
103The TeX Live software distribution offers a complete TeX system for a
104variety of Unix, Macintosh, Windows and other platforms. It
105encompasses programs for editing, typesetting, previewing and printing
106of TeX documents in many different languages, and a large collection
107of TeX macros and font libraries.
108
109The distribution includes extensive general documentation about TeX,
110as well as the documentation for the included software packages.
111
112This package is a collection of Games typesetting:
113Setups for typesetting various games, including chess.
114
115This package contains the following CTAN packages:
116bartel-chess-fonts: A set of fonts supporting chess diagrams.
117chess: Fonts for typesetting chess boards.
118chess-problem-diagrams: A package for typesetting chess problem diagrams.
119chessboard: Print chess boards.
120chessfss: A package to handle chess fonts.
121crossword: Typeset crossword puzzles.
122crosswrd: Macros for typesetting crossword puzzles.
123egameps: LaTeX package for typesetting extensive games.
124gamebook: Typeset gamebooks and other interactive novels.
125go: Fonts and macros for typesetting go games.
126hanoi: Tower of Hanoi in TeX.
127hexgame: Provide an environment to draw a hexgame-board.
128horoscop: Generate astrological charts in LaTeX.
129labyrinth: Draw labyrinths and solution paths.
130logicpuzzle: Typeset (grid-based) logic puzzles.
131othello: Modification of a Go package to create othello boards.
132othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations.
133pas-crosswords: Creating crossword grids, using TikZ.
134psgo: Typeset go diagrams with PSTricks.
135reverxii: Playing Reversi in TeX.
136rubik: Document Rubik cube configurations and rotation sequences.
137schwalbe-chess: Typeset the German chess magazine "Die Schwalbe"
138sgame: LaTeX style for typesetting strategic games.
139skak: Fonts and macros for typesetting chess games.
140skaknew: The skak chess fonts redone in Adobe Type 1.
141sudoku: Create sudoku grids.
142sudokubundle: A set of sudoku-related packages.
143xq: Support for writing about xiangqi.
144xskak: An extension to the skak package for chess typesetting.
145
146%description -l ja
147TeX Live ソフトウェアディストリビューションは、
148さまざまな Unix, Macintosh, Windows、および
149他のプラットホームに対して完全な TeX システムを提供します。
150多くの異なった言語を含む TeX ドキュメントの
151編集、組版、閲覧、印刷するためのプログラム、
152そして、TeX マクロやフォントライブラリの大きなコレクションを
153同梱しています。
154
155このディストリビューションは
156同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
157TeX に関するたくさんの一般的なドキュメントを含んでいます。
158
159このパッケージは以下のようなパッケージ集です。
160Games typesetting:
161Setups for typesetting various games, including chess.
162
163このパッケージは以下の CTAN パッケージを含んでいます:
164bartel-chess-fonts: A set of fonts supporting chess diagrams.
165chess: Fonts for typesetting chess boards.
166chess-problem-diagrams: A package for typesetting chess problem diagrams.
167chessboard: Print chess boards.
168chessfss: A package to handle chess fonts.
169crossword: Typeset crossword puzzles.
170crosswrd: Macros for typesetting crossword puzzles.
171egameps: LaTeX package for typesetting extensive games.
172gamebook: Typeset gamebooks and other interactive novels.
173go: Fonts and macros for typesetting go games.
174hanoi: Tower of Hanoi in TeX.
175hexgame: Provide an environment to draw a hexgame-board.
176horoscop: Generate astrological charts in LaTeX.
177labyrinth: Draw labyrinths and solution paths.
178logicpuzzle: Typeset (grid-based) logic puzzles.
179othello: Modification of a Go package to create othello boards.
180othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations.
181pas-crosswords: Creating crossword grids, using TikZ.
182psgo: Typeset go diagrams with PSTricks.
183reverxii: Playing Reversi in TeX.
184rubik: Document Rubik cube configurations and rotation sequences.
185schwalbe-chess: Typeset the German chess magazine "Die Schwalbe"
186sgame: LaTeX style for typesetting strategic games.
187skak: Fonts and macros for typesetting chess games.
188skaknew: The skak chess fonts redone in Adobe Type 1.
189sudoku: Create sudoku grids.
190sudokubundle: A set of sudoku-related packages.
191xq: Support for writing about xiangqi.
192xskak: An extension to the skak package for chess typesetting.
193
194%package doc
195Summary: TeX Live: Documentation files of %{name}
196Group: Applications/Publishing
197Requires: %{name} = %{version}-%{release}
198
199%description doc
200This 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
302x=(
303scripts/texlive/fmtutil.sh
304texconfig/tcfmgr
305web2c/texmf.cnf
306web2c/updmap-hdr.cfg
307web2c/updmap.cfg
308install-tl
309)
310if [ -d %{buildroot}%{_tl_texmfdist} ]; then
311pushd %{buildroot}%{_tl_texmfdist}
312%__rm -f ${x[@]} ||:
313popd
314fi
315
316## Files list
317find %{buildroot} -type f -or -type l | \
318    %__sed -e "s|%{buildroot}||g" > filelist.full
319
320find %{buildroot}%{_tl_texmfdist} -type d | \
321    %__sed -e "s|^%{buildroot}|%dir |" \
322           -e "s|$|/|"             >> filelist.full
323
324## subpackages
325grep "/texmf-dist/doc/" filelist.full > filelist.doc
326cat 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
340exit 0
341
342
343%postun
344if [ "$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
351fi
352
353exit 0
354
355%posttrans
356%{_tl_exec_texhash}
357%{_tl_exec_mtxrun}
358%{_tl_exec_updmap}
359%{_tl_exec_fmtutil}
360exit 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
Note: See TracBrowser for help on using the repository browser.