Name: glest Version: 2.0.0 Release: 1%{?dist} Summary: Free 3D real time customizable strategy game Group: Amusements/Games License: GPL URL: http://www.glest.org/ Source0: glest_source_2.0.0.zip #Source1: glest_data_2.0.0.zip Source2: glest.sh Patch0: glest-gcc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xerces-c-devel jam SDL-devel gcc-c++ libdrm-devel libvorbis-devel openal-devel unzip Requires: glest-data %description Glest is a free 3D real time strategy game, available for several operative systems and that can be modified using XML and a set of tools C Current version includes single player game against AI controlled players, providing two factions for the player to control: Magic and Tech, each with their corresponding tech trees, units and buildings. %prep rm -rf glest_source_%{version} unzip -a %{SOURCE0} cd glest_source_%{version} %patch0 -p1 %build cd glest_source_%{version}/mk/linux sh autogen.sh %configure --with-wx-config=/dev/null jam %install rm -rf $RPM_BUILD_ROOT cd glest_source_%{version}/mk/linux strip glest mkdir -p $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT/etc install -m755 %{SOURCE2} $RPM_BUILD_ROOT/usr/bin/glest install -m755 glest $RPM_BUILD_ROOT/usr/bin/glest.bin install -m644 glest.ini $RPM_BUILD_ROOT/etc/glest.ini #cd $RPM_BUILD_ROOT/usr/share/glest #unzip -a %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) #%doc doc/* /etc/glest.ini /usr/bin/glest /usr/bin/glest.bin %changelog