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

Revision 9576, 14.4 KB checked in by munepi, 9 years ago (diff)

synced tlnet to 20150522

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2015-2:
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: 2%{?_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/context/stubs/unix/mtxrun
312scripts/ptex2pdf/ptex2pdf.lua
313scripts/texlive/fmtutil.pl
314scripts/texlive/texconfig-dialog.sh
315scripts/texlive/texconfig-sys.sh
316scripts/texlive/texconfig.sh
317scripts/texlive/texlinks.sh
318scripts/texlive/tlmgr.pl
319scripts/texlive/updmap.pl
320texconfig/tcfmgr
321web2c/fmtutil.cnf
322web2c/mktex.opt
323web2c/mktexdir
324web2c/mktexdir.opt
325web2c/mktexnam
326web2c/mktexnam.opt
327web2c/mktexupd
328web2c/texmf.cnf
329web2c/updmap-hdr.cfg
330web2c/updmap.cfg
331install-tl
332)
333if [ -d %{buildroot}%{_tl_texmfdist} ]; then
334pushd %{buildroot}%{_tl_texmfdist}
335%__rm -f ${x[@]} ||:
336popd
337fi
338
339## Files list
340find %{buildroot} -type f -or -type l | \
341    %__sed -e "s|%{buildroot}||g" > filelist.full
342
343find %{buildroot}%{_tl_texmfdist} -type d | \
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
356%_tl_touch_run texhash
357%_tl_touch_run mtxrun
358
359[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
360
361    %_tl_enable_map Map SkakNew.map
362
363exit 0
364
365
366%postun
367if [ "$1" = 0 ]; then
368    %_tl_touch_run texhash
369
370    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
371
372    %_tl_disable_map SkakNew.map
373
374fi
375
376exit 0
377
378%posttrans
379%{_tl_exec_texhash}
380%{_tl_exec_mtxrun}
381%{_tl_exec_updmap}
382%{_tl_exec_fmtutil}
383exit 0
384
385
386%files -f filelist.full
387%defattr(-,root,root,-)
388
389%files -f filelist.doc doc
390%defattr(-,root,root,-)
391
392%changelog
393* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
394- TeX Live 2015/pretest
395- synced tlnet to 20150522 (TeX Live 2015/pretest)
396
397* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
398- TeX Live 2015/pretest
399- synced tlnet to 20150426 (TeX Live 2015/pretest)
400
401* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
402- synced tlnet to 20150401
403
404* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
405- synced tlnet to 20141028
406
407* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
408- synced tlnet to 20140706
409
410* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
411- upgraded to TeX Live 2014
412
413* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
414- synced tlnet to 20140406
415
416* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
417- synced tlnet to 20131218
418
419* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
420- synced tlnet to 20131101
421
422* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
423- synced tlnet to 20131002
424
425* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
426- synced tlnet to 20130919
427
428* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
429- upgraded to TeX Live 2013
430  - used tlnet archives
431  - synced tlnet to 20130823
432- added macros.texlive
433
434* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
435- updated to TeX Live 2012
436
437* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
438- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
439  - set external dependencies (texlive-collection-binextra,
440    texlive-collection-fontutils)
441
442* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
443- updated to TeX Live 2011
444- merged texlive-vtlpkg-2009-osx.patch from OSXWS
445- added %doc README (%files)
446
447* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
448- applied texlive-vtlpkg-2009-vine.patch
449  - remove arch dependent binaries
450- updated tlpdb2rpmspec.sh.in:
451  - improved tlpdb4a()
452  - make symlinks of core script utils (texlive-collection-binextra,
453    texlive-collection-context, texlive-collection-fontutils,
454    texlive-collection-langgreek, texlive-collection-langindic,
455    texlive-collection-latex, texlive-collection-latexextra,
456    texlive-collection-latexrecommended, texlive-collection-pictures,
457    texlive-collection-pstricks, texlive-collection-science)
458
459* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
460- updated tlpdb2rpmspec.sh.in:
461  - improved %post
462
463* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
464- updated tlpdb2rpmspec.sh.in:
465  - removed arch dependent binaries (texlive-collection-latexextra)
466  - improved updmap process in %post and %postun
467  - fixed perl path
468
469* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
470- initial build
Note: See TracBrowser for help on using the repository browser.