Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:games
nblood
nblood.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nblood.spec of Package nblood
# # spec file for package nblood # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2019-2021, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: nblood Version: 1.01~git20240204 Release: 0 Summary: Blood port based on EDuke32 License: GPL-2.0-only Group: Amusements/Games/3D/Shoot URL: https://github.com/nukeykt/NBlood Source: %{name}-%{version}.tar.xz BuildRequires: ImageMagick BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(flac) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(vpx) Requires: fluid-soundfont-gm %description NBlood is a Blood port based on EDuke32. Highlights: * High accuracy. NBlood can play 1.21 internal demos accurately * Multiplayer(not quite stable atm) * Software & OpenGL(polymost) renderers are available * CD audio, accurate FM OPL3(SB/AdLib) emulation * DEF/HRP support NOTE: To play Blood with NBlood you need the original game files from your GOG/CD-ROM installation of the game. You should put them under '~/.config/nblood/'. %prep %setup -q sed -i 's/\r$//' README.md %build convert source/blood/rsrc/game.bmp -strip -gravity center -crop 200x200+0+0 -rotate 90 -resize 192x192 %{name}.png export CFLAGS='%{optflags} -Wno-format' %make_build PACKAGE_REPOSITORY=1 \ PRETTY_OUTPUT=0 \ RELEASE=1 \ SDL_TARGET=2 \ %if 0%{?suse_version} > 1500 LTO=1 \ %else LTO=0 \ %endif %{?_smp_mflags} %install install -D -m 0755 nblood %{buildroot}%{_bindir}/nblood install -D -m 0644 %{name}.png %{buildroot}%{_datadir}/icons/hicolor/192x192/apps/%{name}.png install -D -m 0644 nblood.pk3 %{buildroot}%{_datadir}/%{name}/nblood.pk3 %suse_update_desktop_file -c %{name} "Blood port based on EDuke32" %{name} %{name} %{name} Game ActionGame %if 0%{?suse_version} < 1330 %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %endif %files %license source/blood/gpl-2.0.txt %doc README.md %{_bindir}/nblood %dir %{_datadir}/nblood %{_datadir}/nblood/nblood.pk3 %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor