diff --git a/naev.spec b/naev.spec index a8a708f..147f890 100644 --- a/naev.spec +++ b/naev.spec @@ -1,33 +1,36 @@ Name: naev -Version: 0.8.2 +Version: 0.10.6 Release: 1mamba -Summary: a 2D space trading and combat game, in a similar vein to Escape Velocity. +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 URL: https://naev.org/ -Source: https://github.com/naev/naev/archive/v%{version}.zip +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: ldconfig BuildRequires: libSDL2-devel +BuildRequires: libenet-devel BuildRequires: libfreetype-devel BuildRequires: libgcc +BuildRequires: libglpk-devel BuildRequires: libopenal-devel -BuildRequires: libpng-devel -BuildRequires: libsdl2_mixer-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 -BuildRequires: libz-devel ## AUTOBUILDREQ-END +BuildRequires: libsuitesparse-devel >= 7.2.2-1mamba BuildRequires: libbinutils-devel >= 2.33.1-4mamba -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Naev is a 2D space trading and combat game, in a similar vein to Escape Velocity. @@ -39,253 +42,58 @@ Naev is played from a top-down perspective, featuring fast-paced combat, many sh %setup -q %build -meson build --prefix /usr -meson compile -C build +%meson \ + -Dndata_path=%{_datadir}/naev/ndata + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -DESTDIR=%{buildroot} meson install -C build +%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 +#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 -/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}/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 -%{_datadir}/doc/naev/README -%{_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}/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 +%dir %{_docdir}/naev +%{_docdir}/naev/* +%doc LICENSE %changelog +* Sat Oct 21 2023 Silvan Calarco 0.10.6-1mamba +- update to 0.10.6 + +* Sat Oct 21 2023 Silvan Calarco 0.8.2-2mamba +- rebuilt with libsuitesparse 7.2.2 + * Fri Feb 26 2021 Ercole 'ercolinux' Carpanetto 0.8.2-1mamba - update to 0.8.2