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