]>
Commit | Line | Data |
---|---|---|
57ce0360 | 1 | #$Revision: 1.18 $, $Date: 2007-06-22 21:36:10 $ |
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 |
57ce0360 | 5 | Version: 2.0.7 |
8f8be4d6 | 6 | Release: 0.1 |
86eb32b6 | 7 | License: GPL |
8 | Group: X11/Applications/Games | |
8f8be4d6 | 9 | Source0: http://download.gna.org/warzone/releases/2.0/%{name}-%{version}.tar.bz2 |
57ce0360 | 10 | # Source0-md5: 86b7db39cd1d80b09bfafbaeba24aa0f |
260fb2fa | 11 | URL: http://www.wz2100.net/ |
86eb32b6 | 12 | BuildRequires: OpenAL-devel |
5ac2b0a1 | 13 | BuildRequires: OpenGL-GLU-devel |
86eb32b6 | 14 | BuildRequires: SDL-devel >= 1.1.4 |
15 | BuildRequires: SDL_net-devel | |
16 | BuildRequires: autoconf | |
17 | BuildRequires: automake | |
73c8a072 | 18 | BuildRequires: bison |
86eb32b6 | 19 | BuildRequires: flex |
8f8be4d6 RT |
20 | BuildRequires: libjpeg-devel |
21 | #BuildRequires: libmad-devel | |
d9dab421 | 22 | BuildRequires: libvorbis-devel |
86eb32b6 | 23 | BuildRequires: physfs-devel |
d9dab421 | 24 | BuildRequires: zip |
86eb32b6 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | Warzone 2100 is a real-time strategy game. Although comparable to | |
29 | Earth 2150 in many significant respects, it does contain aspects that | |
30 | are unique. These include various radar technologies and a greater | |
31 | focus on artillery and counter-battery technologies. | |
32 | ||
088658b5 JR |
33 | %description -l pl.UTF-8 |
34 | Warzone 2100 jest grą strategiczną czasu rzeczywistego. Chociaż gra | |
35 | bardzo przypomina grę Earth 2150, to jednak zostało do niej | |
36 | wprowadzonych kilka ciekawych pomysłów. Są to między innymi rozmaite | |
37 | technologie radarowe oraz większe skupienie się na technologiach | |
86eb32b6 | 38 | artyleryjskich oraz obronie przeciwlotniczej. |
39 | ||
40 | %prep | |
8f8be4d6 | 41 | %setup -q |
86eb32b6 | 42 | |
43 | %build | |
dfcfd05f | 44 | %{__aclocal} -I m4 |
86eb32b6 | 45 | %{__autoconf} |
46 | %{__autoheader} | |
47 | %{__automake} | |
ebee942c RT |
48 | #./autogen.sh |
49 | perl -pi -e "s#-m32##g" ./makerules/common.mk | |
50 | perl -pi -e "s#-m32##g" configure | |
86eb32b6 | 51 | %configure |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
f55311b1 | 56 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
86eb32b6 | 57 | |
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
57ce0360 RT |
60 | install icons/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir} |
61 | install icons/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
62 | install icons/%{name}.svg $RPM_BUILD_ROOT%{_pixmapsdir} | |
86eb32b6 | 63 | |
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS ChangeLog README TODO | |
70 | %attr(755,root,root) %{_bindir}/* | |
71 | %{_datadir}/%{name} | |
f55311b1 RT |
72 | %{_desktopdir}/%{name}.desktop |
73 | %{_pixmapsdir}/%{name}.* |