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

Revision 11118, 17.1 KB checked in by munepi, 7 years ago (diff)

TeX Live 2017

Line 
1## -*- coding: utf-8-unix -*-
2## NOTE: This spec file is generated by tlpdb2rpmspec 2017-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: 2017
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.i386-darwin.tar.xz
70Source52: rubik.powerpc-darwin.tar.xz
71Source53: rubik.source.tar.xz
72Source54: rubik.tar.xz
73Source55: schwalbe-chess.doc.tar.xz
74Source56: schwalbe-chess.source.tar.xz
75Source57: schwalbe-chess.tar.xz
76Source58: sgame.doc.tar.xz
77Source59: sgame.tar.xz
78Source60: skak.doc.tar.xz
79Source61: skak.tar.xz
80Source62: skaknew.doc.tar.xz
81Source63: skaknew.tar.xz
82Source64: soup.doc.tar.xz
83Source65: soup.source.tar.xz
84Source66: soup.tar.xz
85Source67: sudoku.doc.tar.xz
86Source68: sudoku.source.tar.xz
87Source69: sudoku.tar.xz
88Source70: sudokubundle.doc.tar.xz
89Source71: sudokubundle.source.tar.xz
90Source72: sudokubundle.tar.xz
91Source73: xq.doc.tar.xz
92Source74: xq.tar.xz
93Source75: xskak.doc.tar.xz
94Source76: xskak.source.tar.xz
95Source77: xskak.tar.xz
96
97Requires: texlive = %{version}
98Requires: texlive-collection-latex = %{version}
99
100Requires(post):         texlive = %{version}
101Requires(postun):       texlive = %{version}
102
103BuildArch:      noarch
104Buildroot:      %{_tmppath}/%{name}-%{version}-root
105
106Vendor:         Project Vine
107Distribution:   Vine Linux
108Packager:       munepi
109
110%description
111The TeX Live software distribution offers a complete TeX system for a
112variety of Unix, Macintosh, Windows and other platforms. It
113encompasses programs for editing, typesetting, previewing and printing
114of TeX documents in many different languages, and a large collection
115of TeX macros and font libraries.
116
117The distribution includes extensive general documentation about TeX,
118as well as the documentation for the included software packages.
119
120This package is a collection of Games typesetting:
121Setups for typesetting various games, including chess.
122
123This package contains the following CTAN packages:
124bartel-chess-fonts: A set of fonts supporting chess diagrams
125chess: Fonts for typesetting chess boards
126chess-problem-diagrams: A package for typesetting chess problem diagrams
127chessboard: Print chess boards
128chessfss: A package to handle chess fonts
129crossword: Typeset crossword puzzles
130crosswrd: Macros for typesetting crossword puzzles
131egameps: LaTeX package for typesetting extensive games
132gamebook: Typeset gamebooks and other interactive novels
133go: Fonts and macros for typesetting go games
134hanoi: Tower of Hanoi in TeX
135havannah: Diagrams of board positions in the games of Havannah and Hex
136hexgame: Provide an environment to draw a hexgame-board
137horoscop: Generate astrological charts in LaTeX
138labyrinth: Draw labyrinths and solution paths
139logicpuzzle: Typeset (grid-based) logic puzzles
140othello: Modification of a Go package to create othello boards
141othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations
142pas-crosswords: Creating crossword grids, using TikZ
143psgo: Typeset go diagrams with PSTricks
144reverxii: Playing Reversi in TeX
145rubik: Document Rubik cube configurations and rotation sequences
146schwalbe-chess: Typeset the German chess magazine "Die Schwalbe"
147sgame: LaTeX style for typesetting strategic games
148skak: Fonts and macros for typesetting chess games
149skaknew: The skak chess fonts redone in Adobe Type 1
150soup: Generate alphabet soup puzzles
151sudoku: Create sudoku grids
152sudokubundle: A set of sudoku-related packages
153xq: Support for writing about xiangqi
154xskak: An extension to the skak package for chess typesetting
155
156%description -l ja
157TeX Live ソフトウェアディストリビューションは、
158さまざまな Unix, Macintosh, Windows、および
159他のプラットホームに対して完全な TeX システムを提供します。
160多くの異なった言語を含む TeX ドキュメントの
161編集、組版、閲覧、印刷するためのプログラム、
162そして、TeX マクロやフォントライブラリの大きなコレクションを
163同梱しています。
164
165このディストリビューションは
166同梱しているソフトウェアパッケージのためのドキュメントばかりでなく、
167TeX に関するたくさんの一般的なドキュメントを含んでいます。
168
169このパッケージは以下のようなパッケージ集です。
170Games typesetting:
171Setups for typesetting various games, including chess.
172
173このパッケージは以下の CTAN パッケージを含んでいます:
174bartel-chess-fonts: A set of fonts supporting chess diagrams
175chess: Fonts for typesetting chess boards
176chess-problem-diagrams: A package for typesetting chess problem diagrams
177chessboard: Print chess boards
178chessfss: A package to handle chess fonts
179crossword: Typeset crossword puzzles
180crosswrd: Macros for typesetting crossword puzzles
181egameps: LaTeX package for typesetting extensive games
182gamebook: Typeset gamebooks and other interactive novels
183go: Fonts and macros for typesetting go games
184hanoi: Tower of Hanoi in TeX
185havannah: Diagrams of board positions in the games of Havannah and Hex
186hexgame: Provide an environment to draw a hexgame-board
187horoscop: Generate astrological charts in LaTeX
188labyrinth: Draw labyrinths and solution paths
189logicpuzzle: Typeset (grid-based) logic puzzles
190othello: Modification of a Go package to create othello boards
191othelloboard: Typeset Othello (Reversi) diagrams of any size, with annotations
192pas-crosswords: Creating crossword grids, using TikZ
193psgo: Typeset go diagrams with PSTricks
194reverxii: Playing Reversi in TeX
195rubik: Document Rubik cube configurations and rotation sequences
196schwalbe-chess: Typeset the German chess magazine "Die Schwalbe"
197sgame: LaTeX style for typesetting strategic games
198skak: Fonts and macros for typesetting chess games
199skaknew: The skak chess fonts redone in Adobe Type 1
200soup: Generate alphabet soup puzzles
201sudoku: Create sudoku grids
202sudokubundle: A set of sudoku-related packages
203xq: Support for writing about xiangqi
204xskak: An extension to the skak package for chess typesetting
205
206%package doc
207Summary: TeX Live: Documentation files of %{name}
208Group: Applications/Publishing
209Requires: %{name} = %{version}-%{release}
210
211%description doc
212This package contains documentation files of %{name}.
213
214%prep
215%setup -c -n %{name}-%{version}
216%__tar -xvf %{SOURCE1}
217%__tar -xvf %{SOURCE2}
218%__tar -xvf %{SOURCE3}
219%__tar -xvf %{SOURCE4}
220%__tar -xvf %{SOURCE5}
221%__tar -xvf %{SOURCE6}
222%__tar -xvf %{SOURCE7}
223%__tar -xvf %{SOURCE8}
224%__tar -xvf %{SOURCE9}
225%__tar -xvf %{SOURCE10}
226%__tar -xvf %{SOURCE11}
227%__tar -xvf %{SOURCE12}
228%__tar -xvf %{SOURCE13}
229%__tar -xvf %{SOURCE14}
230%__tar -xvf %{SOURCE15}
231%__tar -xvf %{SOURCE16}
232%__tar -xvf %{SOURCE17}
233%__tar -xvf %{SOURCE18}
234%__tar -xvf %{SOURCE19}
235%__tar -xvf %{SOURCE20}
236%__tar -xvf %{SOURCE21}
237%__tar -xvf %{SOURCE22}
238%__tar -xvf %{SOURCE23}
239%__tar -xvf %{SOURCE24}
240%__tar -xvf %{SOURCE25}
241%__tar -xvf %{SOURCE26}
242%__tar -xvf %{SOURCE27}
243%__tar -xvf %{SOURCE28}
244%__tar -xvf %{SOURCE29}
245%__tar -xvf %{SOURCE30}
246%__tar -xvf %{SOURCE31}
247%__tar -xvf %{SOURCE32}
248%__tar -xvf %{SOURCE33}
249%__tar -xvf %{SOURCE34}
250%__tar -xvf %{SOURCE35}
251%__tar -xvf %{SOURCE36}
252%__tar -xvf %{SOURCE37}
253%__tar -xvf %{SOURCE38}
254%__tar -xvf %{SOURCE39}
255%__tar -xvf %{SOURCE40}
256%__tar -xvf %{SOURCE41}
257%__tar -xvf %{SOURCE42}
258%__tar -xvf %{SOURCE43}
259%__tar -xvf %{SOURCE44}
260%__tar -xvf %{SOURCE45}
261%__tar -xvf %{SOURCE46}
262%__tar -xvf %{SOURCE47}
263%__tar -xvf %{SOURCE48}
264%__tar -xvf %{SOURCE49}
265%__tar -xvf %{SOURCE50}
266%__tar -xvf %{SOURCE51}
267%__tar -xvf %{SOURCE52}
268%__tar -xvf %{SOURCE53}
269%__tar -xvf %{SOURCE54}
270%__tar -xvf %{SOURCE55}
271%__tar -xvf %{SOURCE56}
272%__tar -xvf %{SOURCE57}
273%__tar -xvf %{SOURCE58}
274%__tar -xvf %{SOURCE59}
275%__tar -xvf %{SOURCE60}
276%__tar -xvf %{SOURCE61}
277%__tar -xvf %{SOURCE62}
278%__tar -xvf %{SOURCE63}
279%__tar -xvf %{SOURCE64}
280%__tar -xvf %{SOURCE65}
281%__tar -xvf %{SOURCE66}
282%__tar -xvf %{SOURCE67}
283%__tar -xvf %{SOURCE68}
284%__tar -xvf %{SOURCE69}
285%__tar -xvf %{SOURCE70}
286%__tar -xvf %{SOURCE71}
287%__tar -xvf %{SOURCE72}
288%__tar -xvf %{SOURCE73}
289%__tar -xvf %{SOURCE74}
290%__tar -xvf %{SOURCE75}
291%__tar -xvf %{SOURCE76}
292%__tar -xvf %{SOURCE77}
293
294%build
295
296%install
297[ -n "%{buildroot}" -a "%{buildroot}" != / ] && %__rm -rf %{buildroot}
298
299%__mkdir_p %{buildroot}%{_datadir}
300
301## move texmf-dist to /usr/share/texmf-dist
302[ -d texmf-dist ] && %__mv texmf-dist %{buildroot}%{_tl_texmfdist}/ ||:
303
304## move texmf to /usr/share/texmf
305[ -d texmf ] && %__mv texmf %{buildroot}%{_tl_texmfmain}/ ||:
306
307## move tlpkg to /usr/share/tlpkg
308[ -d tlpkg ] && %__mv tlpkg %{buildroot}%{_datadir}/ ||:
309
310## move all non-arch binaries to /usr/bin
311[ -d bin ] && %__mv bin %{buildroot}%{_prefix}/ ||:
312
313## move others into /usr/share/texmf-dist
314%__mkdir_p %{buildroot}%{_tl_texmfdist}
315%__cp -a * %{buildroot}%{_tl_texmfdist}/ ||:
316%__rm -rf * ||:
317
318
319## remove duplicated files between texlive and texlive-collection-*
320## NOTE: We provides texmf.cnf and updmap{-hdr,}.cfg from texlive
321## remove unpacked files
322x=(
323dvipdfmx/dvipdfmx.cfg
324scripts/context/stubs/unix/mtxrun
325scripts/latexmk/latexmk.pl
326scripts/ptex2pdf/ptex2pdf.lua
327scripts/texlive/fmtutil.pl
328scripts/texlive/texconfig-dialog.sh
329scripts/texlive/texconfig-sys.sh
330scripts/texlive/texconfig.sh
331scripts/texlive/texlinks.sh
332scripts/texlive/tlmgr.pl
333scripts/texlive/updmap.pl
334texconfig/tcfmgr
335web2c/fmtutil.cnf
336web2c/mktex.opt
337web2c/mktexdir
338web2c/mktexdir.opt
339web2c/mktexnam
340web2c/mktexnam.opt
341web2c/mktexupd
342web2c/texmf.cnf
343web2c/updmap-hdr.cfg
344web2c/updmap.cfg
345install-tl
346#
347scripts/cjk-gs-integrate/cjk-gs-integrate.pl
348scripts/epspdf/epspdf.tlu
349scripts/epspdf/epspdftk.tcl
350scripts/glossaries/makeglossaries
351scripts/jfontmaps/kanji-config-updmap.pl
352scripts/jfontmaps/kanji-fontmap-creator.pl
353scripts/kotex-utils/jamo-normalize.pl
354scripts/kotex-utils/komkindex.pl
355scripts/crossrefware/ltx2crossrefxml.pl
356scripts/rubik/rubikrotation.pl
357scripts/musixtex/musixtex.lua
358scripts/pmxchords/pmxchords.lua
359scripts/ctanify/ctanify
360scripts/dtxgen/dtxgen
361scripts/findhyph/findhyph
362scripts/latexpand/latexpand
363scripts/ltxfileinfo/ltxfileinfo
364scripts/latexdiff/latexdiff-vc.pl
365scripts/latexdiff/latexdiff.pl
366scripts/texfot/texfot.pl
367scripts/fontools/autoinst
368scripts/luaotfload/luaotfload-tool.lua
369scripts/oberdiek/pdfatfi.pl
370fonts/map/glyphlist/glyphlist.txt ## texlive-collection-basic-2017-1vl7.noarch
371scripts/tex4ht/xhlatex.sh ## texlive-collection-plaingeneric-2017-1vl7.noarch
372scripts/latexindent/latexindent.pl ## texlive-collection-binextra-2017-1vl7.noarch
373scripts/texosquery/texosquery-jre5.sh ## texlive-collection-binextra-2017-1vl7.noarch
374scripts/texosquery/texosquery-jre8.sh ## texlive-collection-binextra-2017-1vl7.noarch
375scripts/texosquery/texosquery.sh ## texlive-collection-binextra-2017-1vl7.noarch
376)
377if [ -d %{buildroot}%{_tl_texmfdist} ]; then
378pushd %{buildroot}%{_tl_texmfdist}
379%__rm -f ${x[@]} ||:
380popd
381fi
382
383## Files list
384find %{buildroot} -type f -or -type l | \
385    %__sed -e "s|%{buildroot}||g" > filelist.full
386
387find %{buildroot}%{_tl_texmfdist} -type d | \
388    %__sed -e "s|^%{buildroot}|%dir |" \
389           -e "s|$|/|"             >> filelist.full
390
391## subpackages
392grep "/texmf-dist/doc/" filelist.full > filelist.doc
393cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
394%__mv -f filelist.tmp filelist.full
395
396%clean
397%__rm -rf %{buildroot}
398
399%post
400%_tl_touch_run texhash
401%_tl_touch_run mtxrun
402
403[ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
404
405    %_tl_enable_map Map SkakNew.map
406
407exit 0
408
409
410%postun
411if [ "$1" = 0 ]; then
412    %_tl_touch_run texhash
413
414    [ -f %{_tl_texmfdist}/web2c/updmap.cfg ] || exit 0
415
416    %_tl_disable_map SkakNew.map
417
418fi
419
420exit 0
421
422%posttrans
423%{_tl_exec_texhash}
424%{_tl_exec_mtxrun}
425%{_tl_exec_updmap}
426%{_tl_exec_fmtutil}
427exit 0
428
429
430%files -f filelist.full
431%defattr(-,root,root,-)
432
433%files -f filelist.doc doc
434%defattr(-,root,root,-)
435
436%changelog
437* Sun Jun 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-2
438- synced tlnet to 20170616 (TeX Live 2017)
439
440* Thu Jun 08 2017 Munehiro Yamamoto <munepi@vinelinux.org> 2017-1
441- synced tlnet to 20170607 (TeX Live 2017)
442
443* Tue Aug 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-5
444- synced tlnet to 20160823 (TeX Live 2016)
445
446* Tue Jun 07 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-4
447- synced tlnet to 20160607 (TeX Live 2016)
448
449* Sat May 14 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-3
450- synced tlnet to 20160514 (TeX Live 2016/pretest)
451
452* Tue May 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-2
453- synced tlnet to 20160510 (TeX Live 2016/pretest)
454
455* Thu Apr 28 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2016-1
456- TeX Live 2016/pretest
457- synced tlnet to 20160428 (TeX Live 2016/pretest)
458
459* Wed Jan 13 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
460- remove duplicated files from texlive-collection-*
461- synced tlnet to 20160113 (TeX Live 2015)
462
463* Sun Jan 10 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-3
464- TeX Live 2016/dev
465- synced tlnet to 20160110 (TeX Live 2016/dev)
466
467* Sun May 24 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-2
468- TeX Live 2015/pretest
469- synced tlnet to 20150522 (TeX Live 2015/pretest)
470
471* Sun Apr 26 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2015-1
472- TeX Live 2015/pretest
473- synced tlnet to 20150426 (TeX Live 2015/pretest)
474
475* Wed Apr 01 2015 Munehiro Yamamoto <munepi@vinelinux.org> 2014-4
476- synced tlnet to 20150401
477
478* Tue Oct 28 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-3
479- synced tlnet to 20141028
480
481* Sun Jul 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-2
482- synced tlnet to 20140706
483
484* Sun May 25 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2014-1
485- upgraded to TeX Live 2014
486
487* Sun Apr 06 2014 Munehiro Yamamoto <munepi@vinelinux.org> 2013-6
488- synced tlnet to 20140406
489
490* Wed Dec 18 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-5
491- synced tlnet to 20131218
492
493* Fri Nov 01 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-4
494- synced tlnet to 20131101
495
496* Wed Oct 02 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-3
497- synced tlnet to 20131002
498
499* Thu Sep 19 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-2
500- synced tlnet to 20130919
501
502* Fri Aug 23 2013 Munehiro Yamamoto <munepi@vinelinux.org> 2013-1
503- upgraded to TeX Live 2013
504  - used tlnet archives
505  - synced tlnet to 20130823
506- added macros.texlive
507
508* Fri Aug 10 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2012-1
509- updated to TeX Live 2012
510
511* Sat Dec 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-2
512- updated tlpdb2rpmspec.sh.in and dot.vtlpkg.conf.in:
513  - set external dependencies (texlive-collection-binextra,
514    texlive-collection-fontutils)
515
516* Sun Oct 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2011-1
517- updated to TeX Live 2011
518- merged texlive-vtlpkg-2009-osx.patch from OSXWS
519- added %doc README (%files)
520
521* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-4
522- applied texlive-vtlpkg-2009-vine.patch
523  - remove arch dependent binaries
524- updated tlpdb2rpmspec.sh.in:
525  - improved tlpdb4a()
526  - make symlinks of core script utils (texlive-collection-binextra,
527    texlive-collection-context, texlive-collection-fontutils,
528    texlive-collection-langgreek, texlive-collection-langindic,
529    texlive-collection-latex, texlive-collection-latexextra,
530    texlive-collection-latexrecommended, texlive-collection-pictures,
531    texlive-collection-pstricks, texlive-collection-science)
532
533* Wed Jan 12 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-3
534- updated tlpdb2rpmspec.sh.in:
535  - improved %post
536
537* Sun Sep 26 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-2
538- updated tlpdb2rpmspec.sh.in:
539  - removed arch dependent binaries (texlive-collection-latexextra)
540  - improved updmap process in %post and %postun
541  - fixed perl path
542
543* Fri Jul 30 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2009-1
544- initial build
Note: See TracBrowser for help on using the repository browser.