]>
Commit | Line | Data |
---|---|---|
cf2365e7 | 1 | Summary: 3D action game |
2 | Summary(pl.UTF-8): Trójwymiarowa gra akcji | |
3 | Name: blobAndConquer | |
aa61146e | 4 | Version: 1.08 |
39806467 | 5 | Release: 0.1 |
cf2365e7 | 6 | License: GPL v2+ |
7 | Group: X11/Applications/Games | |
aa61146e | 8 | Source0: http://www.parallelrealities.co.uk/download/1e0beca9/blobAndConquer/%{name}-%{version}-1.tar.gz |
9 | # Source0-md5: d78a46c410614f5379959af21a0c4fff | |
cf2365e7 | 10 | Patch0: %{name}-makefile.patch |
f4185c26 | 11 | Patch1: %{name}-desktop.patch |
cf2365e7 | 12 | URL: http://www.parallelrealities.co.uk/projects/blobAndConquer.php |
13 | BuildRequires: OpenGL-GLU-devel | |
14 | BuildRequires: OpenGL-devel | |
15 | BuildRequires: SDL_image-devel | |
16 | BuildRequires: SDL_mixer-devel | |
17 | BuildRequires: SDL_ttf-devel | |
39806467 | 18 | BuildRequires: rpmbuild(macros) >= 1.268 |
cf2365e7 | 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 | |
f4185c26 | 33 | %patch1 -p1 |
cf2365e7 | 34 | |
35 | %build | |
36 | %{__make} \ | |
37 | CXX="%{__cxx}" \ | |
38 | CFLAGS="%{rpmcflags}" \ | |
39 | LDFLAGS="%{rpmldflags}" | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_pixmapsdir} | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | install icons/blobAndConquer.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
49 | ||
39806467 | 50 | %find_lang %{name} --all-name |
51 | ||
cf2365e7 | 52 | %clean |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
39806467 | 55 | %files -f %{name}.lang |
cf2365e7 | 56 | %defattr(644,root,root,755) |
57 | %doc doc | |
58 | %attr(755,root,root) %{_bindir}/* | |
59 | %dir %{_datadir}/%{name} | |
60 | %{_datadir}/%{name}/blobAndConquer.pak | |
61 | %{_desktopdir}/%{name}.desktop | |
aa61146e | 62 | %dir %{_iconsdir}/32x32/apps/ |
39806467 | 63 | %{_iconsdir}/32x32/apps/blobAndConquer.png |
cf2365e7 | 64 | %{_pixmapsdir}/%{name}.png |