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

Revision 8476, 11.8 KB checked in by munepi, 10 years ago (diff)

TeX Live 2014

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