# Tag: Tool, OSC, MIDI # Type: Standalone # Category: Tool, Plugin, MIDI # Global variables for github repository %global commit0 5f378860bf9a0f6864f1b191377905008d85e587 %global gittag0 master %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: osc2midi Version: 0.2.5 Release: 1%{?dist} Summary: OSC2MIDI is a highly configurable OSC to jack MIDI (and back). License: GPLv2+ and GPLv2 and (GPLv2+ or MIT) and GPLv3+ and MIT and LGPLv2+ and (LGPLv2+ with exceptions) and Copyright only URL: https://github.com/ssj71/OSC2MIDI Vendor: Audinux Distribution: Audinux Source0: https://github.com/ssj71/OSC2MIDI/archive/v%{version}.tar.gz#/OSC2MIDI-%{version}.tar.gz Patch0: osc2midi-0001-fix-cflags.patch BuildRequires: gcc gcc-c++ BuildRequires: cmake BuildRequires: pkgconfig(jack) BuildRequires: liblo-devel %description OSC2MIDI is a highly configurable OSC to jack MIDI (and back). It was designed especially for use on linux desktop and the open source Android app called "Control (OSC+MIDI)" but was deliberately written to be flexible enough to be used with any OSC controller or target. %prep %autosetup -p1 -n OSC2MIDI-%{version} %build %set_build_flags export CFLAGS="-Wno-incompatible-pointer-types $CFLAGS" %cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DLIBEXEC_INSTALL_DIR=%{_libexecdir} %cmake_build %install %cmake_install %files %{_bindir}/* %{_datadir}/* %changelog * Fri Oct 4 2019 Yann Collette - 1.0.0-1 - initial spec file