Blob Blame History Raw
Name:           naev
Version:        0.5.1
Release:        1%{?dist}
Summary:        2d action, RPG space game
License:        GPLv3
Group:          Amusements/Games
BuildRequires:  SDL-devel
BuildRequires:  SDL_image-devel
BuildRequires:  libxml2-devel
BuildRequires:  freetype-devel
BuildRequires:  libpng-devel
BuildRequires:  libvorbis-devel
BuildRequires:  openal-soft-devel
BuildRequires:  desktop-file-utils
BuildRequires:  SDL_mixer-devel
BuildRequires:  lua-devel
BuildRequires:  readline-devel
BuildRequires:  suitesparse-devel
BuildRequires:  mesa-libGL-devel
BuildRequires:  mesa-libGLU-devel
Requires:       %{name}-data = %{version}

NAEV is a 2D space trading and combat game, in a similar vein to Escape

NAEV is played from a top-down perspective, featuring fast-paced combat, many
ships, a large variety of equipment and a large galaxy to explore. The game is
highly open-ended, letting you proceed at your own pace.

%setup -q -n %{name}-%{version}
# Remove built-in libraries
rm -rf lib/lua lib/csparse
# Patch configure to use system cxsparse
sed -i s/"\$have_csparse_lib = yes -a \$have_cxsparse_lib = yes -a"/" \\\( \$have_csparse_lib = yes -o \$have_cxsparse_lib = yes \\\) -a"/g configure
sed -i s/"-lcsparse -lcxsparse"/"-lcxsparse"/g configure

# note the ndata-path needs to point directly to the file
%configure --with-ndata-path=%{_datadir}/%{name}/ndata-%{version} --enable-lua=shared --disable-shave
make %{?_smp_mflags}

make DESTDIR=%{buildroot} install

# Copy high quality 256x256 icon rather than default 32x32
rm -f %{buildroot}%{_datadir}/pixmaps/naev.png
install -m 644 extras/logos/naev.png %{buildroot}%{_datadir}/pixmaps/naev.png

# docs get installed to wrong location
rm -rf %{buildroot}%{_docdir}/naev

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


* Fri Mar  2 2012 Jonathan Dieter <> - 0.5.1-1
- Test FTBFS failure
- Update to 0.5.1 - with new missions, a new faction and other improvements

* Fri Jan 13 2012 Fedora Release Engineering <> - 0.5.0-5
- Rebuilt for

* Tue Dec 06 2011 Adam Jackson <> - 0.5.0-4
- Rebuild for new libpng

* Tue Jun 28 2011 Jonathan Dieter <> - 0.5.0-3
- Remove unneeded defattr

* Mon Jun 27 2011 Jonathan Dieter <> - 0.5.0-2
- Clean up spec

* Sun Jun  5 2011 Jonathan Dieter <> - 0.5.0-1
- Convert openSUSE Build Service RPM to Fedora RPM
- Split data into separate source rpm

* Wed Jun  9 2010 dbuck <> - 0.4.2-1
- initial build