File plasma5-pk-updates.spec of Package plasma5-pk-updates

#
# spec file for package plasma5-pk-updates
#
# Copyright (c) 2015 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
# 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:           plasma5-pk-updates
Version:        0.2
Release:        0
Summary:        Plasma Software Manager for KDE
License:        GPL-3.0+
Group:          System/Packages
Url:            http://www.kde.org
Source:         v%{version}.tar.gz
Patch0:         gcc48.diff
BuildRequires:  PackageKit-Qt5-devel
BuildRequires:  cmake >= 3.0
BuildRequires:  extra-cmake-modules >= 1.3.0
BuildRequires:  kcoreaddons-devel
BuildRequires:  kdelibs4support-devel
BuildRequires:  ki18n-devel
BuildRequires:  kiconthemes-devel
BuildRequires:  knotifications-devel
BuildRequires:  plasma-framework-devel
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5Widgets)
%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320"
Provides:       apper = %{version}
Obsoletes:      apper < %{version}
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Plasma applet for software updates using PackageKit.

%prep
%setup -q -n plasma-pk-updates-%{version}
%patch0 -p1

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %kf5_makeinstall -C build

%files
%defattr(-,root,root)
%doc LICENSE
%{_kf5_qmldir}/
%{_kf5_plasmadir}/
%{_kf5_servicesdir}/

%changelog
openSUSE Build Service is sponsored by