naev/naev.spec
2024-01-06 07:29:43 +01:00

330 lines
13 KiB
RPMSpec

Name: naev
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: 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: libgcc
BuildRequires: libopenal-devel
BuildRequires: libpng-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
%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 build --prefix /usr
meson compile -C build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
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
[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}/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
%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
* 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