]> git.pld-linux.org Git - packages/blobAndConquer.git/blob - blobAndConquer.spec
- up to 1.11
[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.11
5 Release:        0.1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://www.parallelrealities.co.uk/download/blobAndConquer/%{name}-%{version}-1.tar.gz
9 # Source0-md5:  bf719a5663d7442f207f1009242c3c2c
10 Patch0:         %{name}-makefile.patch
11 Patch1:         %{name}-desktop.patch
12 Patch2:         %{name}-usless_files.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:  dos2unix
20 BuildRequires:  rpmbuild(macros) >= 1.268
21 BuildRequires:  zlib-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Mission and Objective based 3D Action game. This is episode 2 of the
26 Blob Wars saga.
27
28 %description -l pl.UTF-8
29 Trójwymiarowa gra akcji oparta na wykonywaniu misji i zadań. Jest to
30 drugi epizod sagi Blob Wars.
31
32 %prep
33 %setup -q
34 dos2unix makefile
35 %patch0 -p1
36 %patch1 -p1
37 %patch2 -p1
38
39 %build
40 %{__make} \
41         CXX="%{__cxx}" \
42         CFLAGS="%{rpmcflags}" \
43         LDFLAGS="%{rpmldflags}"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 install icons/blobAndConquer.png $RPM_BUILD_ROOT%{_pixmapsdir}
53
54 %find_lang %{name} --all-name
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc doc
62 %attr(755,root,root) %{_bindir}/*
63 %dir %{_datadir}/%{name}
64 %{_datadir}/%{name}/blobAndConquer.pak
65 %{_desktopdir}/%{name}.desktop
66 %dir %{_iconsdir}/hicolor/32x32/apps/
67 %{_iconsdir}/hicolor/32x32/apps/blobAndConquer.png
68 %{_pixmapsdir}/%{name}.png
This page took 0.209535 seconds and 4 git commands to generate.