]>
Commit | Line | Data |
---|---|---|
86eb32b6 | 1 | Summary: 3D realtime strategy on a future Earth |
252965d4 | 2 | Summary(pl.UTF-8): Gra RTS, której akcja toczy się w przyszłości |
86eb32b6 | 3 | Name: warzone2100 |
b00ddabd JR |
4 | Version: 3.1.2 |
5 | Release: 1 | |
543550b6 | 6 | License: GPL v2+ |
7 | Group: X11/Applications/Games/Strategy | |
a3e3ab1a | 8 | Source0: http://downloads.sourceforge.net/warzone2100/%{name}-%{version}.tar.xz |
b00ddabd | 9 | # Source0-md5: 4e947125e9604821164f1ad9d1922447 |
de5dce1b | 10 | Patch0: glew-1.12.patch |
260fb2fa | 11 | URL: http://www.wz2100.net/ |
a1fb40bf | 12 | BuildRequires: OpenAL-devel >= 0.0.8-4 |
5ac2b0a1 | 13 | BuildRequires: OpenGL-GLU-devel |
b00ddabd JR |
14 | BuildRequires: QtNetwork-devel |
15 | BuildRequires: QtScript-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 |
422b88d4 | 22 | BuildRequires: gettext-tools |
b00ddabd | 23 | BuildRequires: glew-devel |
8f8be4d6 | 24 | BuildRequires: libjpeg-devel |
543550b6 | 25 | BuildRequires: libmad-devel |
0949b79e | 26 | BuildRequires: libpng-devel >= 1.2 |
8b51f04e | 27 | BuildRequires: libtheora-devel >= 0.1 |
0949b79e | 28 | BuildRequires: libvorbis-devel >= 1.1 |
86eb32b6 | 29 | BuildRequires: physfs-devel |
0949b79e | 30 | BuildRequires: pkgconfig |
31 | BuildRequires: popt-devel | |
32 | BuildRequires: quesoglc-devel | |
dc44d6c6 | 33 | BuildRequires: sed >= 4.0 |
0949b79e | 34 | BuildRequires: unzip |
d18bd3a4 | 35 | BuildRequires: xorg-lib-libXt-devel |
d9dab421 | 36 | BuildRequires: zip |
9c2a7b6c | 37 | Requires: fonts-TTF-DejaVu |
38 | Requires: gdb | |
86eb32b6 | 39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
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. | |
46 | ||
088658b5 JR |
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 | |
dc44d6c6 | 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. | |
86eb32b6 | 53 | |
54 | %prep | |
77bfa44c | 55 | %setup -q |
de5dce1b | 56 | %patch0 -p1 |
86eb32b6 | 57 | |
79788b23 AG |
58 | # et_EE -> et |
59 | %{__sed} -e 's/et_EE/et/g' -i po/LINGUAS | |
60 | mv po/et{_EE,}.po | |
61 | mv po/et{_EE,}.gmo | |
62 | ||
86eb32b6 | 63 | %build |
dfcfd05f | 64 | %{__aclocal} -I m4 |
86eb32b6 | 65 | %{__autoconf} |
66 | %{__autoheader} | |
67 | %{__automake} | |
fdb68558 | 68 | %configure \ |
69 | --with-distributor="PLD" \ | |
70 | --docdir=%{_docdir}/%{name}-%{version} \ | |
71 | --with-icondir=%{_pixmapsdir} | |
a1fb40bf | 72 | %{__make} |
86eb32b6 | 73 | |
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
543550b6 | 79 | |
dc44d6c6 | 80 | # unsupported |
36c8efba | 81 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ca_ES |
0cf8d594 | 82 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/uk_UA |
dc44d6c6 | 83 | |
fdb68558 | 84 | %find_lang %{name} |
0949b79e | 85 | |
86eb32b6 | 86 | %clean |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
0949b79e | 89 | %files -f %{name}.lang |
86eb32b6 | 90 | %defattr(644,root,root,755) |
fdb68558 | 91 | %doc %{_docdir}/%{name}-%{version} |
fc73b0e0 | 92 | %{_mandir}/man6/%{name}.6* |
6f3b1ddd | 93 | %attr(755,root,root) %{_bindir}/%{name} |
86eb32b6 | 94 | %{_datadir}/%{name} |
f55311b1 | 95 | %{_desktopdir}/%{name}.desktop |
fdb68558 | 96 | %{_pixmapsdir}/%{name}.png |