File cygne.spec of Package cygne
#
# spec file for package cygne
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: cygne
Version: 2.1a
Release: 0
Summary: Bandai WonderSwan Emulator
License: GPL-2.0
Group: System/Emulators/Other
Source: Cygne-SDL-20070829.tar.gz
Patch0: Cygne-SDL.dif
Patch1: %{name}-rpmlint.patch
BuildRequires: SDL-devel
BuildRequires: dos2unix
BuildRequires: gcc-c++
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Bandai WonderSwan and WonderSwan Color emulator.
Find an example config file in %{_docdir}/%{name}/cygne.cfg
%prep
%setup -q -n Cygne-SDL
%patch0
%patch1
%build
cd src
make -f Makefiles/Makefile.unix %{?_smp_mflags}
%install
install -D -m 755 src/cygne %{buildroot}%{_bindir}/cygne
dos2unix CREDITS
%files
%defattr(-,root,root)
%doc BUGS README TODO COPYING README-SDL WHATSNEW CREDITS src/cygne.cfg
%{_bindir}/cygne
%changelog