]> git.pld-linux.org Git - packages/warzone2100.git/blame - warzone2100.spec
- cleanup
[packages/warzone2100.git] / warzone2100.spec
CommitLineData
cc2cb908 1#$Revision: 1.25 $, $Date: 2008-12-25 09:43:17 $
86eb32b6 2Summary: 3D realtime strategy on a future Earth
252965d4 3Summary(pl.UTF-8): Gra RTS, której akcja toczy się w przyszłości
86eb32b6 4Name: warzone2100
0949b79e 5Version: 2.1.0
543550b6 6Release: 1
7License: GPL v2+
8Group: X11/Applications/Games/Strategy
0949b79e 9Source0: http://download.gna.org/warzone/releases/2.1/%{name}-%{version}.tar.bz2
10# Source0-md5: 5590795a6c1d961eb4dc99ce54a4c882
543550b6 11Patch0: %{name}-desktop.patch
0949b79e 12Patch1: %{name}-configure.patch
260fb2fa 13URL: http://www.wz2100.net/
0949b79e 14BuildRequires: OpenAL-devel >= 0.0.8
5ac2b0a1 15BuildRequires: OpenGL-GLU-devel
0949b79e 16BuildRequires: SDL-devel >= 1.2
86eb32b6 17BuildRequires: SDL_net-devel
18BuildRequires: autoconf
19BuildRequires: automake
73c8a072 20BuildRequires: bison
86eb32b6 21BuildRequires: flex
8f8be4d6 22BuildRequires: libjpeg-devel
543550b6 23BuildRequires: libmad-devel
0949b79e 24BuildRequires: libpng-devel >= 1.2
25BuildRequires: libvorbis-devel >= 1.1
86eb32b6 26BuildRequires: physfs-devel
0949b79e 27BuildRequires: pkgconfig
28BuildRequires: popt-devel
29BuildRequires: quesoglc-devel
30BuildRequires: unzip
d9dab421 31BuildRequires: zip
86eb32b6 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Warzone 2100 is a real-time strategy game. Although comparable to
36Earth 2150 in many significant respects, it does contain aspects that
37are unique. These include various radar technologies and a greater
38focus on artillery and counter-battery technologies.
39
088658b5
JR
40%description -l pl.UTF-8
41Warzone 2100 jest grą strategiczną czasu rzeczywistego. Chociaż gra
42bardzo przypomina grę Earth 2150, to jednak zostało do niej
43wprowadzonych kilka ciekawych pomysłów. Są to między innymi rozmaite
44technologie radarowe oraz większe skupienie się na technologiach
86eb32b6 45artyleryjskich 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
62rm -rf $RPM_BUILD_ROOT
f55311b1 63install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
86eb32b6 64
65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
543550b6 67
57ce0360
RT
68install icons/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
69install icons/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
86eb32b6 70
0949b79e 71%find_lang %{name} --all-name
72
86eb32b6 73%clean
74rm -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}.*
This page took 0.114558 seconds and 4 git commands to generate.