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

Revision 7770, 12.1 KB checked in by munepi, 11 years ago (diff)

dropped all obsolete texlive-collection packages of TeX Live 2012

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-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: 2013
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: 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=(
283texconfig/tcfmgr
284texconfig/tcfmgr.map
285web2c/fmtutil.cnf
286web2c/mktex.opt
287web2c/mktexdir
288web2c/mktexdir.opt
289web2c/mktexnam
290web2c/mktexnam.opt
291web2c/mktexupd
292web2c/texmf.cnf
293web2c/updmap.cfg
294web2c/updmap-hdr.cfg
295doc/chktex/ChkTeX.pdf
296install-tl
297)
298if [ -d %{buildroot}%{_tl_texmfdist} ]; then
299pushd %{buildroot}%{_tl_texmfdist}
300%__rm -f ${x[@]} ||:
301popd
302fi
303
304## Files list
305find %{buildroot} -type f -or -type l | \
306    %__sed -e "s|%{buildroot}||g" > filelist.full
307
308find %{buildroot}%{_tl_texmfdist} -type d | \
309    %__sed -e "s|^%{buildroot}|%dir |" \
310           -e "s|$|/|"             >> filelist.full
311
312## subpackages
313grep "/texmf-dist/doc/" filelist.full > filelist.doc
314cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
315%__mv -f filelist.tmp filelist.full
316
317%clean
318%__rm -rf %{buildroot}
319
320%post
321%_tl_touch_run texhash
322%_tl_touch_run mtxrun
323
324[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
325
326    %_tl_enable_map Map SkakNew.map
327
328exit 0
329
330
331%postun
332if [ "$1" = 0 ]; then
333    %_tl_touch_run texhash
334
335    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
336
337    %_tl_disable_map SkakNew.map
338
339fi
340
341exit 0
342
343%posttrans
344%{_tl_exec_texhash}
345%{_tl_exec_mtxrun}
346%{_tl_exec_updmap}
347%{_tl_exec_fmtutil}
348exit 0
349
350
351%files -f filelist.full
352%defattr(-,root,root,-)
353
354%files -f filelist.doc doc
355%defattr(-,root,root,-)
356
357%changelog
358* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
359- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-games
360- TLNET 20130823
361
362* Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
363- generated by tlpdb2rpmspec 2012-1: tlpdb2rpmspec collection-games
364
365* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
366- generated by tlpdb2rpmspec 2011-2: tlpdb2rpmspec collection-games
367- set external dependencies (texlive-collection-binextra,
368  texlive-collection-fontutils)
369
370* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
371- generated by tlpdb2rpmspec 2011-1: tlpdb2rpmspec collection-games
372
373* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
374- generated by tlpdb2rpmspec 2009-4: tlpdb2rpmspec collection-games
375- make symlinks of core script utils (texlive-collection-binextra,
376  texlive-collection-context, texlive-collection-fontutils,
377  texlive-collection-langgreek, texlive-collection-langindic,
378  texlive-collection-latex, texlive-collection-latexextra,
379  texlive-collection-latexrecommended, texlive-collection-pictures,
380  texlive-collection-pstricks, texlive-collection-science)
381
382* Fri Jan 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
383- generated by tlpdb2rpmspec 2009-3: tlpdb2rpmspec collection-games
384- improved %%post
385
386* Fri Oct 01 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
387- generated by tlpdb2rpmspec 2009-2: tlpdb2rpmspec collection-games
388- removed arch dependent binaries (texlive-collection-latexextra)
389- fixed perl path
390- improved updmap process in %%post and %%postun
391
392* Sat Aug 07 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
393- generated by tlpdb2rpmspec 2009-1: tlpdb2rpmspec collection-games
Note: See TracBrowser for help on using the repository browser.