File a2jmidid.spec of Package a2jmidid

# spec file for package a2jmidid
#
# Copyright (c) 2019 Fabio Pesari
# Copyright (c) 2007-2009 oc2pus
# Copyright (c) 2019 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:          a2jmidid
Version:       9
Release:       0
Summary:       ALSA sequencer to JACK MIDI bridging (for jack2)
License:       GPL-2.0
Group:         Productivity/Multimedia/Sound/Midi
URL:           https://github.com/linuxaudio/a2jmidid
Source0:       %{name}-%{version}.tar.gz
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
BuildRequires: meson
BuildRequires: ninja
BuildRequires: gcc
BuildRequires: libjack-devel
BuildRequires: dbus-1-devel
BuildRequires: alsa-devel
BuildRequires: python3-setuptools

%description
a2jmidid allows easy usage of legacy apps that don't use JACK, 
in a JACK MIDI enabled system.
It can be useful to connect MIDI inputs that use ALSA to MIDI 
outputs that use JACK, and viceversa.

%prep
%setup -q

%build
meson --prefix=%{_prefix} build
ninja -C build

%install
DESTDIR=%{buildroot} meson install -C build

%files
%doc AUTHORS.rst README.rst LICENSE 
%_mandir/*/*
%{_bindir}/%{name}
%{_bindir}/a2j
%{_bindir}/a2j_control
%{_bindir}/a2jmidi_bridge
%{_bindir}/j2amidi_bridge
%{_datadir}/dbus-1/services/org.gna.home.a2jmidid.service

%changelog
openSUSE Build Service is sponsored by