1 Summary: 3D realtime strategy on a future Earth
2 Summary(pl.UTF-8): Gra RTS, której akcja toczy się w przyszłości
7 Group: X11/Applications/Games/Strategy
8 Source0: http://downloads.sourceforge.net/warzone2100/%{name}-%{version}.tar.xz
9 # Source0-md5: 4e947125e9604821164f1ad9d1922447
10 Patch0: glew-1.12.patch
11 URL: http://www.wz2100.net/
12 BuildRequires: OpenAL-devel >= 0.0.8-4
13 BuildRequires: OpenGL-GLU-devel
14 BuildRequires: QtNetwork-devel
15 BuildRequires: QtScript-devel
16 BuildRequires: SDL-devel >= 1.2
17 BuildRequires: SDL_net-devel
18 BuildRequires: autoconf
19 BuildRequires: automake
22 BuildRequires: gettext-tools
23 BuildRequires: glew-devel
24 BuildRequires: libjpeg-devel
25 BuildRequires: libmad-devel
26 BuildRequires: libpng-devel >= 1.2
27 BuildRequires: libtheora-devel >= 0.1
28 BuildRequires: libvorbis-devel >= 1.1
29 BuildRequires: physfs-devel
30 BuildRequires: pkgconfig
31 BuildRequires: popt-devel
32 BuildRequires: quesoglc-devel
33 BuildRequires: sed >= 4.0
35 BuildRequires: xorg-lib-libXt-devel
37 Requires: fonts-TTF-DejaVu
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 Warzone 2100 is a real-time strategy game. Although comparable to
43 Earth 2150 in many significant respects, it does contain aspects that
44 are unique. These include various radar technologies and a greater
45 focus on artillery and counter-battery technologies.
47 %description -l pl.UTF-8
48 Warzone 2100 jest grą strategiczną czasu rzeczywistego. Chociaż gra
49 bardzo przypomina grę Earth 2150, to jednak zostało do niej
50 wprowadzonych kilka ciekawych pomysłów. Są to między innymi rozmaite
51 technologie radarowe oraz większe skupienie się na technologiach
52 artyleryjskich oraz obronie przeciwlotniczej.
59 %{__sed} -e 's/et_EE/et/g' -i po/LINGUAS
69 --with-distributor="PLD" \
70 --docdir=%{_docdir}/%{name}-%{version} \
71 --with-icondir=%{_pixmapsdir}
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
81 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ca_ES
82 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/uk_UA
87 rm -rf $RPM_BUILD_ROOT
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc %{_docdir}/%{name}-%{version}
92 %{_mandir}/man6/%{name}.6*
93 %attr(755,root,root) %{_bindir}/%{name}
95 %{_desktopdir}/%{name}.desktop
96 %{_pixmapsdir}/%{name}.png