2016-02-05 21:49:37 +01:00
|
|
|
#
|
|
|
|
# spec file for package discover
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 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: discover
|
2016-02-05 21:51:02 +01:00
|
|
|
Version: 5.5.4
|
2016-02-05 21:49:37 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: KDE Software Installer
|
|
|
|
License: GPL-2.0
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: https://quickgit.kde.org/?p=discover.git
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: PackageKit-Qt5-devel
|
|
|
|
BuildRequires: libAppstreamQt-devel
|
|
|
|
BuildRequires: cmake >= 2.8.12
|
|
|
|
BuildRequires: karchive-devel
|
|
|
|
BuildRequires: kconfig-devel
|
|
|
|
BuildRequires: kconfigwidgets-devel
|
|
|
|
BuildRequires: kcoreaddons-devel
|
|
|
|
BuildRequires: kdbusaddons-devel
|
|
|
|
BuildRequires: kdeclarative-devel
|
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kiconthemes-devel
|
|
|
|
BuildRequires: kio-devel
|
|
|
|
BuildRequires: kitemviews-devel
|
|
|
|
BuildRequires: knewstuff-devel
|
|
|
|
BuildRequires: knotifications-devel
|
|
|
|
BuildRequires: ktextwidgets-devel
|
|
|
|
BuildRequires: kwallet-devel
|
|
|
|
BuildRequires: kwidgetsaddons-devel
|
|
|
|
BuildRequires: libattica-devel
|
|
|
|
BuildRequires: plasma-framework-devel
|
|
|
|
BuildRequires: solid-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
|
|
BuildRequires: pkgconfig(Qt5QuickWidgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
|
|
Requires: libzypp-plugin-appdata
|
|
|
|
Requires: AppStream
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Disover is the KDE software installer, implemented as an app store like application.
|
|
|
|
|
|
|
|
%package plasmoid
|
|
|
|
Summary: Update notification plasmoid for KDE Software Manager
|
|
|
|
Conflicts: plasma5-pk-updates
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description plasmoid
|
|
|
|
This is the systray plasmoid to notify the user that updates are available
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%suse_update_desktop_file -r org.kde.discover Qt KDE System PackageManager
|
|
|
|
%suse_update_desktop_file -r plasma-discover-updater Qt KDE System PackageManager
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.GFDL COPYING.LIB
|
|
|
|
%{_bindir}/plasma-discover
|
|
|
|
%{_bindir}/plasma-discover-updater
|
|
|
|
%{_libdir}/libDiscoverCommon.so
|
|
|
|
%{_libdir}/libDiscoverNotifiers.so
|
|
|
|
%{_kf5_plugindir}/discover-notifier/
|
|
|
|
%{_kf5_plugindir}/discover/
|
|
|
|
%dir %{_kf5_qmldir}/org
|
|
|
|
%dir %{_kf5_qmldir}/org/kde
|
|
|
|
%{_kf5_qmldir}/org/kde/discover/
|
|
|
|
%{_kf5_qmldir}/org/kde/discovernotifier/
|
|
|
|
%{_kf5_applicationsdir}/org.kde.discover.desktop
|
|
|
|
%{_kf5_applicationsdir}/plasma-discover-updater.desktop
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/plasmadiscover.*
|
|
|
|
%{_kf5_notifydir}/discoverabstractnotifier.notifyrc
|
|
|
|
%{_kf5_kxmlguidir}/plasmadiscover/
|
|
|
|
%{_kf5_kxmlguidir}/plasmadiscoverupdater/
|
|
|
|
%{_datadir}/libdiscover/
|
|
|
|
%{_datadir}/plasmadiscover/
|
|
|
|
|
|
|
|
%files plasmoid
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.GFDL COPYING.LIB
|
|
|
|
%dir %{_datadir}/plasma
|
|
|
|
%dir %{_datadir}/plasma/plasmoids
|
|
|
|
%{_datadir}/plasma/plasmoids/org.kde.discovernotifier/
|
|
|
|
%{_kf5_servicesdir}/plasma-applet-org.kde.discovernotifier.desktop
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|