KDE Applications 18.12.0 Beta (last try; fix any other issue post acceptance)

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kmix?expand=0&rev=86
This commit is contained in:
Wolfgang Bauer
2018-11-24 23:45:00 +00:00
committed by Git OBS Bridge
parent 54248316ac
commit 84ab488844
4 changed files with 42 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package kmix
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,51 +12,55 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_without lang
Name: kmix
Version: 18.08.3
Release: 0
%define kf5_version 5.26.0
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: kmix
Version: 18.11.80
Release: 0
Summary: Sound Mixer
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Mixers
Url: http://www.kde.org
URL: http://www.kde.org
Source: %{name}-%{version}.tar.xz
BuildRequires: alsa-devel
BuildRequires: extra-cmake-modules
BuildRequires: glib2-devel
BuildRequires: kcmutils-devel
BuildRequires: kcompletion-devel
BuildRequires: kconfig-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kcrash-devel
BuildRequires: kdbusaddons-devel
BuildRequires: kdelibs4support-devel
BuildRequires: kdoctools-devel
BuildRequires: kf5-filesystem
BuildRequires: kglobalaccel-devel
BuildRequires: ki18n-devel
BuildRequires: kiconthemes-devel
BuildRequires: knotifications-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kwindowsystem-devel
BuildRequires: kxmlgui-devel
BuildRequires: libcanberra-devel
BuildRequires: libpulse-devel
BuildRequires: phonon4qt5-devel
BuildRequires: pkgconfig
BuildRequires: plasma-framework-devel
BuildRequires: solid-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
Obsoletes: %{name}5 < %{version}
Obsoletes: kmix5 < %{version}
Provides: %{name}5 = %{version}
%if %{with lang}
Recommends: %{name}-lang
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
KMix is a fully featured audio mixer by KDE.
@@ -69,14 +73,14 @@ KMix is a fully featured audio mixer by KDE.
%setup -q
%build
%cmake_kf5 -d build -- -DKMIX_KF5_BUILD=ON
%cmake_kf5 -d build
%make_jobs
%install
%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.kmix AudioVideo Mixer
@@ -84,8 +88,7 @@ KMix is a fully featured audio mixer by KDE.
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING*
%license COPYING*
%config %{_kf5_configdir}/autostart/*kmix*.desktop
%{_datadir}/plasma/services/
%{_kf5_applicationsdir}/*kmix*.desktop
@@ -93,8 +96,6 @@ KMix is a fully featured audio mixer by KDE.
%{_kf5_dbusinterfacesdir}/org.kde.kmix.*
%{_kf5_iconsdir}/hicolor/*/*/*
%{_kf5_kxmlguidir}/kmix/
%{_kf5_libdir}/libkdeinit5_kmix.so
%{_kf5_libdir}/libkdeinit5_kmixctrl.so
%{_kf5_plugindir}/
%{_kf5_servicesdir}/
%{_kf5_sharedir}/kmix/