A new user interface for you! Read more...

File mednaffe.spec of Package mednaffe

#
# Spec file for package mednaffe
#
# Copyright © 2015 Andrey Bondrov <andrey.bondrov@rosalab.ru>
# Copyright © 2018–2019 Markus S. <kamikazow@opensuse.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

Summary:       A front-end (GUI) for Mednafen emulator
Name:          mednaffe
Version:       0.8.8
Release:       1
License:       GPL-3.0-or-later
Group:         System/Emulators/Other
Url:           https://github.com/AmatCoder/mednaffe/
Source0:       %{name}-%{version}.tar.gz
BuildRequires: binutils gcc gcc-c++
BuildRequires: gtk2-devel
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: gtkmm24-devel
%endif
%if 0%{?suse_version}
BuildRequires: gtkmm2-devel
%endif
Requires:      mednafen > 0.9.2

%description
Mednaffe is a front-end (GUI) for Mednafen emulator.

%prep
%setup -q

%build
%configure
make -j1

%install
%makeinstall

%files
%doc COPYING ChangeLog README AUTHORS
%{_bindir}/%{name}
%{_datadir}/doc/%{name}
%{_datadir}/doc/%{name}/AUTHORS
%{_datadir}/doc/%{name}/ChangeLog
%{_datadir}/doc/%{name}/COPYING
%{_datadir}/doc/%{name}/README
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/pixmaps/%{name}.png

%changelog
* Fri Jul 31 2015 Andrey Bondrov <andrey.bondrov@rosalab.ru> 0.8-1
- New version 0.8