# # spec file for package nestopia # # Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2018-2025, Martin Hauke # # 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/ # %if 0%{?sle_version} && 0%{?sle_version} < 160000 %global force_gcc_version 13 %endif Name: nestopia Version: 1.53.2 Release: 0 Summary: Nintendo Entertainment System/Famicom emulator License: GPL-2.0-or-later Group: System/Emulators/Other URL: https://github.com/0ldsk00l/nestopia #Git-Clone: https://github.com/0ldsk00l/nestopia.git Source: https://github.com/0ldsk00l/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: fltk-devel BuildRequires: gcc%{?force_gcc_version}-c++ BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: pkgconfig(epoxy) BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(zlib) %description Nestopia is a cycle-accurate NES/Famicom emulator. It has a high compatibility rate and support for many peripherals and input devices. %prep %setup -q sed -i 's/\r$//' ChangeLog %build %if 0%{?force_gcc_version} export CXX="g++-%{?force_gcc_version}" %endif autoreconf -fiv %configure \ --docdir=%{_docdir}/%{name} \ --enable-gui \ --enable-doc %make_build %install %make_install %check %files %license COPYING %doc ChangeLog readme.html README.md %{_docdir}/%{name} %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/nespad.svg %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog