naev/naev.spec

121 lines
4.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: naev
Version: 0.7.0
Release: 6mamba
Summary: Naev is a 2D space trading and combat game, in a similar vein to Escape Velocity.
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://code.google.com/p/naev/
Source: http://downloads.sourceforge.net/project/naev/naev-%{version}/naev-%{version}.tar.bz2
Source1: http://downloads.sourceforge.net/project/naev/naev-%{version}/ndata-%{version}.zip
Source2: naev32.png
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfreetype-devel
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libogg-devel
BuildRequires: libopenal-devel
BuildRequires: libpng-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: libbinutils-devel >= 2.33.1-4mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
Naev is a 2D space trading and combat game, in a similar vein to Escape Velocity.
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.
%prep
%setup -q
%build
%configure --with-ndata-path=/usr/share/naev/ndata-%{version}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -m644 %{SOURCE1} -D %{buildroot}%{_datadir}/naev/ndata-%{version}
install -m664 %{SOURCE2} -D %{buildroot}%{_datadir}/icons/naev32.png
mkdir -p %{buildroot}/usr/share/applications/
%__cat << EOF > %{buildroot}%{_datadir}/applications/%{name}.desktop
[Desktop Entry]
Name=Naev
GenericName=Naev
GenericName[it]=Naev
Comment=2D space trading and combat game
Comment[it]=Gioco 2D di commercio e combattimento spaziale
Icon=%{_datadir}/icons/naev32.png
Exec=%{_bindir}/%{name}
Type=Application
Categories=Game;StrategyGame;
StartupNotify=true
EOF
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/naev
%{_datadir}/applications/naev.desktop
%{_datadir}/appdata/naev.appdata.xml
%{_datadir}/naev/ndata-%{version}
%{_datadir}/icons/naev32.png
%{_datadir}/doc/naev/AUTHORS
%{_datadir}/doc/naev/LICENSE
%{_datadir}/doc/naev/README
%{_datadir}/doc/naev/TODO
%{_mandir}/man6/naev.6.gz
%{_datadir}/naev/naev-confupdate.sh
%{_datadir}/pixmaps/naev.png
%doc AUTHORS LICENSE
%changelog
* Fri Dec 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-6mamba
- rebuilt with libbinutils 2.33.1-3mamba
* Sat Nov 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-5mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.33.1-2mamba
* Fri Feb 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-4mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.32-1mamba
* Sat Sep 22 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-3mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.31.1-1mamba
* Mon Nov 06 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-2mamba
- rebuilt with libbinutils 2.29.1
* Tue Sep 26 2017 Automatic Build System <autodist@mambasoft.it> 0.7.0-1mamba
- automatic version update by autodist
* Sun Jun 18 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-4mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.28-1mamba
* Sat Aug 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-3mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.27-1mamba
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-2mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.26-2mamba
* Fri Nov 13 2015 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
- automatic version update by autodist
* Fri Jul 31 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0-2mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.25.1-1mamba
* Fri May 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0-1mamba
- update to 0.6.0
* Fri Apr 20 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.5.3-1mamba
- package created by autospec