]> git.pld-linux.org Git - packages/blobAndConquer.git/blob - blobAndConquer.spec
- patch out desktop file
[packages/blobAndConquer.git] / blobAndConquer.spec
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 Patch1:         %{name}-desktop.patch
14 URL:            http://www.parallelrealities.co.uk/projects/blobAndConquer.php
15 BuildRequires:  OpenGL-GLU-devel
16 BuildRequires:  OpenGL-devel
17 BuildRequires:  SDL_image-devel
18 BuildRequires:  SDL_mixer-devel
19 BuildRequires:  SDL_ttf-devel
20 BuildRequires:  zlib-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Mission and Objective based 3D Action game. This is episode 2 of the
25 Blob Wars saga.
26
27 %description -l pl.UTF-8
28 Trójwymiarowa gra akcji oparta na wykonywaniu misji i zadań. Jest to
29 drugi epizod sagi Blob Wars.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -p1
35
36 %build
37 %{__make} \
38         CXX="%{__cxx}" \
39         CFLAGS="%{rpmcflags}" \
40         LDFLAGS="%{rpmldflags}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 install icons/blobAndConquer.png $RPM_BUILD_ROOT%{_pixmapsdir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc doc
57 %attr(755,root,root) %{_bindir}/*
58 %dir %{_datadir}/%{name}
59 %{_datadir}/%{name}/blobAndConquer.pak
60 %{_desktopdir}/%{name}.desktop
61 %{_pixmapsdir}/%{name}.png
This page took 0.03182 seconds and 3 git commands to generate.