# Status: active # Tag: Rack, Jack # Type: Standalone # Category: Audio, Effect %global commit0 f14a230bf48b42035406d2b2dca038efa4d2abca %global gittag0 master %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) # # spec file for package mod-host # # Copyright (c) 2017 SUSE LLC # # 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: mod-host Version: 0.10.6.%{shortcommit0} Release: 5%{?dist} License: GPL-3.0-or-later Summary: LV2 host for Jack controllable via socket or command line URL: https://github.com/moddevices/mod-host ExclusiveArch: x86_64 aarch64 Vendor: Audinux Distribution: Audinux Source0: https://github.com/moddevices/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.service Patch0: mod-host-100.patch # https://github.com/mod-audio/mod-host/pull/101 - let "add" name its jack client Patch1: mod-host-101.patch # https://github.com/mod-audio/mod-host/pull/98 - fix a heap overread on an empty path property Patch2: mod-host-98.patch # https://github.com/mod-audio/mod-host/pull/81 - allow runs of spaces between protocol words Patch3: mod-host-81.patch # follow-up to https://github.com/mod-audio/mod-host/pull/81 - no leading space on the next word Patch4: mod-host-81b.patch # https://github.com/mod-audio/mod-host/pull/82 - add the missing -t short option Patch5: mod-host-82.patch BuildRequires: gcc BuildRequires: make BuildRequires: python3 BuildRequires: readline-devel BuildRequires: fftw-devel BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(lv2) BuildRequires: pkgconfig(lilv-0) BuildRequires: systemd-rpm-macros %{?systemd_requires} Requires: lilv %description mod-host is an LV2 host for JACK, controllable via socket or command line Currently the host supports the following LV2 features: * lv2core * atom * event * buf-size * midi * options * uri-map * urid * worker * presets mod-host is part of the MOD project (https://mod.audio/). %prep %autosetup -p1 -n %{name}-%{commit0} sed -i 's,PREFIX =.*$,PREFIX = %{_prefix},g' Makefile sed -i 's,MANDIR =.*$,MANDIR = %{_mandir}/man1,g' Makefile sed -i 's,LDFLAGS += -s,LDFLAGS +=,g' Makefile %build %set_build_flags %make_build %install %make_install install -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service install -D -m 644 %{SOURCE1} %{buildroot}%{_userunitdir}/%{name}.service %files %doc CHANGELOG README.md COPYING %{_bindir}/mod-host %{_libdir}/jack/* %{_mandir}/man1/mod-host.* %{_unitdir}/%{name}.service %{_userunitdir}/%{name}.service %changelog * Fri Sep 25 2026 Pau Aliagas - 0.10.6-5 - apply the fix from upstream PR 98: a plugin sending an empty path no longer makes mod-host read past its buffer - apply upstream PRs 81 and 82 (riban) and a follow-up to 81: runs of spaces between protocol words are accepted, and "-t" runs the self-test * Tue Sep 22 2026 Pau Aliagas - 0.10.6-4 - apply upstream PR 101: an optional jack client name on the add command * Sat Sep 05 2026 Yann Collette - 0.10.6-3 - update to 0.10.6-3 - apply a patch * Sat Sep 05 2026 Yann Collette - 0.10.6-2 - update to 0.10.6-2 - update to last master * Tue Jul 27 2021 Yann Collette - 0.10.6-1 - initial spec