# # spec file for package qsampler # # Copyright (C) 2004-2025, rncbc aka Rui Nuno Capela. All rights reserved. # Copyright (C) 2007,2008,2015 Christian Schoenebeck # # 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/ # Summary: A LinuxSampler Qt GUI interface Name: qsampler Version: 1.0.1.7git.279c08 Release: 3%{?dist} License: GPL-2.0-or-later Group: Productivity/Multimedia/Sound/Midi Source0: %{name}-%{version}.tar.gz URL: https://qsampler.sourceforge.io/ BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qttools-devel BuildRequires: qt6-linguist BuildRequires: alsa-lib-devel BuildRequires: liblscp-devel >= 0.5.6 BuildRequires: libgig-devel >= 3.3.0 %description QSampler is a Qt-based graphical user interface (GUI) front-end application for LinuxSampler, allowing users to load, edit, and manage GIG and SFZ instruments using a simple and modern interface. %prep %setup -q -n %{name}-%{version} # If ever needed again (for pre-6.8 Qt headers): # echo "Applying qsampler-qt6-headers.diff..." # %patch0 -p1 -b .qt6headers %build %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo %cmake_build %install %cmake_install # Remove stray libtool files if any find %{buildroot} -name "*.la" -delete # Validate desktop file for Fedora packaging policy desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop || : %files %license LICENSE %doc README TRANSLATORS ChangeLog %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/32x32 %dir %{_datadir}/icons/hicolor/32x32/apps %dir %{_datadir}/icons/hicolor/32x32/mimetypes %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %dir %{_datadir}/icons/hicolor/scalable/mimetypes %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/translations %dir %{_datadir}/%{name}/palette %dir %{_datadir}/metainfo %{_bindir}/%{name} %{_datadir}/mime/packages/org.rncbc.%{name}.xml %{_datadir}/applications/org.rncbc.%{name}.desktop %{_datadir}/icons/hicolor/32x32/apps/org.rncbc.%{name}.png %{_datadir}/icons/hicolor/scalable/apps/org.rncbc.%{name}.svg %{_datadir}/icons/hicolor/32x32/mimetypes/org.rncbc.%{name}.application-x-%{name}*.png %{_datadir}/icons/hicolor/scalable/mimetypes/org.rncbc.%{name}.application-x-%{name}*.svg %{_datadir}/%{name}/translations/%{name}_*.qm %{_datadir}/metainfo/org.rncbc.%{name}.metainfo.xml %{_datadir}/man/man1/%{name}.1.gz %{_datadir}/man/fr/man1/%{name}.1.gz %{_datadir}/%{name}/palette/*.conf %changelog * Sat Nov 08 2025 James Hines - 1.0.1.7git.279c08 - Fedora 41/42 packaging for QSampler - Updated spec to use Rui’s Qt6-native packaging style - Qt 6.8.3 resolves prior header include issues - Added optional commented-out devel subpackage for future plugin SDKs