File pigiron.spec of Package pigiron
# spec file for package pigiron
#
# Copyright (c) 2021 Fabio Pesari
#
# 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: pigiron
Version: git.master.20210825
Release: 0
Summary: MIDI routing utility with an extensive OSC interface
License: MIT
Group: Productivity/Multimedia/Sound/Midi
URL: https://github.com/plewto/Pigiron
Source0: %{name}-%{version}.tar.gz
BuildRequires: go
BuildRequires: golang-packaging
BuildRequires: portmidi-devel
%description
Pigiron is a fully configurable MIDI routing utility written in Go. It includes
a MIDI file player and has a comprehensive OSC interface.
The primary Pigiron object is called an Operator. Each Operator has zero or more
MIDI inputs and zero or more MIDI outputs. When an Operator receives a MIDI
message, it determines if the message should be forwarded to it's outputs. An
Operator may also modify the message prior to re-sending it.
%{go_nostrip}
%{go_provides}
%prep
%setup -q
%build
go build .
%install
mkdir -p %{buildroot}%{_bindir}
install -m755 pigiron %{buildroot}%{_bindir}
%files
%doc README.md
%license LICENSE
%{_bindir}/pigiron
%changelog