File mednaffe.spec of Package mednaffe

Summary:	A front-end (GUI) for Mednafen emulator
Name:		mednaffe
Version:	0.8
Release:	1
License:	GPLv3+
Group:		System/Emulators/Other
Url:		https://code.google.com/p/mednaffe/
# https://github.com/AmatCoder/mednaffe/archive/v%{version}.tar.gz
Source0:	%{name}-%{version}.tar.gz
Patch0:		mednaffe-0.8-error-message.patch
Patch1:     desktop-entry.diff
BuildRequires: gtk2-devel
BuildRequires: gtkmm2-devel
Requires:	mednafen

%description
Mednaffe is a front-end (GUI) for Mednafen emulator.
For now Mednaffe only works with 0.9.3x-WIP versions of mednafen emulator.

%prep
%setup -q
%patch0 -p1
%patch1

%build
%configure
make

%install
%makeinstall

%files
%doc COPYING ChangeLog README AUTHORS
%{_bindir}/%{name}
%{_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