1 | %define name xblastTNT |
---|
2 | %define version 2.7.38 |
---|
3 | %define cversion 2.6.1 |
---|
4 | %define release 1%{?_dist_release} |
---|
5 | |
---|
6 | Name: %{name} |
---|
7 | Version: %{version} |
---|
8 | Release: %{release} |
---|
9 | Summary: A multi-player arcade game for X11w |
---|
10 | Summary(ja): X 用のマルチプレーヤで楽しむゲームです. |
---|
11 | Source: xblast-tnt-unix.tar.gz |
---|
12 | Source1: ftp://ftp.x.org/contrib/games/multiplayer/xblast-%{cversion}.sound.tar.gz |
---|
13 | Source2: image.tar.gz |
---|
14 | Source3: level.tar.gz |
---|
15 | Icon: xblast.gif |
---|
16 | Group: Applications/Games |
---|
17 | License: GPL2 |
---|
18 | URL: http://www.ndh.net/home/m.vogel/download.html |
---|
19 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | BuildRequires: XOrg-devel |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | |
---|
25 | %description |
---|
26 | XBlast is a multi-player arcade game for X11R5/R6. The game can be played |
---|
27 | with at least two players and up to four players. It was inspired by |
---|
28 | the video/computer game Bomberman(Dynablaster), which was to my |
---|
29 | knowledge first programmed for NEC's PC Engine/Turbo Grafx. Other |
---|
30 | (commercial) versions of the original game exist for IBM-PC, Atari ST, |
---|
31 | Amiga, NES, GameBoy and Super NES. |
---|
32 | |
---|
33 | %description -l ja |
---|
34 | XBlast は X 上でみんなで楽しむゲームです.プレーヤ数は2人から4人まで |
---|
35 | 選べます.もともとはビデオ/コンピュータゲームのボンバーマンに刺激され |
---|
36 | て作られたものです. |
---|
37 | |
---|
38 | XBlast-TNTは、XBlast の開発中のバージョンです。まだ動作が不安定な可能 |
---|
39 | 性もあります。 |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q -a 1 -n XBlast-TNT |
---|
43 | mv XBlast-2.6-sound/image . |
---|
44 | mv XBlast-2.6-sound/level . |
---|
45 | mv XBlast-2.6-sound/xblast.man . |
---|
46 | |
---|
47 | tar xzvf %{SOURCE2} |
---|
48 | tar xzvf %{SOURCE3} |
---|
49 | |
---|
50 | %build |
---|
51 | xmkmf -a |
---|
52 | make Makefiles |
---|
53 | make |
---|
54 | |
---|
55 | %install |
---|
56 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
57 | |
---|
58 | (cd $RPM_BUILD_ROOT/usr/X11R6/bin/ |
---|
59 | mv xblast xblastTNT |
---|
60 | ) |
---|
61 | |
---|
62 | # add applnk |
---|
63 | %define applnkdir /etc/X11/applnk/Games |
---|
64 | mkdir -p $RPM_BUILD_ROOT/%{applnkdir} |
---|
65 | cat > $RPM_BUILD_ROOT/%{applnkdir}/%{name}.desktop <<EOF |
---|
66 | |
---|
67 | [Desktop Entry] |
---|
68 | Name=xblastTNT |
---|
69 | Type=Application |
---|
70 | Comment=A multi-player arcade game for X11 |
---|
71 | Comment[ja]=X 用のマルチプレーヤで楽しむゲームです. |
---|
72 | Exec=xblastTNT |
---|
73 | Terminal=false |
---|
74 | EOF |
---|
75 | |
---|
76 | |
---|
77 | %clean |
---|
78 | rm -rf $RPM_BUILD_ROOT |
---|
79 | |
---|
80 | %files |
---|
81 | %defattr(644,root,root,755) |
---|
82 | %doc COPYING |
---|
83 | %attr(755,root,root) %{_bindir}/* |
---|
84 | %config(missingok) %{applnkdir}/%{name}.desktop |
---|
85 | |
---|
86 | %changelog |
---|
87 | * Tue Oct 14 2008 Shu KONNO <owa@bg.wakwak.com> TNT-2.7.38-1vl5 |
---|
88 | - applied new versioning policy, spec in utf-8 |
---|
89 | - modified directory about X11 |
---|
90 | |
---|
91 | * Sun Oct 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> TNT-2.7.38-0vl3 |
---|
92 | - rebuilt for Vine Linux 4.0 |
---|
93 | - changed Group to Applications/Games |
---|
94 | |
---|
95 | * Mon Mar 25 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> TNT-2.7.38-0vl2 |
---|
96 | - fixed build problem |
---|
97 | |
---|
98 | * Sat Feb 2 2002 Jun Nishii <jun@vinelinux.org> |
---|
99 | - TNT-2.7.38-0vl1 |
---|
100 | |
---|
101 | * Tue Sep 26 2000 Jun Nishii <jun@vinelinux.org> |
---|
102 | - TNT-0.20000926-0vl1 |
---|
103 | |
---|
104 | * Thu Sep 21 2000 Jun Nishii <jun@vinelinux.org> |
---|
105 | - 2.6.1-1vl1 |
---|
106 | - tiny modification of spec file |
---|
107 | - added applnk |
---|
108 | - fix group |
---|
109 | |
---|
110 | * Thu Nov 18 1999 Jun NISHII <jun@vinelinux.org> |
---|
111 | - 2.6.1-1 |
---|
112 | - build for Vine Linux 2.0 |
---|
113 | |
---|