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

Revision 7855, 10.8 KB checked in by munepi, 11 years ago (diff)

update source snapshot, TLNET: 20131002

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