]>
Commit | Line | Data |
---|---|---|
cc2cb908 | 1 | #$Revision: 1.25 $, $Date: 2008-12-25 09:43:17 $ |
86eb32b6 | 2 | Summary: 3D realtime strategy on a future Earth |
252965d4 | 3 | Summary(pl.UTF-8): Gra RTS, której akcja toczy się w przyszłości |
86eb32b6 | 4 | Name: warzone2100 |
0949b79e | 5 | Version: 2.1.0 |
543550b6 | 6 | Release: 1 |
7 | License: GPL v2+ | |
8 | Group: X11/Applications/Games/Strategy | |
0949b79e | 9 | Source0: http://download.gna.org/warzone/releases/2.1/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: 5590795a6c1d961eb4dc99ce54a4c882 | |
543550b6 | 11 | Patch0: %{name}-desktop.patch |
0949b79e | 12 | Patch1: %{name}-configure.patch |
260fb2fa | 13 | URL: http://www.wz2100.net/ |
0949b79e | 14 | BuildRequires: OpenAL-devel >= 0.0.8 |
5ac2b0a1 | 15 | BuildRequires: OpenGL-GLU-devel |
0949b79e | 16 | BuildRequires: SDL-devel >= 1.2 |
86eb32b6 | 17 | BuildRequires: SDL_net-devel |
18 | BuildRequires: autoconf | |
19 | BuildRequires: automake | |
73c8a072 | 20 | BuildRequires: bison |
86eb32b6 | 21 | BuildRequires: flex |
8f8be4d6 | 22 | BuildRequires: libjpeg-devel |
543550b6 | 23 | BuildRequires: libmad-devel |
0949b79e | 24 | BuildRequires: libpng-devel >= 1.2 |
25 | BuildRequires: libvorbis-devel >= 1.1 | |
86eb32b6 | 26 | BuildRequires: physfs-devel |
0949b79e | 27 | BuildRequires: pkgconfig |
28 | BuildRequires: popt-devel | |
29 | BuildRequires: quesoglc-devel | |
30 | BuildRequires: unzip | |
d9dab421 | 31 | BuildRequires: zip |
86eb32b6 | 32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
33 | ||
34 | %description | |
35 | Warzone 2100 is a real-time strategy game. Although comparable to | |
36 | Earth 2150 in many significant respects, it does contain aspects that | |
37 | are unique. These include various radar technologies and a greater | |
38 | focus on artillery and counter-battery technologies. | |
39 | ||
088658b5 JR |
40 | %description -l pl.UTF-8 |
41 | Warzone 2100 jest grą strategiczną czasu rzeczywistego. Chociaż gra | |
42 | bardzo przypomina grę Earth 2150, to jednak zostało do niej | |
43 | wprowadzonych kilka ciekawych pomysłów. Są to między innymi rozmaite | |
44 | technologie radarowe oraz większe skupienie się na technologiach | |
86eb32b6 | 45 | artyleryjskich oraz obronie przeciwlotniczej. |
46 | ||
47 | %prep | |
77bfa44c | 48 | %setup -q |
543550b6 | 49 | %patch0 -p1 |
0949b79e | 50 | %patch1 -p1 |
86eb32b6 | 51 | |
52 | %build | |
dfcfd05f | 53 | %{__aclocal} -I m4 |
86eb32b6 | 54 | %{__autoconf} |
55 | %{__autoheader} | |
56 | %{__automake} | |
406a3c50 | 57 | %configure --with-distributor="PLD" |
0949b79e | 58 | %{__make} \ |
59 | OPENAL_LIBS="`openal-config --libs`" | |
86eb32b6 | 60 | |
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
f55311b1 | 63 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
86eb32b6 | 64 | |
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
543550b6 | 67 | |
57ce0360 RT |
68 | install icons/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir} |
69 | install icons/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
86eb32b6 | 70 | |
0949b79e | 71 | %find_lang %{name} --all-name |
72 | ||
86eb32b6 | 73 | %clean |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
0949b79e | 76 | %files -f %{name}.lang |
86eb32b6 | 77 | %defattr(644,root,root,755) |
0949b79e | 78 | %doc AUTHORS ChangeLog doc/* |
86eb32b6 | 79 | %attr(755,root,root) %{_bindir}/* |
80 | %{_datadir}/%{name} | |
f55311b1 RT |
81 | %{_desktopdir}/%{name}.desktop |
82 | %{_pixmapsdir}/%{name}.* |