File new-session-manager.spec of Package new-session-manager
#
# spec file for package new-session-manager
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2022 by Edgar Aichinger
#
# 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 https://bugs.opensuse.org/
#
Name: new-session-manager
Version: 1.6.0+git.20220415.0f6719c
Release: 0
Summary: Music production session manager
# Main program: GPL3+
# nsm.h: ISC
License: GPL-3.0-or-later AND ISC
URL: https://github.com/jackaudio/%{name}
Source0: %{name}-%{version}.tar.xz
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xpm)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(liblo)
BuildRequires: fltk-devel
BuildRequires: meson
BuildRequires: update-desktop-files
Requires: hicolor-icon-theme
Conflicts: non-session-manager
Conflicts: non-session-manager-git
%description
New Session Manager (NSM) is a tool to assist music production by grouping
standalone programs into sessions. Your workflow becomes easy to manage,
robust and fast by leveraging the full potential of cooperative applications.
You can create a session, or project, add programs to it and then use commands
to save, start/stop, hide/show all programs at once, or individually. At a
later date you can then re-open the session and continue where you left off.
All files belonging to the session will be saved in the same directory.
%prep
%autosetup
%build
%meson
%meson_build
%install
%meson_install
mkdir %{buildroot}/%{_docdir}
mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}/%{_docdir}/
%suse_update_desktop_file -i -r org.jackaudio.nsm-legacy-gui AudioVideo
%files
%license COPYING
%dir %{_docdir}/%{name}
%dir %{_datadir}/icons/*
%dir %{_datadir}/icons/*/*
%dir %{_datadir}/icons/*/*/*
%doc %{_docdir}/%{name}/*
%{_bindir}/nsmd
%{_bindir}/jackpatch
%{_bindir}/non-session-manager
%{_bindir}/nsm-legacy-gui
%{_bindir}/nsm-proxy
%{_bindir}/nsm-proxy-gui
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/scalable/apps/*
%{_mandir}/man1/*.gz
%changelog