File fretscpp.spec of Package fretscpp

#
# spec file for package fretscpp
#
# Copyright (c) 2015 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:           fretscpp
Version:        2012.07.24.1
Release:        0
Summary:        C++ rewrite of frets-on-fire
License:        GPL-2.0
Group:          Amusements/Games/Other
Url:            http://code.google.com/p/fretscpp/
Source:         http://fretscpp.googlecode.com/files/%{name}-%{version}-source.tar.gz
# PATCH-FEATURE-UPSTREAM fretscpp-freetype-includes-fix.diff freetype2 include fix
Patch0:         fretscpp-freetype-includes-fix.diff
BuildRequires:  SDL-devel
BuildRequires:  freetype2-devel
BuildRequires:  gcc-c++
BuildRequires:  libogg-devel
BuildRequires:  libpng-devel
BuildRequires:  libvorbis-devel
BuildRequires:  libvpx-devel
BuildRequires:  pkgconfig(glu)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Strongly inspired by the original FoF, reusing artwork to a large extent,
source code rewritten from scratch. C++ instead of python should improve
performance and allow easier support for features like whammy.

%prep
%setup -q
%patch -P 0 -p1

%build
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install

%files
%defattr(-,root,root)
%doc COPYING README
%{_bindir}/%{name}
%{_datadir}/games/%{name}/

%changelog
openSUSE Build Service is sponsored by