]> git.pld-linux.org Git - packages/warzone2100.git/blame - warzone2100.spec
- release 5 (by relup.sh)
[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
b00ddabd 4Version: 3.1.2
7f882844 5Release: 5
543550b6 6License: GPL v2+
7Group: X11/Applications/Games/Strategy
a3e3ab1a 8Source0: http://downloads.sourceforge.net/warzone2100/%{name}-%{version}.tar.xz
b00ddabd 9# Source0-md5: 4e947125e9604821164f1ad9d1922447
de5dce1b 10Patch0: glew-1.12.patch
aa976726 11Patch1: gcc8.patch
260fb2fa 12URL: http://www.wz2100.net/
a1fb40bf 13BuildRequires: OpenAL-devel >= 0.0.8-4
5ac2b0a1 14BuildRequires: OpenGL-GLU-devel
b00ddabd
JR
15BuildRequires: QtNetwork-devel
16BuildRequires: QtScript-devel
0949b79e 17BuildRequires: SDL-devel >= 1.2
86eb32b6 18BuildRequires: SDL_net-devel
19BuildRequires: autoconf
20BuildRequires: automake
73c8a072 21BuildRequires: bison
86eb32b6 22BuildRequires: flex
422b88d4 23BuildRequires: gettext-tools
b00ddabd 24BuildRequires: glew-devel
8f8be4d6 25BuildRequires: libjpeg-devel
543550b6 26BuildRequires: libmad-devel
0949b79e 27BuildRequires: libpng-devel >= 1.2
8b51f04e 28BuildRequires: libtheora-devel >= 0.1
0949b79e 29BuildRequires: libvorbis-devel >= 1.1
86eb32b6 30BuildRequires: physfs-devel
0949b79e 31BuildRequires: pkgconfig
32BuildRequires: popt-devel
33BuildRequires: quesoglc-devel
dc44d6c6 34BuildRequires: sed >= 4.0
0949b79e 35BuildRequires: unzip
d18bd3a4 36BuildRequires: xorg-lib-libXt-devel
d9dab421 37BuildRequires: zip
d0a6f63e 38Requires: %{name}-data = %{version}-%{release}
9c2a7b6c 39Requires: fonts-TTF-DejaVu
40Requires: gdb
86eb32b6 41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
44Warzone 2100 is a real-time strategy game. Although comparable to
45Earth 2150 in many significant respects, it does contain aspects that
46are unique. These include various radar technologies and a greater
47focus on artillery and counter-battery technologies.
48
088658b5
JR
49%description -l pl.UTF-8
50Warzone 2100 jest grą strategiczną czasu rzeczywistego. Chociaż gra
51bardzo przypomina grę Earth 2150, to jednak zostało do niej
dc44d6c6 52wprowadzonych kilka ciekawych pomysłów. Są to między innymi rozmaite
53technologie radarowe oraz większe skupienie się na technologiach
54artyleryjskich oraz obronie przeciwlotniczej.
86eb32b6 55
d0a6f63e
ER
56%package data
57Summary: Warzone 2100 data files
58Group: X11/Applications/Games/Strategy
59%if "%{_rpmversion}" >= "5"
60BuildArch: noarch
61%endif
62
63%description data
64Warzone 2100 data files
65
86eb32b6 66%prep
77bfa44c 67%setup -q
de5dce1b 68%patch0 -p1
aa976726 69%patch1 -p1
86eb32b6 70
79788b23
AG
71# et_EE -> et
72%{__sed} -e 's/et_EE/et/g' -i po/LINGUAS
73mv po/et{_EE,}.po
74mv po/et{_EE,}.gmo
75
86eb32b6 76%build
dfcfd05f 77%{__aclocal} -I m4
86eb32b6 78%{__autoconf}
79%{__autoheader}
80%{__automake}
fdb68558 81%configure \
82 --with-distributor="PLD" \
83 --docdir=%{_docdir}/%{name}-%{version} \
84 --with-icondir=%{_pixmapsdir}
a1fb40bf 85%{__make}
86eb32b6 86
87%install
88rm -rf $RPM_BUILD_ROOT
89
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
543550b6 92
dc44d6c6 93# unsupported
d0a6f63e
ER
94%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ca_ES
95%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/uk_UA
dc44d6c6 96
fdb68558 97%find_lang %{name}
0949b79e 98
86eb32b6 99%clean
100rm -rf $RPM_BUILD_ROOT
101
0949b79e 102%files -f %{name}.lang
86eb32b6 103%defattr(644,root,root,755)
fdb68558 104%doc %{_docdir}/%{name}-%{version}
6f3b1ddd 105%attr(755,root,root) %{_bindir}/%{name}
d0a6f63e 106%{_mandir}/man6/%{name}.6*
f55311b1 107%{_desktopdir}/%{name}.desktop
fdb68558 108%{_pixmapsdir}/%{name}.png
d0a6f63e
ER
109
110%files data
111%defattr(644,root,root,755)
112%{_datadir}/%{name}
This page took 0.100365 seconds and 4 git commands to generate.