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

Revision 9529, 11.6 KB checked in by munepi, 9 years ago (diff)

TeX Live 2015/pretest

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