]> git.pld-linux.org Git - packages/flaw.git/blob - flaw.spec
- BR: SDL_image-devel, libstdc++-devel
[packages/flaw.git] / flaw.spec
1 Summary:        A free top-down wizard fighting game
2 Name:           flaw
3 Version:        1.2.4
4 Release:        0.1
5 License:        GPL v3
6 Group:          X11/Applications/Games
7 Source0:        http://downloads.sourceforge.net/flaw/%{name}-%{version}.tar.gz
8 # Source0-md5:  1403c848f91398c29bd4e2efe384996b
9 Source1:        http://flaw.sourceforge.net/instructions.shtml
10 # Source1-md5:  59696d8db8557cda077c563e96bbd336
11 Source2:        http://flaw.sourceforge.net/images/arrows.png
12 # Source2-md5:  bd18a6c5b1751828b30fe21e81805e01
13 Source3:        http://flaw.sourceforge.net/images/wasd.png
14 # Source3-md5:  1148a75dcb65c15efe671280fb3d0f94
15 URL:            http://flaw.sourceforge.net/
16 BuildRequires:  SDL_gfx-devel
17 BuildRequires:  SDL_image-devel
18 BuildRequires:  SDL_mixer-devel
19 BuildRequires:  SDL_ttf-devel
20 BuildRequires:  libstdc++-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 F.L.A.W. is a free top-down wizard fighting game that can be played by
25 up to 5 players. The goal of the game is to survive as long as
26 possible while more and more fireballs appear in the arena.
27
28 Gameplay is simple and self-explanatory: While the players try to
29 avoid the fireballs, they can knock each other down. In addition there
30 are collectable magic gems that provide special abilities. The game
31 can be played as a single player game against the computer, but it is
32 more fun with 2 and more human players.
33
34 %prep
35 %setup -q
36
37 %build
38 %configure
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
48 install  AUTHORS ChangeLog NEWS README %{SOURCE1} %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
49
50 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc %{_docdir}/%{name}-%{version}
58 %attr(755,root,root) %{_bindir}/%{name}
59 %{_datadir}/%{name}
60 %{_desktopdir}/%{name}.desktop
61 %{_pixmapsdir}/%{name}.xpm
This page took 0.074997 seconds and 3 git commands to generate.