source: projects/specs/trunk/x/xblastTNT/xblastTNT-vl.spec @ 521

Revision 521, 2.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define name    xblastTNT
2%define version 2.7.38
3%define cversion 2.6.1
4%define release 1%{?_dist_release}
5
6Name: %{name}
7Version: %{version}
8Release: %{release}
9Summary: A multi-player arcade game for X11w
10Summary(ja): X 用のマルチプレーヤで楽しむゲームです.
11Source: xblast-tnt-unix.tar.gz
12Source1: ftp://ftp.x.org/contrib/games/multiplayer/xblast-%{cversion}.sound.tar.gz
13Source2: image.tar.gz
14Source3: level.tar.gz
15Icon: xblast.gif
16Group: Applications/Games
17License: GPL2
18URL: http://www.ndh.net/home/m.vogel/download.html
19Buildroot: %{_tmppath}/%{name}-%{version}-root
20BuildRequires: XOrg-devel
21
22Vendor: Project Vine
23Distribution: Vine Linux
24
25%description
26XBlast is a multi-player arcade game for X11R5/R6. The game can be played
27with at least two players and up to four players. It was inspired by
28the video/computer game Bomberman(Dynablaster), which was to my
29knowledge first programmed for NEC's PC Engine/Turbo Grafx. Other
30(commercial) versions of the original game exist for IBM-PC, Atari ST,
31Amiga, NES, GameBoy and Super NES.
32
33%description -l ja
34XBlast は X 上でみんなで楽しむゲームです.プレーヤ数は2人から4人まで
35選べます.もともとはビデオ/コンピュータゲームのボンバーマンに刺激され
36て作られたものです.
37
38XBlast-TNTは、XBlast の開発中のバージョンです。まだ動作が不安定な可能
39性もあります。
40
41%prep
42%setup -q -a 1 -n XBlast-TNT
43mv XBlast-2.6-sound/image .
44mv XBlast-2.6-sound/level .
45mv XBlast-2.6-sound/xblast.man .
46
47tar xzvf %{SOURCE2}
48tar xzvf %{SOURCE3}
49
50%build
51xmkmf -a
52make Makefiles
53make
54
55%install
56make install DESTDIR=$RPM_BUILD_ROOT
57
58(cd $RPM_BUILD_ROOT/usr/X11R6/bin/
59mv xblast xblastTNT
60)
61
62# add applnk
63%define applnkdir /etc/X11/applnk/Games
64mkdir -p $RPM_BUILD_ROOT/%{applnkdir}
65cat > $RPM_BUILD_ROOT/%{applnkdir}/%{name}.desktop <<EOF
66
67[Desktop Entry]
68Name=xblastTNT
69Type=Application
70Comment=A multi-player arcade game for X11
71Comment[ja]=X 用のマルチプレーヤで楽しむゲームです.
72Exec=xblastTNT
73Terminal=false
74EOF
75
76
77%clean
78rm -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
Note: See TracBrowser for help on using the repository browser.