141 lines
4.9 KiB
RPMSpec
141 lines
4.9 KiB
RPMSpec
Name: naev
|
|
Version: 0.10.6
|
|
Release: 2mamba
|
|
Summary: 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: https://naev.org/
|
|
Source: https://github.com/naev/naev.git/v%{version}/naev-%{version}.tar.bz2
|
|
#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: libSDL2-devel
|
|
BuildRequires: libenet-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglpk-devel
|
|
BuildRequires: libopenal-devel
|
|
BuildRequires: libopenblas-devel
|
|
BuildRequires: libpcre2-devel
|
|
BuildRequires: libphysfs-devel
|
|
BuildRequires: libsdl2_image-devel
|
|
BuildRequires: libsuitesparse-devel
|
|
BuildRequires: libunibreak-devel
|
|
BuildRequires: libvorbis-devel
|
|
BuildRequires: libxml2-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libsuitesparse-devel >= 7.3.1-1mamba
|
|
BuildRequires: libbinutils-devel >= 2.33.1-4mamba
|
|
|
|
%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.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson \
|
|
-Dndata_path=%{_datadir}/naev/ndata
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
mv %{buildroot}%{_prefix}/doc/naev/* %{buildroot}%{_docdir}/naev/
|
|
|
|
#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/org.naev.Naev.desktop
|
|
%{_datadir}/metainfo/org.naev.Naev.metainfo.xml
|
|
%dir %{_datadir}/naev
|
|
%{_datadir}/naev/*
|
|
%{_datadir}/icons/hicolor/*/apps/org.naev.Naev.png
|
|
%{_mandir}/man6/naev.6*
|
|
%{_datadir}/doc/naev/LICENSE
|
|
%dir %{_docdir}/naev
|
|
%{_docdir}/naev/*
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Sun Nov 19 2023 Automatic Build System <autodist@mambasoft.it> 0.10.6-2mamba
|
|
- rebuilt by autoport with build requirements: libsuitesparse-devel>=7.3.1-1mamba
|
|
|
|
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.6-1mamba
|
|
- update to 0.10.6
|
|
|
|
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.2-2mamba
|
|
- rebuilt with libsuitesparse 7.2.2
|
|
|
|
* Fri Feb 26 2021 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.8.2-1mamba
|
|
- update to 0.8.2
|
|
|
|
* 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
|