Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 60342d6563a592f332d5dfcfe135fab3 > files > 4

7kaa-2.14.4-3.mga5.src.rpm

Name:           7kaa
Version:        2.14.4
Release:        %mkrel 3
Summary:        Seven Kingdoms: Ancient Adversaries is a real-time strategy game
Group:          Games/Strategy
License:        GPLv2
URL:            http://7kfans.com/
Source0:        http://sourceforge.net/projects/skfans/files/7KAA%20%{version}/%{name}-source-%{version}.tar.bz2
Source1:        %{name}.png
Source2:        %{name}.xpm
Patch0:         7kaa-2.14.3-datapath.patch

BuildRequires:  SDL-devel
BuildRequires:  SDL_net-devel
BuildRequires:  pkgconfig(openal)
Recommends:       %{name}-music

%description
Seven Kingdoms made departures from the traditional real-time strategy models
of "gather resources, build a base and army, and attack". The economic model
bears more resemblance to a turn-based strategy game. It features an espionage
system that allows players to train and control spies individually, who each
have a spying skill that increases over time. The player is also responsible
for catching spies in their own kingdom. Inns built within the game allow
players to hire mercenaries of various occupations, skill levels, and races.
Skilled spies of enemy races are essential to a well-conducted espionage
program, and the player can bolster his forces by grabbing a skilled fighter
or give ones own factories, mines, and towers of science, a boost by hiring a
skilled professional.

Enlight Software decided to release the game to the Open Source community
in August 2009. At that time everything, but the music, was released under
the GPL v2.

%prep
%setup -q
%apply_patches

%build
%configure2_5x --bindir=%{_gamesbindir} \
               --datadir=%{_gamesdatadir}
%make

%install
%makeinstall_std

mkdir -p %{buildroot}%{_datadir}/pixmaps
install -m 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/

# menu-entry
mkdir -p  %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Version=1.0
Name=Seven Kingdoms
Comment=Seven Kingdoms: Ancient Adversaries
Type=Application
Exec=%{name}
Icon=%{name}
Categories=Game;StrategyGame;
EOF

%files
%doc COPYING README
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.*
%{_gamesbindir}/%{name}
%{_gamesdatadir}/%{name}


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 2.14.4-3.mga5
+ Revision: 741071
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.14.4-2.mga5
+ Revision: 677637
- Mageia 5 Mass Rebuild

  + tv <tv>
    - s/uggests:/Recommends:/

* Thu May 01 2014 akien <akien> 2.14.4-1.mga5
+ Revision: 619101
- Update to 2.14.4 (now includes the data)
- importing source package from OpenMandriva


* Fri Mar 23 2012 Andrey Bondrov <abondrov@mandriva.org> 2.14.3-1mdv2011.0
+ Revision: 786258
- imported package 7kaa