Blob Blame History Raw
# spec file for package adlmidi
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019, Martin Hauke <>
# 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:           adlmidi
Release:        0
Summary:        A MIDI player that uses OPL3 emulation
License:        GPL-3.0-only AND GPL-2.0-or-later
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(sdl2)

AdlMIDI is a commandline program that plays MIDI files using software
OPL3 emulation (FM synthesis).

%setup -q
sed -i 's|-march=native||' Makefile

export CPPFLAGS='%{optflags}'
make %{?_smp_mflags}

install -D -m 0755 adlmidi %{buildroot}%{_bindir}/adlmidi

%doc README.html