Blame a2jmidid.spec

1bd242
#
1bd242
# spec file for package a2jmidid
1bd242
#
1bd242
# Copyright (c) 2020 SUSE LLC
1bd242
# Copyright (c) 2016 Michael Csida <krysanto@gmail.com>
1bd242
#
1bd242
# All modifications and additions to the file contributed by third parties
1bd242
# remain the property of their copyright owners, unless otherwise agreed
1bd242
# upon. The license for this file, and modifications and additions to the
1bd242
# file, is the same license as for the pristine package itself (unless the
1bd242
# license for the pristine package is not an Open Source License, in which
1bd242
# case the license is the MIT License). An "Open Source License" is a
1bd242
# license that conforms to the Open Source Definition (Version 1.9)
1bd242
# published by the Open Source Initiative.
1bd242
1bd242
# Please submit bugfixes or comments via https://bugs.opensuse.org/
1bd242
#
1bd242
1bd242
1bd242
Name:           a2jmidid
1bd242
Version:        9
1bd242
Release:        0
1bd242
Summary:        A modular multi-system emulator system
1bd242
License:        GPL-2.0-or-later
1bd242
URL:            https://github.com/linuxaudio/a2jmidid
1bd242
Source0:        https://github.com/linuxaudio/a2jmidid/archive/%{version}/%{name}-%{version}.tar.gz
1bd242
BuildRequires:  gcc
1bd242
BuildRequires:  gcc-c++
506f5a
BuildRequires:  meson >= 0.50.0
1bd242
BuildRequires:  pkgconfig
1bd242
BuildRequires:  pkgconfig(alsa)
1bd242
BuildRequires:  pkgconfig(dbus-1)
1bd242
BuildRequires:  pkgconfig(jack)
1bd242
1bd242
%description
1bd242
a2jmidid is a daemon for exposing legacy ALSA sequencer applications in JACK
1bd242
MIDI systems.
1bd242
1bd242
%prep
1bd242
%setup -q
1bd242
1bd242
%build
1bd242
%meson
1bd242
%meson_build
1bd242
1bd242
%install
1bd242
%meson_install
506f5a
find %{buildroot}/%{_bindir} -name 'a2j_control' -exec sed -i "s|#! %{_bindir}/env python3$|#!%{_bindir}/python3|" {} +
1bd242
1bd242
%files
1bd242
%doc README.rst INSTALLATION.rst
1bd242
%license LICENSE
1bd242
%{_bindir}/a2j
1bd242
%{_bindir}/a2j_control
1bd242
%{_bindir}/a2jmidi_bridge
1bd242
%{_bindir}/a2jmidid
1bd242
%{_bindir}/j2amidi_bridge
1bd242
%{_mandir}/man1/a2j.1%{?ext_man}
1bd242
%{_mandir}/man1/a2j_control.1%{?ext_man}
1bd242
%{_mandir}/man1/a2jmidi_bridge.1%{?ext_man}
1bd242
%{_mandir}/man1/a2jmidid.1%{?ext_man}
1bd242
%{_mandir}/man1/j2amidi_bridge.1%{?ext_man}
1bd242
%{_datadir}/dbus-1/services/org.gna.home.a2jmidid.service
1bd242
1bd242
%changelog