Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 44d0624057d61d309a909a0cea9c007c > files > 3

naev-0.5.3-5.mga4.src.rpm

%define version  0.5.3
%define name     naev
%define dataname %{name}-data
%define release  %mkrel 5

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	2D space trading and combat game
Group:		Games/Arcade 
License:	GPLv3+
URL:		http://code.google.com/p/naev/
Source0:	http://naev.googlecode.com/files/%{name}-%{version}.tar.bz2
Source2:	http://naev.googlecode.com/files/ndata-%{version}
Source3:	naev-update.sh
BuildRequires: 	SDL-devel
BuildRequires: 	libxml2-devel
BuildRequires: 	freetype2-devel
BuildRequires: 	libpng-devel
BuildRequires: 	libopenal-devel
BuildRequires: 	libvorbis-devel >= 1.2.1 
BuildRequires: 	binutils-devel
BuildRequires: 	libjpeg-devel
BuildRequires: 	libSDL_image-devel
BuildRequires: 	libSDL_mixer-devel
Requires:       %{name}-data = %{version}

%description
NAEV is a 2D space trading and combat game, taking inspiration from the
Escape Velocity series.

You pilot a space ship from a top-down perspective, and are more or less
free to do what you want. As the genre name implies, you’re able to trade
and engage in combat at will. Beyond that, there’s an ever-growing number
of storyline missions, equipment, and ships; Even the galaxy itself grows
larger with each release. For the literarily-inclined, there are large
amounts of lore accompanying everything from planets to equipment.

%package -n %{dataname}
Group: Games/Arcade
License: GPLv3+ AND GPLv3 AND GPLv2+ AND Public Domain AND CC-by 3.0 AND CC-by-sa 3.0
Summary: Data files for %{name}
Requires: %{name} = %{version}
BuildArch: noarch

%description -n %{dataname}
NAEV is a 2D space trading and combat game, taking inspiration from the
Escape Velocity series.

This is the data file.

%prep
%setup -q

%build
%configure2_5x --bindir=%{_gamesbindir} --with-ndata-path=%{_gamesdatadir}/%{name}/ndata
%make 

%install
%makeinstall_std
rm -f %{buildroot}%{_datadir}/naev/naev-confupdate.sh
install -m644 %{SOURCE2} -D %{buildroot}%{_gamesdatadir}/%{name}/ndata
install -m755 %{SOURCE3} -D %{buildroot}%{_gamesdatadir}/%{name}/naev-update.sh

desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop

%files
%doc README LICENSE AUTHORS TODO
%{_gamesbindir}/%{name}
%{_mandir}/man6/naev.6.*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_gamesdatadir}/%{name}/naev-update.sh

%files -n %{dataname}
%{_gamesdatadir}/%{name}/ndata


%changelog
* Sat Oct 19 2013 umeabot <umeabot> 0.5.3-5.mga4
+ Revision: 526186
- Mageia 4 Mass Rebuild

* Mon Jun 03 2013 fwang <fwang> 0.5.3-4.mga4
+ Revision: 436023
- rebuild for new libpng

* Sat Jan 12 2013 umeabot <umeabot> 0.5.3-3.mga3
+ Revision: 360666
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Jun 03 2012 dams <dams> 0.5.3-2.mga3
+ Revision: 253806
- clean spec file
- use 'gamesdatadir' and 'gamesbindir' to install game
- remove icon and .desktop patch as now fix in upstream tarball

* Sat Jun 02 2012 petos <petos> 0.5.3-1.mga3
+ Revision: 253421
- Updated to new version 0.5.3
- Update to new version 0.5.2

* Sat Mar 03 2012 petos <petos> 0.5.1-2.mga2
+ Revision: 217387
- Update to new version 0.5.1

* Sat Oct 15 2011 petos <petos> 0.5.0-1.mga2
+ Revision: 155401
- pixmap added to the package
- patch added
- Updated to version 0.5.0

* Thu Sep 15 2011 fwang <fwang> 0.4.2-2.mga2
+ Revision: 143699
- fix zlib includes

* Mon Apr 11 2011 xrogaan <xrogaan> 0.4.2-2.mga1
+ Revision: 83336
- add a missing Requires

* Wed Mar 02 2011 philippem <philippem> 0.4.2-1.mga1
+ Revision: 62497
- fix wrong BuildRequires on lib64jpeg-devel

  + xrogaan <xrogaan>
    - imported package naev


* Mon Feb 14 2011 Ludovic Bellière <xrogaan@gmail.com> 0.4.2-1
- Cleanup spec.
- Created with base on spec from blogdrake.net