update to 0.8.2 [release 0.8.2-1mamba;Fri Feb 26 2021]

This commit is contained in:
Ercole 'ercolinux' Carpanetto 2024-01-06 07:29:43 +01:00
parent 47ab688a92
commit f2a30131f9

259
naev.spec
View File

@ -1,49 +1,51 @@
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.
Version: 0.8.2
Release: 1mamba
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: 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
URL: https://naev.org/
Source: https://github.com/naev/naev/archive/v%{version}.zip
#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: ldconfig
BuildRequires: libSDL2-devel
BuildRequires: libfreetype-devel
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libogg-devel
BuildRequires: libgcc
BuildRequires: libopenal-devel
BuildRequires: libpng-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libsdl2_mixer-devel
BuildRequires: libsuitesparse-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: libz-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.
%debug_package
%prep
%setup -q
%build
%configure --with-ndata-path=/usr/share/naev/ndata-%{version}
%make
meson build --prefix /usr
meson compile -C build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -m644 %{SOURCE1} -D %{buildroot}%{_datadir}/naev/ndata-%{version}
DESTDIR=%{buildroot} meson install -C build
#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
@ -64,22 +66,229 @@ EOF
[ "%{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
/usr/doc/naev/c/*html
/usr/doc/naev/c/*.map
/usr/doc/naev/c/*.md5
/usr/doc/naev/c/*.png
/usr/doc/naev/c/*.css
/usr/doc/naev/c/*.svg
/usr/doc/naev/c/*.js
%{_datadir}/applications/*.desktop
#%{_datadir}/appdata/naev.appdata.xml
#%{_datadir}/naev/ndata-%{version}
%{_datadir}/doc/naev/LICENSE
%{_datadir}/doc/naev/README
%{_datadir}/doc/naev/TODO
%{_datadir}/icons/hicolor/128x128/apps/naev.png
%{_datadir}/icons/hicolor/16x16/apps/naev.png
%{_datadir}/icons/hicolor/256x256/apps/naev.png
%{_datadir}/icons/hicolor/32x32/apps/naev.png
%{_datadir}/icons/hicolor/64x64/apps/naev.png
%{_datadir}/icons/naev32.png
%{_mandir}/man6/naev.6.gz
%{_datadir}/metainfo/org.naev.naev.metainfo.xml
%{_datadir}/naev/dat/ai/personality/*.lua
%{_datadir}/naev/dat/AUTHORS
%{_datadir}/naev/dat/LANGUAGES
%{_datadir}/naev/dat/VERSION
%{_datadir}/naev/dat/ai/*.lua
%{_datadir}/naev/dat/ai/tpl/*.lua
%{_datadir}/naev/dat/assets/*.xml
%{_datadir}/naev/dat/*.xml
%{_datadir}/naev/dat/bkg/*.lua
%{_datadir}/naev/dat/events/*.lua
%{_datadir}/naev/dat/events/cinematic/DvdFLFbattle.lua
%{_datadir}/naev/dat/events/dvaered/warlords_battle.lua
%{_datadir}/naev/dat/events/flf/*.lua
%{_datadir}/naev/dat/events/neutral/*.lua
%{_datadir}/naev/dat/events/sirius/*.lua
%{_datadir}/naev/dat/factions/equip/*.lua
%{_datadir}/naev/dat/factions/spawn/*.lua
%{_datadir}/naev/dat/factions/standing/*.lua
%{_datadir}/naev/dat/fonts/*.otf
%{_datadir}/naev/dat/fonts/*.ttf
%{_datadir}/naev/dat/fonts/FONT_LICENSE.yaml
%{_datadir}/naev/dat/fonts/OFL.txt
%{_datadir}/naev/dat/gettext/de/LC_MESSAGES/naev.mo
%{_datadir}/naev/dat/gettext/ja/LC_MESSAGES/naev.mo
%{_datadir}/naev/dat/gettext/ko/LC_MESSAGES/naev.mo
%{_datadir}/naev/dat/gfx/ARTWORK_LICENSE.yaml
%{_datadir}/naev/dat/gfx/Naev.png
%{_datadir}/naev/dat/gfx/bkg/*.png
%{_datadir}/naev/dat/gfx/bkg/star/*.png
%{_datadir}/naev/dat/gfx/commodity/*.png
%{_datadir}/naev/dat/gfx/gui/brushed/*.png
%{_datadir}/naev/dat/gfx/gui/*.png
%{_datadir}/naev/dat/gfx/gui/slim/*.png
%{_datadir}/naev/dat/gfx/gui/slimv2/*.png
%{_datadir}/naev/dat/gfx/intro/*.png
%{_datadir}/naev/dat/gfx/loading/*.png
%{_datadir}/naev/dat/gfx/logo/*.png
%{_datadir}/naev/dat/gfx/map/*.png
%{_datadir}/naev/dat/gfx/metadata_sprite.sh
%{_datadir}/naev/dat/gfx/outfit/check.sh
%{_datadir}/naev/dat/gfx/outfit/space/*.png
%{_datadir}/naev/dat/gfx/outfit/space_polygon/*.xml
%{_datadir}/naev/dat/gfx/outfit/store/*.png
%{_datadir}/naev/dat/gfx/overlays/*.png
%{_datadir}/naev/dat/gfx/planet/check.sh
%{_datadir}/naev/dat/gfx/planet/exterior/*.png
%{_datadir}/naev/dat/gfx/planet/space/*.png
%{_datadir}/naev/dat/gfx/planet/space/asteroid/*.png
%{_datadir}/naev/dat/gfx/planet/space/marker/*.png
%{_datadir}/naev/dat/gfx/planet/space/*.png
%{_datadir}/naev/dat/gfx/portraits/dvaered/*.png
%{_datadir}/naev/dat/gfx/portraits/empire/*.png
%{_datadir}/naev/dat/gfx/portraits/empire/unique/*.png
%{_datadir}/naev/dat/gfx/portraits/flf/unique/*.png
%{_datadir}/naev/dat/gfx/portraits/neutral/*.png
%{_datadir}/naev/dat/gfx/portraits/neutral/unique/*.png
%{_datadir}/naev/dat/gfx/portraits/*.png
%{_datadir}/naev/dat/gfx/portraits/pirate/*.png
%{_datadir}/naev/dat/gfx/portraits/sirius/unique/*.png
%{_datadir}/naev/dat/gfx/portraits/zalek/unique/*.png
%{_datadir}/naev/dat/gfx/ship/admonisher/*.png
%{_datadir}/naev/dat/gfx/ship/ancestor/*.png
%{_datadir}/naev/dat/gfx/ship/apprehension/*.png
%{_datadir}/naev/dat/gfx/ship/archimedes/*.png
%{_datadir}/naev/dat/gfx/ship/arx/*.png
%{_datadir}/naev/dat/gfx/ship/brigand/*.png
%{_datadir}/naev/dat/gfx/ship/certitude/*.png
%{_datadir}/naev/dat/gfx/ship/demon/*.png
%{_datadir}/naev/dat/gfx/ship/derivative/*.png
%{_datadir}/naev/dat/gfx/ship/diablo/*.png
%{_datadir}/naev/dat/gfx/ship/divinity/*.png
%{_datadir}/naev/dat/gfx/ship/dogma/*.png
%{_datadir}/naev/dat/gfx/ship/drone/*.png
%{_datadir}/naev/dat/gfx/ship/fidelity/*.png
%{_datadir}/naev/dat/gfx/ship/gawain/*.png
%{_datadir}/naev/dat/gfx/ship/goddard/*.png
%{_datadir}/naev/dat/gfx/ship/hawking/*.png
%{_datadir}/naev/dat/gfx/ship/hephaestus/*.png
%{_datadir}/naev/dat/gfx/ship/hyena/*.png
%{_datadir}/naev/dat/gfx/ship/imp/*.png
%{_datadir}/naev/dat/gfx/ship/ingenuity/*.png
%{_datadir}/naev/dat/gfx/ship/ira/*.png
%{_datadir}/naev/dat/gfx/ship/kahan/*.png
%{_datadir}/naev/dat/gfx/ship/kestrel/*.png
%{_datadir}/naev/dat/gfx/ship/koala/*.png
%{_datadir}/naev/dat/gfx/ship/lancelot/*.png
%{_datadir}/naev/dat/gfx/ship/llama/*.png
%{_datadir}/naev/dat/gfx/ship/marauder/*.png
%{_datadir}/naev/dat/gfx/ship/mephisto/*.png
%{_datadir}/naev/dat/gfx/ship/mule/*.png
%{_datadir}/naev/dat/gfx/ship/naevup.xcf
%{_datadir}/naev/dat/gfx/ship/nyx/*.png
%{_datadir}/naev/dat/gfx/ship/odium/*.png
%{_datadir}/naev/dat/gfx/ship/pacifier/*.png
%{_datadir}/naev/dat/gfx/ship/peacemaker/*.png
%{_datadir}/naev/dat/gfx/ship/perspicacity/*.png
%{_datadir}/naev/dat/gfx/ship/phalanx/*.png
%{_datadir}/naev/dat/gfx/ship/preacher/*.png
%{_datadir}/naev/dat/gfx/ship/prototype/*.png
%{_datadir}/naev/dat/gfx/ship/quicksilver/*.png
%{_datadir}/naev/dat/gfx/ship/reaver/*.png
%{_datadir}/naev/dat/gfx/ship/rhino/*.png
%{_datadir}/naev/dat/gfx/ship/schroedinger/*.png
%{_datadir}/naev/dat/gfx/ship/scintillation/*.png
%{_datadir}/naev/dat/gfx/ship/shaman/*.png
%{_datadir}/naev/dat/gfx/ship/shark/*.png
%{_datadir}/naev/dat/gfx/ship/sting/*.png
%{_datadir}/naev/dat/gfx/ship/taciturnity/*.png
%{_datadir}/naev/dat/gfx/ship/update.sh
%{_datadir}/naev/dat/gfx/ship/vendetta/*.png
%{_datadir}/naev/dat/gfx/ship/vigilance/*.png
%{_datadir}/naev/dat/gfx/ship/virtuosity/*.png
%{_datadir}/naev/dat/gfx/ship/vox/*.png
%{_datadir}/naev/dat/gfx/ship/watson/*.png
%{_datadir}/naev/dat/gfx/ship/zalek/*.png
%{_datadir}/naev/dat/gfx/ship_polygon/*.xml
%{_datadir}/naev/dat/gfx/ship_polygon/zalek_drone_scout.xml
%{_datadir}/naev/dat/gfx/spfx/*.png
%{_datadir}/naev/dat/glsl/*.frag
%{_datadir}/naev/dat/glsl/*.vert
%{_datadir}/naev/dat/glsl/*.glsl
%{_datadir}/naev/dat/gui/*.lua
%{_datadir}/naev/dat/intro
%{_datadir}/naev/dat/*.lua
%{_datadir}/naev/dat/*.xml
%{_datadir}/naev/dat/missions/baron/*.lua
%{_datadir}/naev/dat/missions/dvaered/*.lua
%{_datadir}/naev/dat/missions/empire/collective/*.lua
%{_datadir}/naev/dat/missions/empire/*.lua
%{_datadir}/naev/dat/missions/empire/longdistanceshipping/*.lua
%{_datadir}/naev/dat/missions/empire/shipping/*.lua
%{_datadir}/naev/dat/missions/flf/dvk/*.lua
%{_datadir}/naev/dat/missions/flf/*.lua
%{_datadir}/naev/dat/missions/neutral/*.lua
%{_datadir}/naev/dat/missions/neutral/runaway/*.lua
%{_datadir}/naev/dat/missions/pirate/*.lua
%{_datadir}/naev/dat/missions/proteron/*.lua
%{_datadir}/naev/dat/missions/shadow/*.lua
%{_datadir}/naev/dat/missions/shark/*.lua
%{_datadir}/naev/dat/missions/sirius/achack/*.lua
%{_datadir}/naev/dat/missions/sirius/*.lua
%{_datadir}/naev/dat/missions/sirius/heretic/*.lua
%{_datadir}/naev/dat/missions/soromid/comingout/*.lua
%{_datadir}/naev/dat/missions/soromid/*.lua
%{_datadir}/naev/dat/missions/trader/*.lua
%{_datadir}/naev/dat/missions/tutorial/*.lua
%{_datadir}/naev/dat/missions/zalek/*.lua
%{_datadir}/naev/dat/missions/zalek/neburesearch/*.lua
%{_datadir}/naev/dat/missions/zalek/sciencegonewrong/*.lua
%{_datadir}/naev/dat/missions/zalek/*.lua
%{_datadir}/naev/dat/ai/include/*.lua
%{_datadir}/naev/dat/events/tutorial/*.lua
%{_datadir}/naev/dat/gfx/commodity/space/*.png
%{_datadir}/naev/dat/outfits/accessory/*.xml
%{_datadir}/naev/dat/outfits/activated/*.xml
%{_datadir}/naev/dat/outfits/bio_weapons/*.xml
%{_datadir}/naev/dat/outfits/biocore_brain/*.xml
%{_datadir}/naev/dat/outfits/biocore_fin/*.xml
%{_datadir}/naev/dat/outfits/core_engine/*.xml
%{_datadir}/naev/dat/outfits/core_hull/*.xml
%{_datadir}/naev/dat/outfits/launchers/*.xml
%{_datadir}/naev/dat/outfits/maps/*.xml
%{_datadir}/naev/dat/outfits/misc/*.xml
%{_datadir}/naev/dat/outfits/modifiers/*.xml
%{_datadir}/naev/dat/outfits/rockets/*.xml
%{_datadir}/naev/dat/outfits/unique/*.xml
%{_datadir}/naev/dat/outfits/weapons/*.xml
%{_datadir}/naev/dat/scripts/*.lua
%{_datadir}/naev/dat/ships/*.xml
%{_datadir}/naev/dat/*.xml
%{_datadir}/naev/dat/snd/SOUND_LICENSE.yaml
%{_datadir}/naev/dat/snd/*.lua
%{_datadir}/naev/dat/snd/music/*.ogg
%{_datadir}/naev/dat/snd/music/checkgain.sh
%{_datadir}/naev/dat/snd/sounds/*.ogg
%{_datadir}/naev/dat/snd/sounds/*.wav
%{_datadir}/naev/dat/snd/soundtrack.yaml
%{_datadir}/naev/dat/ssys/*.xml
%{_datadir}/naev/dat/unidiff/*.xml
%{_datadir}/naev/naev-confupdate.sh
%{_datadir}/pixmaps/naev.png
%doc AUTHORS LICENSE
%{_datadir}/naev/dat/gfx/gui/legacy/*.png
%{_datadir}/naev/dat/gfx/*.png
%{_datadir}/naev/dat/gfx/outfit/space/*.pdn
%{_datadir}/naev/dat/gfx/portraits/dvaered/unique/*.png
%{_datadir}/naev/dat/gfx/portraits/sirius/*.png
%{_datadir}/naev/dat/gfx/portraits/soromid/unique/*.png
%{_datadir}/naev/dat/missions/neutral/foodbiz/*.lua
%{_datadir}/naev/dat/missions/neutral/kidnapped/*.lua
%{_datadir}/naev/dat/missions/*.lua
%{_datadir}/naev/dat/outfits/biocore_shell/*.xml
%{_datadir}/naev/dat/outfits/core_system/*.xml
%{_datadir}/naev/dat/scripts/debug/*.lua
%{_datadir}/naev/dat/scripts/pilot/*.lua
%{_datadir}/naev/naev.png
#%doc AUTHORS LICENSE
%changelog
* 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