File denise.spec of Package denise

#
# spec file for package denise
#
# Copyright (c) 2025, 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:           denise
Version:        2.7
Release:        0
Summary:        Highly accurate C64/Amiga emulator
# denise is licensed under GPL-3.0-or-later but the project also incorporated
# code from other projects that are licenced under differend licenses.
# see "licence.md" for the details.
License:        GPL-3.0-or-later
Group:          System/Emulators/Other
URL:            https://sourceforge.net/projects/deniseemu/
#Git-Clone:     https://bitbucket.org/piciji/denise.git
Source:         %{name}-%{version}.tar.xz
Patch0:         denise-fix-desktop-file-permission.patch
BuildRequires:  cmake
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  hicolor-icon-theme
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(lame)
BuildRequires:  pkgconfig(libpulse)
BuildRequires:  pkgconfig(libudev)
BuildRequires:  pkgconfig(openal)
BuildRequires:  pkgconfig(uuid)
Provides:       bundled(cgif)
Provides:       bundled(glslang)
Provides:       bundled(lha)
Provides:       bundled(SPIRV-Cross)
Provides:       bundled(stb)
Provides:       bundled(USBSID-Pico)

%description
A cycle accurate C64 / Amiga 500/1000 emulator.

%prep
%autosetup -p1

%build
%cmake
%make_build

%install
%cmake_install
%fdupes %{buildroot}/%{_datadir}

%files
%license licence.md
%doc readme.md
%{_bindir}/denise
%{_datadir}/denise
%{_datadir}/icons/denise.png
%{_datadir}/icons/hicolor/*/apps/denise.png
%{_datadir}/appdata/denise.appdata.xml
%{_datadir}/applications/denise.desktop

%changelog
openSUSE Build Service is sponsored by