All pastes #616796 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-12 21:15 UTC
rendered paste body
Name:           menareants
Version:        0.4
Release:        1%{?dist}
Summary:        A turn based strategic game

Group:          Amusements/Games
License:        GPL
URL:            http://coderz.info/wiki/Men_Are_Ants
Source0:        /home/builder/rpmbuild/SOURCES/menareants-0.4.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:gcc-c++
BuildRequires:subversion
BuildRequires:SDL_image-devel
BuildRequires:SDL_ttf-devel
BuildRequires:SDL_gfx-devel  
BuildRequires:SDL_mixer-devel
BuildRequires:gettext 
BuildRequires:desktop-file-utils
BuildRequires:rpm-build

Requires:rpmlib
Requires:SDL
Requires:SDL_image
Requires:SDL_gfx
Requires:SDL_mixer
Requires:SDL_ttf


%description
Men are ants is a turn based strategic game
As of now, there are a few units, factions and map.
In a game with IA or humans players, you begin with some cities and armies.
You have to develop yourself, conquer neutral cities to earn mon.

%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
#%find_lang %{name}
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --vendor=""                                 \
       --dir=%{buildroot}%{_datadir}/applications/   \
       %{buildroot}/%{_datadir}/applications/menareants.desktop


%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING  
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man6/%{name}.6.gz 
%{_bindir}/%{name}


%changelog
* Mon Jul 9 2007 Martin-Gomez Pablo <pablo.martin-gomez@laposte.net> 0.4-1.fc7
- First RPM release.