File libretro-yabause.spec of Package libretro-yabause

# spec file for package libretro-yabause
# Copyright (c) 2020 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

Name:           libretro-yabause
Version:        0~git20200605
Release:        0
Summary:        Yabause libretro core for Sega Saturn emulation
License:        GPL-3.0-only
Group:          System/Emulators/Other
Source:         %{name}-%{version}.tar.xz

BuildRequires:  Mesa-devel
BuildRequires:  gcc-c++
BuildRequires:  glu-devel
BuildRequires:  make

Yabause is a Sega Saturn emulator. This package is for RetroArch/libretro

%setup -q

cd yabause/src/libretro
make \
%ifnarch %{ix86} x86_64
  HAVE_SSE=0 \

mkdir -p %{buildroot}%{_libdir}/libretro
cp yabause/src/libretro/ %{buildroot}%{_libdir}/libretro

%dir %{_libdir}/libretro

openSUSE Build Service is sponsored by