File KCemu.spec of Package KCemu
#
# spec file for package KCemu
#
# Copyright (c) 2024 SUSE LLC
#
# 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: KCemu
Version: 0.5.5
Release: 0
Summary: Emulator for various East-German home computers
License: GPL-2.0-only
URL: https://kcemu.sourceforge.net/
Source0: https://github.com/t-paul/kcemu/archive/v%{version}.tar.gz#/KCemu-%{version}.tar.gz
BuildRequires: ImageMagick
BuildRequires: LibVNCServer-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: gtk2-devel
BuildRequires: libXmu-devel
BuildRequires: libsndfile-devel
BuildRequires: libtheora-devel
BuildRequires: ncurses-devel
BuildRequires: netpbm
%if 0%{?suse_version} > 1600
BuildRequires: sdl12_compat-devel
%else
BuildRequires: SDL-devel
%endif
BuildRequires: z80ex-devel
%description
KCemu is an emulator for the KC85 homecomputer series and other Z80-
based microcomputers like Z1013, LC80, Polycomputer 880 and BIC A5105.
%prep
%setup -q -n kcemu-%{version}
%build
autoreconf -i
%configure
%make_build
%install
%make_install
%files
%license COPYING
%doc AUTHORS ChangeLog README README.de TODO VERSION THANKS
%exclude %{_datadir}/doc/kcemu/changelog
%dir %{_datadir}/kcemu
%{_bindir}/kc2img
%{_bindir}/kc2raw
%{_bindir}/kc2tap
%{_bindir}/kc2wav
%{_bindir}/kcemu
%{_bindir}/kcemu-remote
%{_bindir}/kctape
%{_bindir}/tdtodump
%{_datadir}/locale/de/LC_MESSAGES/kcemu.mo
%{_datadir}/locale/en/LC_MESSAGES/kcemu.mo
%{_datadir}/kcemu/*
%{_mandir}/man1/*
%changelog