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