File qsampler.spec of Package qsampler
#
# spec file for package qsampler
#
# Copyright (c) 2021 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: qsampler
Version: 0.9.0
Release: 0
Summary: A Qt GUI for LinuxSampler
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Midi
URL: http://qsampler.sourceforge.net
Source0: https://sourceforge.net/projects/qsampler/files/qsampler/%{version}/qsampler-%{version}.tar.gz
BuildRequires: hicolor-icon-theme
BuildRequires: libqt5-linguist
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Core) >= 5.1
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(gig) >= 3.3.0
BuildRequires: pkgconfig(lscp)
Requires: linuxsampler
%description
Qsampler is a LinuxSampler GUI front-end application written in C++ around
the Qt framework using Qt Designer. For the moment it just wraps the client
interface of LinuxSampler Control Protocol (LSCP).
%lang_package
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
%find_lang %{name} --with-qt
%files
%doc ChangeLog
%license COPYING
%dir %{_datadir}/%{name}
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/*/*%{name}*.png
%{_datadir}/icons/hicolor/scalable/*/*%{name}*.svg
%{_mandir}/man1/%{name}.1%{ext_man}
%{_datadir}/metainfo
%{_datadir}/mime/packages/%{name}.xml
%files lang -f %{name}.lang
%dir %{_datadir}/%{name}/translations
%{_mandir}/fr/man1/%{name}.1%{?ext_man}
%changelog