1Name: @PACKAGE@
2Version: @VERSION@
3Release: 1
4
5
6URL: @URL@
7
8License: GPL
9Group: Amusements/Games
10
11BuildRoot: %{_tmppath}/%{name}-root
12
13Requires: SDL >= 1.2.2, SDL_mixer >= 1.2.2, zlib, libstdc++
14BuildRequires: SDL-devel >= 1.2.2
15AutoReqProv: no
16
17Source0: %{name}-%{version}.tar.gz
18#Patch0: %{name}-%{version}-patch0.diff.gz
19#Patch1: %{name}-%{version}-patch1.diff.gz
20
21Summary: @FULLNAME@
22
23%description
24Reimplementation of the old game (aka Nebulous). In the game you have
25to climb a tower with lots of strange inhabitants that try to push you
26down. Your only defence is a snowball you can throw and your skill to
27avoid these beings.
28
29%prep
30
31%setup -q
32#%patch0 -p1
33#%patch1 -p1
34
35
36%build
37
38%configure --program-prefix= --localstatedir=/var
39%{__make}
40
41
42%install
43rm -rf $RPM_BUILD_ROOT
44%makeinstall
45
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50
51%files
52%defattr(-,root,root)
53
54%{_bindir}/*
55%{_datadir}/*
56%{_localstatedir}/*
57
58
59%changelog
60* Sun Oct  6 2002 Chong Kai Xiong <descender@phreaker.net>
61- Initial build.
62
63
64%post
65chgrp games /usr/bin/toppler
66chmod 2755 /usr/bin/toppler
67chgrp games /var/toppler/toppler.hsc
68chmod 0664 /var/toppler/toppler.hsc
69