Summary: Strategy game Summary(pl): Gra strategiczna Name: freelords Version: 0.3.1 Release: 0.1 License: GPL Group: X11/Applications/Games/Strategy Source0: http://dl.sourceforge.net/freelords/%{name}-%{version}.tar.bz2 # Source0-md5: 614776752fe166e3c5fcd107e42bfd4b Source1: %{name}rc.conf Patch0: %{name}-configure_in.patch URL: http://www.freelords.org/ BuildRequires: SDL_image-devel >= 1.2.0 BuildRequires: autoconf BuildRequires: automake BuildRequires: libstdc++-devel BuildRequires: libsigc++-devel >= 1.2.1 BuildRequires: libtool BuildRequires: paragui-devel >= 1.0.4 BuildRequires: qt-devel >= 2.2.0 BuildRequires: pkgconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description FreeLords is a turn-based strategy game. There can be various goals to achieve like e.g.: destroying all enemies, gathering a specific amount of money, occupying a certain city, ... %description -l pl FreeLords to gra strategiczna z podziałem na tury. Cele gry mogą być różne np. zniszczenie wszystkich przeciwników, zebranie określonej sumy pieniędzy, okupacja określonego miasta i inne. %prep %setup -q %patch0 -p0 %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__automake} %configure \ --disable-paraguitest %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/etc %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT/etc/freelordsrc %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc doc/* AUTHORS ChangeLog TODO %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) /etc/* %attr(755,root,root) %{_bindir}/* %{_datadir}/%{name}