File mididings.spec of Package mididings

# spec file for package mididings
#
# Copyright (c) 2020 Fabio Pesari
# Copyright (c) 2021 Konstantin Voinov
#
# 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:          mididings
Version:       20210721
Release:       0
Summary:       Command-line MIDI router and processor
License:       GPL-2.0
Group:         Productivity/Multimedia/Sound/Midi
URL:           https://github.com/noedigcode/mididings
Source0:       %{name}-%{version}.tar.xz
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc gcc-c++
BuildRequires: glib2-devel
BuildRequires: alsa-devel
BuildRequires: libboost_python3-devel
BuildRequires: libboost_thread-devel
BuildRequires: jack-devel
BuildRequires: python3-devel
BuildRequires: %{python_module dbus-python-devel}
BuildRequires: python-rpm-generators
%{?python_enable_dependency_generator}
Requires:      python%{python3_version_nodots}-tk
Requires:      python%{python3_version_nodots}-pyliblo
Requires:      python%{python3_version_nodots}-decorator
Requires:      python%{python3_version_nodots}-pyinotify
Obsoletes:     %{name} = git.master.2015.11.17

%description
Mididings is a CLI-based MIDI router and processor written
in Python.

%prep
%setup -q

%build
%python3_build

%install
%python3_install

%files
%doc README
%license COPYING
%{_bindir}/livedings
%{_bindir}/mididings
%{_bindir}/send_midi
%{python3_sitearch}/*

%changelog
openSUSE Build Service is sponsored by