File agordejo.spec of Package agordejo

# spec file for package agordejo
#
# Copyright (c) 2021 Fabio Pesari
#
# 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:          agordejo
Version:       0.4.2
Release:       0
Summary:       NSM-based GUI session manager
License:       GPL-3.0 AND CC-BY-ND-4.0 AND CC-BY-SA-4.0
Group:         Productivity/Multimedia/Sound/Midi
URL:           https://www.laborejo.org/agordejo/
Source0:       %{name}-%{version}.tar.gz
BuildRequires: gcc gcc-c++
BuildRequires: python3
BuildRequires: python3-qt5
BuildRequires: python3-qt5-sip
BuildRequires: python3-pyxdg
Requires:      new-session-manager
Requires:      dejavu-fonts
Requires:      grep

%description
Agordejo (Esperanto: ‘place to set things up’) is a music production session manager. It is used to start your programs, remember their (JACK) interconnections and make your life easier in general.

Agordejo does not re-invent the wheel but instead uses the New-Session-Manager daemon and enhances it with some tricks of its own, that always remain 100% compatible with the original sessions.

This is a proof of concept version. It aims to show that session management with NSM can be quick and convenient and make the user feel in control. Some functionality has not yet been implemented, most prominently anything related to NSM over network. There is always the possibility to break things when trying out corner cases and hacks.

That said, for single-computer sessions with just one daemon and one GUI at the same time Agordejo should provide a good user experience.

[WARNING] While this program's code is 100% FLOSS, the assets are released under the nonfree CC By-ND

%package doc
Summary:        NSM-based GUI session manager (documentation)
Group:          Documentation/HTML
License:        CC-BY-SA-4.0

%description doc
Documentation for agordejo, a NSM-based GUI session manager.

%prep
%autosetup

%build
%configure
%make_build

%install
%make_install
# docs get installed to suse specific path via %%doc in %%files 
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}

%files
%license LICENSE COPYING
%{_bindir}/%{name}
%{_bindir}/nsm-data
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/16x16/
%dir %{_datadir}/icons/hicolor/16x16/apps/
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
%dir %{_datadir}/icons/hicolor/32x32/
%dir %{_datadir}/icons/hicolor/32x32/apps/
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%dir %{_datadir}/icons/hicolor/64x64/
%dir %{_datadir}/icons/hicolor/64x64/apps/
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%dir %{_datadir}/icons/hicolor/128x128/
%dir %{_datadir}/icons/hicolor/128x128/apps/
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%dir %{_datadir}/icons/hicolor/256x256/
%dir %{_datadir}/icons/hicolor/256x256/apps/
%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
%dir %{_datadir}/icons/hicolor/512x512/
%dir %{_datadir}/icons/hicolor/512x512/apps/
%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
%{_mandir}/man1/*

%files doc
%doc README.md CHANGELOG documentation/out/*

%changelog
openSUSE Build Service is sponsored by