]>
Commit | Line | Data |
---|---|---|
cf2365e7 | 1 | Summary: 3D action game |
2 | Summary(pl.UTF-8): Trójwymiarowa gra akcji | |
3 | Name: blobAndConquer | |
4 | Version: 1.06 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Applications/Games | |
8 | # download it from http://www.parallelrealities.co.uk/projects/blobAndConquer.php | |
9 | # and put it into the blobAndConquer dir | |
10 | Source0: %{name}-%{version}-1.tar.gz | |
11 | # Source0-md5: 17e3dd5b42142dddbc0af85fb7470d8a | |
12 | Patch0: %{name}-makefile.patch | |
13 | URL: http://www.parallelrealities.co.uk/projects/blobAndConquer.php | |
14 | BuildRequires: OpenGL-GLU-devel | |
15 | BuildRequires: OpenGL-devel | |
16 | BuildRequires: SDL_image-devel | |
17 | BuildRequires: SDL_mixer-devel | |
18 | BuildRequires: SDL_ttf-devel | |
19 | BuildRequires: zlib-devel | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Mission and Objective based 3D Action game. This is episode 2 of the | |
24 | Blob Wars saga. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Trójwymiarowa gra akcji oparta na wykonywaniu misji i zadań. Jest to | |
28 | drugi epizod sagi Blob Wars. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | %patch0 -p1 | |
33 | ||
34 | %build | |
35 | %{__make} \ | |
36 | CXX="%{__cxx}" \ | |
37 | CFLAGS="%{rpmcflags}" \ | |
38 | LDFLAGS="%{rpmldflags}" | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT%{_pixmapsdir} | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | install icons/blobAndConquer.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc doc | |
55 | %attr(755,root,root) %{_bindir}/* | |
56 | %dir %{_datadir}/%{name} | |
57 | %{_datadir}/%{name}/blobAndConquer.pak | |
58 | %{_desktopdir}/%{name}.desktop | |
59 | %{_pixmapsdir}/%{name}.png |