2016-04-12 20:23:07 +02:00
|
|
|
#
|
|
|
|
# spec file for package minuet
|
|
|
|
#
|
2021-01-06 15:52:48 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2016-04-12 20:23:07 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-12 10:47:06 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-04-12 20:23:07 +02:00
|
|
|
#
|
|
|
|
|
2016-08-08 18:08:13 +02:00
|
|
|
|
2019-11-29 12:40:46 +01:00
|
|
|
%define kf5_version 5.60.0
|
2017-08-12 01:01:29 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:50:11 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2018-11-25 00:45:31 +01:00
|
|
|
%bcond_without lang
|
2016-04-12 20:23:07 +02:00
|
|
|
Name: minuet
|
2021-05-13 10:56:28 +02:00
|
|
|
Version: 21.04.1
|
2016-12-03 13:26:36 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: A KDE Software for Music Education
|
2018-03-10 13:11:42 +01:00
|
|
|
License: GPL-2.0-or-later
|
2016-12-03 13:26:36 +01:00
|
|
|
Group: Productivity/Other
|
2021-04-19 15:31:14 +02:00
|
|
|
URL: https://apps.kde.org/minuet
|
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
|
|
|
%if %{with lang}
|
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2021-03-28 09:27:55 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
2016-04-12 20:23:07 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
2016-08-08 18:08:13 +02:00
|
|
|
BuildRequires: pkgconfig
|
2016-04-12 20:23:07 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2016-08-12 12:03:56 +02:00
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
2016-04-12 20:23:07 +02:00
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
2016-08-08 18:08:13 +02:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
2021-03-28 09:27:55 +02:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Qml)
|
|
|
|
BuildRequires: cmake(Qt5Quick)
|
|
|
|
BuildRequires: cmake(Qt5QuickControls2)
|
|
|
|
BuildRequires: cmake(Qt5Svg)
|
2016-11-10 07:18:48 +01:00
|
|
|
BuildRequires: pkgconfig(fluidsynth)
|
2016-08-24 11:10:11 +02:00
|
|
|
# Runtime requirement
|
|
|
|
Requires: libqt5-qtquickcontrols2
|
2017-04-20 10:51:09 +02:00
|
|
|
Recommends: %{name}-lang
|
2016-04-12 20:23:07 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Application for Music Education.
|
|
|
|
|
2016-08-12 12:03:56 +02:00
|
|
|
Minuet aims at supporting students and teachers in many aspects
|
|
|
|
of music education, such as ear training, first-sight reading,
|
|
|
|
solfa, scales, rhythm, harmony, and improvisation.
|
|
|
|
Minuet makes extensive use of MIDI capabilities to provide a
|
|
|
|
full-fledged set of features regarding volume, tempo, and pitch
|
|
|
|
changes, which makes Minuet a valuable tool for both novice and
|
|
|
|
experienced musicians.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Minuet: Build Environment
|
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: minuet = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development headers and libraries for Minuet.
|
|
|
|
|
2016-04-12 20:23:07 +02:00
|
|
|
%lang_package
|
2016-12-03 13:26:36 +01:00
|
|
|
|
2016-04-12 20:23:07 +02:00
|
|
|
%prep
|
2021-04-19 15:31:14 +02:00
|
|
|
%autosetup -p1
|
2016-04-12 20:23:07 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:50:27 +01:00
|
|
|
%cmake_build
|
2016-04-12 20:23:07 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:29:06 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2018-03-10 13:11:42 +01:00
|
|
|
%{kf5_find_htmldocs}
|
2017-04-15 15:29:06 +02:00
|
|
|
%endif
|
2016-04-20 20:29:22 +02:00
|
|
|
%suse_update_desktop_file org.kde.minuet Music
|
2016-04-12 20:23:07 +02:00
|
|
|
|
2017-09-15 23:40:45 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2016-04-12 20:23:07 +02:00
|
|
|
%files
|
2018-03-10 13:11:42 +01:00
|
|
|
%doc README*
|
|
|
|
%license COPYING*
|
2017-08-12 01:01:29 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/minuet/
|
2016-04-20 20:29:22 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.minuet.desktop
|
2017-08-12 01:01:29 +02:00
|
|
|
%{_kf5_appstreamdir}/org.kde.minuet.appdata.xml
|
|
|
|
%{_kf5_bindir}/minuet
|
2016-04-20 20:29:22 +02:00
|
|
|
%{_kf5_iconsdir}/hicolor
|
2016-08-12 12:03:56 +02:00
|
|
|
%{_kf5_libdir}/libminuetinterfaces.so.*
|
|
|
|
%{_kf5_plugindir}/minuet/
|
2016-04-20 20:29:22 +02:00
|
|
|
%{_kf5_sharedir}/minuet/
|
2016-04-12 20:23:07 +02:00
|
|
|
|
2016-08-12 12:03:56 +02:00
|
|
|
%files devel
|
2018-03-10 13:11:42 +01:00
|
|
|
%doc README*
|
|
|
|
%license COPYING*
|
2016-08-12 12:03:56 +02:00
|
|
|
%{_includedir}/minuet/
|
|
|
|
%{_kf5_libdir}/libminuetinterfaces.so
|
|
|
|
|
2017-04-15 15:29:06 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
2018-03-10 13:11:42 +01:00
|
|
|
%license COPYING*
|
2017-04-15 15:29:06 +02:00
|
|
|
%endif
|
|
|
|
|
2016-04-12 20:23:07 +02:00
|
|
|
%changelog
|