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

Revision 7951, 10.9 KB checked in by munepi, 11 years ago (diff)

tlnet 20131101

RevLine 
[1533]1## -*- coding: utf-8-unix -*-
[7951]2## NOTE: This spec file is generated by tlpdb2rpmspec 2013-4:
[1974]3## tlpdb2rpmspec collection-games
[1533]4
[5207]5%global _use_internal_dependency_generator 0
6%global __find_provides %{nil}
7%global __find_requires %{nil}
8
[1533]9Summary: TeX Live: Games typesetting
10Summary(ja): TeX Live: Games typesetting
11Name: texlive-collection-games
[7770]12Version: 2013
[7951]13Release: 4%{?_dist_release}
[7148]14License: GPL+, Public Domain, LPPL 1.2, LPPL, Freely redistributable without restriction, LPPL 1.3
[1533]15Group: Applications/Publishing
16URL:http://www.tug.org/texlive/
17
[7770]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
[1533]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:
[5207]109bartel-chess-fonts: A set of fonts supporting chess diagrams.
[1533]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.
[7148]117gamebook: Typeset gamebooks and other interactive novels.
[1533]118go: Fonts and macros for typesetting go games.
[7148]119hanoi: Tower of Hanoi in TeX.
[1533]120hexgame: Provide an environment to draw a hexgame-board.
[7770]121horoscop: Generate astrological charts in LaTeX.
122logicpuzzle: Typeset (grid-based) logic puzzles.
[1533]123othello: Create othello boards in LaTeX.
[7148]124othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations.
[1533]125psgo: Typeset go diagrams with PSTricks.
[7148]126reverxii: Playing Reversi in TeX.
127schwalbe-chess: Typeset the German chess magazine "Die Schwalbe"
[1533]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 パッケージを含んでいます:
[5207]154bartel-chess-fonts: A set of fonts supporting chess diagrams.
[1533]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.
[7148]162gamebook: Typeset gamebooks and other interactive novels.
[1533]163go: Fonts and macros for typesetting go games.
[7148]164hanoi: Tower of Hanoi in TeX.
[1533]165hexgame: Provide an environment to draw a hexgame-board.
[7770]166horoscop: Generate astrological charts in LaTeX.
167logicpuzzle: Typeset (grid-based) logic puzzles.
[1533]168othello: Create othello boards in LaTeX.
[7148]169othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations.
[1533]170psgo: Typeset go diagrams with PSTricks.
[7148]171reverxii: Playing Reversi in TeX.
172schwalbe-chess: Typeset the German chess magazine "Die Schwalbe"
[1533]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
[7770]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}
[1533]253
254%build
255
256%install
257[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
258
[7770]259%__mkdir_p %{buildroot}%{_datadir}
[1533]260
[7770]261## move texmf-dist to /usr/share/texmf-dist
262[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
[1533]263
[7770]264## move texmf to /usr/share/texmf
265[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
[1533]266
[7770]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=(
[7951]283scripts/fontools/autoinst
[7855]284scripts/texlive/tlmgr.pl
[7951]285scripts/texlive/updmap.pl
[7770]286texconfig/tcfmgr
287texconfig/tcfmgr.map
288web2c/fmtutil.cnf
289web2c/mktex.opt
290web2c/mktexdir
291web2c/mktexdir.opt
292web2c/mktexnam
293web2c/mktexnam.opt
294web2c/mktexupd
295web2c/texmf.cnf
296web2c/updmap.cfg
297web2c/updmap-hdr.cfg
298doc/chktex/ChkTeX.pdf
299install-tl
300)
301if [ -d %{buildroot}%{_tl_texmfdist} ]; then
302pushd %{buildroot}%{_tl_texmfdist}
303%__rm -f ${x[@]} ||:
[5207]304popd
[7770]305fi
306
[1533]307## Files list
308find %{buildroot} -type f -or -type l | \
309    %__sed -e "s|%{buildroot}||g" > filelist.full
310
[7770]311find %{buildroot}%{_tl_texmfdist} -type d | \
[1533]312    %__sed -e "s|^%{buildroot}|%dir |" \
313           -e "s|$|/|"             >> filelist.full
314
315## subpackages
316grep "/texmf-dist/doc/" filelist.full > filelist.doc
317cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
318%__mv -f filelist.tmp filelist.full
319
320%clean
321%__rm -rf %{buildroot}
322
323%post
[7770]324%_tl_touch_run texhash
325%_tl_touch_run mtxrun
[1533]326
[7770]327[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]328
[7770]329    %_tl_enable_map Map SkakNew.map
[2505]330
[1533]331exit 0
332
333
334%postun
335if [ "$1" = 0 ]; then
[7770]336    %_tl_touch_run texhash
[1533]337
[7770]338    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
[1533]339
[7770]340    %_tl_disable_map SkakNew.map
[1533]341
342fi
343
344exit 0
345
[7148]346%posttrans
[7770]347%{_tl_exec_texhash}
348%{_tl_exec_mtxrun}
349%{_tl_exec_updmap}
350%{_tl_exec_fmtutil}
[7148]351exit 0
352
353
[1533]354%files -f filelist.full
[5207]355%defattr(-,root,root,-)
[1533]356
357%files -f filelist.doc doc
[5207]358%defattr(-,root,root,-)
[1533]359
360%changelog
[7951]361* Fri Nov  1 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
362- TLNET 20131101
363
[7855]364* Wed Oct  2 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
365- TLNET 20131002
366
[7810]367* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
368- TLNET 20130919
369
[7770]370* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
371- generated by tlpdb2rpmspec 2013-1: tlpdb2rpmspec collection-games
372- TLNET 20130823
Note: See TracBrowser for help on using the repository browser.