SHA256
1
0
forked from pool/minuet

KDE Applications 17.12.3

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/minuet?expand=0&rev=72
This commit is contained in:
Wolfgang Bauer
2018-03-10 12:11:42 +00:00
committed by Git OBS Bridge
parent d2372691ac
commit e43943faab
5 changed files with 66 additions and 14 deletions

View File

@@ -16,19 +16,20 @@
#
%bcond_without lang
%define kf5_version 5.26.0
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: minuet
Version: 17.12.2
Version: 17.12.3
Release: 0
Summary: A KDE Software for Music Education
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Other
Url: http://www.kde.org
Source: minuet-%{version}.tar.xz
# PATCH-FIX-UPSTREAM 0001-Also-detect-fluidsynth-1.1.xx.patch
Patch0: 0001-Also-detect-fluidsynth-1.1.xx.patch
BuildRequires: extra-cmake-modules >= 5.15.0
BuildRequires: kf5-filesystem
BuildRequires: pkgconfig
@@ -52,7 +53,6 @@ Requires: libqt5-qtquickcontrols2
%if %{with lang}
Recommends: %{name}-lang
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Application for Music Education.
@@ -79,6 +79,7 @@ Development headers and libraries for Minuet.
%prep
%setup -q
%patch0 -p1
%build
%cmake_kf5 -d build
@@ -88,7 +89,7 @@ Development headers and libraries for Minuet.
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%{kf5_find_htmldocs}
%endif
%suse_update_desktop_file org.kde.minuet Music
@@ -96,8 +97,8 @@ Development headers and libraries for Minuet.
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING* README*
%doc README*
%license COPYING*
%dir %{_kf5_appstreamdir}
%doc %lang(en) %{_kf5_htmldir}/en/minuet/
%{_kf5_applicationsdir}/org.kde.minuet.desktop
@@ -109,14 +110,14 @@ Development headers and libraries for Minuet.
%{_kf5_sharedir}/minuet/
%files devel
%defattr(-,root,root)
%doc COPYING* README*
%doc README*
%license COPYING*
%{_includedir}/minuet/
%{_kf5_libdir}/libminuetinterfaces.so
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%license COPYING*
%endif
%changelog