File adplay.spec of Package adplay
#
# spec file for package adplay
#
# Copyright (c) 2023, Martin Hauke <mardnh@gmx.de>
#
# 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 https://bugs.opensuse.org/
#
Name: adplay
Version: 1.8.1+git20221006
Release: 0
Summary: AdLib music player for the command line
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Players
URL: https://adplug.github.io/
Source0: %{name}-unix-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(adplug)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(sdl2)
%description
AdPlay/UNIX is AdPlug's UNIX console-based frontend. AdPlug is a free,
universal OPL2 audio playback library. AdPlay/UNIX supports the full range
of AdPlug's file format playback features. Despite this, at the moment, only
emulated OPL2 output is supported by AdPlay/UNIX, but this on a wide range
of output devices.
%prep
%setup -q -n %{name}-unix-%{version}
%build
autoreconf -fiv
%configure \
--disable-output-oss \
--disable-output-esound \
--disable-output-qsa \
--disable-output-ao
%make_build
%install
%make_install
%files
%license COPYING
%doc README
%{_bindir}/adplay
%{_mandir}/man1/adplay.1%{?ext_man}
%changelog