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

Revision 8049, 11.1 KB checked in by munepi, 10 years ago (diff)

TLNET 20131218

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