Name: liblscp Version: 1.0.1 Release: 2%{?dist} Summary: LinuxSampler Control Protocol (LSCP) client library License: LGPL-2.1-or-later URL: https://www.linuxsampler.org/liblscp.html Source0: https://download.linuxsampler.org/packages/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: make BuildRequires: pkgconfig BuildRequires: doxygen #BuildRequires: libgig-devel BuildRequires: alsa-lib-devel BuildRequires: readline-devel BuildRequires: ncurses-devel Requires: libgig Requires: alsa-lib %description liblscp is a C/C++ client library for the LinuxSampler Control Protocol (LSCP). It allows applications such as QSampler to communicate with a running LinuxSampler instance, query its state, and send commands. %prep %autosetup -n %{name}-%{version} %build # CMake build system %cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=%{_prefix} %cmake_build %install %cmake_install # Fedora packaging guideline: remove any leftover libtool archives find %{buildroot} -name "*.la" -delete %check # Run self-tests if defined, otherwise skip quietly %{?__make} test || : %files #%license COPYING %doc ChangeLog README %doc %{_datadir}/doc/liblscp/html %{_libdir}/liblscp.so.* %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development headers and pkg-config metadata for %{name}, needed to build clients such as QSampler or custom LSCP applications. %files devel %{_includedir}/lscp/* %{_libdir}/liblscp.so %{_libdir}/pkgconfig/lscp.pc %changelog * Fri Nov 07 2025 Jim Hines - 1.0.1-1 - Fedora 41 initial packaging of liblscp 1.0.1 - Modernized to CMake macros and cleaned .la files - Upstream tarball lacks COPYING and AUTHORS files