2016-02-05 21:49:37 +01:00
|
|
|
#
|
|
|
|
# spec file for package discover
|
|
|
|
#
|
2017-01-14 02:08:55 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-02-05 21:49:37 +01: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-03-06 19:06:50 +01:00
|
|
|
%bcond_without lang
|
2016-02-05 21:49:37 +01:00
|
|
|
Name: discover
|
2017-01-28 00:45:55 +01:00
|
|
|
Version: 5.9.0
|
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
|
2017-01-28 00:45:55 +01:00
|
|
|
Source: discover-%{version}.tar.xz
|
2016-02-05 21:49:37 +01:00
|
|
|
BuildRequires: PackageKit-Qt5-devel
|
|
|
|
BuildRequires: cmake >= 2.8.12
|
2016-03-05 20:05:58 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2016-02-05 21:49:37 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
2017-01-14 02:08:55 +01:00
|
|
|
BuildRequires: kirigami2-devel
|
2016-02-05 21:49:37 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2017-01-14 02:08:55 +01:00
|
|
|
BuildRequires: cmake(AppStreamQt) >= 0.10
|
2016-03-29 23:26:37 +02:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
2016-03-05 20:05:58 +01:00
|
|
|
BuildRequires: cmake(KF5Attica)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
2016-06-16 17:48:59 +02:00
|
|
|
BuildRequires: cmake(KF5Crash)
|
2016-03-05 20:05:58 +01:00
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5Declarative)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
2017-01-14 02:08:55 +01:00
|
|
|
BuildRequires: cmake(KF5ItemModels)
|
2016-03-06 13:59:59 +01:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
2016-03-05 20:05:58 +01:00
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
2016-03-06 13:59:59 +01:00
|
|
|
BuildRequires: cmake(KF5Notifications)
|
2016-03-05 20:05:58 +01:00
|
|
|
BuildRequires: cmake(KF5Plasma)
|
|
|
|
BuildRequires: cmake(KF5TextWidgets)
|
|
|
|
BuildRequires: cmake(Qca-qt5)
|
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
2016-10-19 11:19:29 +02:00
|
|
|
BuildRequires: cmake(Qt5Qml)
|
2016-03-05 20:05:58 +01:00
|
|
|
BuildRequires: cmake(Qt5Quick)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
2016-02-05 21:49:37 +01:00
|
|
|
Requires: AppStream
|
2017-01-14 02:08:55 +01:00
|
|
|
Requires: kirigami2
|
|
|
|
Requires: libqt5-qtquickcontrols2
|
2016-03-05 20:05:58 +01:00
|
|
|
Requires: libzypp-plugin-appdata
|
2016-03-10 20:04:43 +01:00
|
|
|
%if %{with lang}
|
|
|
|
Recommends: %{name}-lang
|
|
|
|
%endif
|
2016-02-05 21:49:37 +01:00
|
|
|
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
|
2016-03-05 20:05:58 +01:00
|
|
|
Group: System/GUI/KDE
|
2016-02-05 21:49:37 +01:00
|
|
|
Conflicts: plasma5-pk-updates
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description plasmoid
|
|
|
|
This is the systray plasmoid to notify the user that updates are available
|
|
|
|
|
2016-02-05 22:31:35 +01:00
|
|
|
%lang_package
|
|
|
|
|
2016-02-05 21:49:37 +01:00
|
|
|
%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
|
2016-03-05 20:05:58 +01:00
|
|
|
|
2016-03-06 19:06:50 +01:00
|
|
|
%if %{with lang}
|
2016-02-05 22:43:24 +01:00
|
|
|
%find_lang libdiscover %{name}.lang
|
2016-09-17 20:38:57 +02:00
|
|
|
# %find_lang plasma-discover-exporter %{name}.lang
|
2016-03-06 15:41:40 +01:00
|
|
|
%find_lang plasma-discover-notifier %{name}.lang
|
|
|
|
%find_lang plasma-discover %{name}.lang
|
2016-09-17 20:38:57 +02:00
|
|
|
|
2016-06-17 22:26:44 +02:00
|
|
|
%find_lang plasma_applet_org.kde.discovernotifier plasma.lang
|
|
|
|
%else
|
|
|
|
touch plasma.lang
|
2016-03-06 19:06:50 +01:00
|
|
|
%endif
|
2016-02-05 21:49:37 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.GFDL COPYING.LIB
|
2016-03-20 10:31:31 +01:00
|
|
|
%{_kf5_bindir}/plasma-discover
|
|
|
|
%{_kf5_libdir}/plasma-discover/
|
2016-02-05 21:49:37 +01:00
|
|
|
%{_kf5_plugindir}/discover/
|
2016-03-06 15:41:40 +01:00
|
|
|
%{_kf5_qmldir}/
|
2016-02-05 21:49:37 +01:00
|
|
|
%{_kf5_applicationsdir}/org.kde.discover.desktop
|
2016-03-06 15:41:40 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/plasmadiscover.*
|
|
|
|
%{_kf5_notifydir}/discoverabstractnotifier.notifyrc
|
|
|
|
%{_kf5_kxmlguidir}/plasmadiscover/
|
2016-03-20 10:31:31 +01:00
|
|
|
%{_kf5_sharedir}/libdiscover/
|
2016-06-16 23:05:17 +02:00
|
|
|
%{_kf5_appstreamdir}/
|
2016-09-17 20:38:57 +02:00
|
|
|
%{_kf5_sharedir}/discover/
|
2017-01-14 02:08:55 +01:00
|
|
|
%{_libdir}/libexec/kf5/discover/
|
|
|
|
%config %{_kf5_configdir}/discover_ktexteditor_codesnippets_core.knsrc
|
2016-02-05 22:31:35 +01:00
|
|
|
|
2016-03-06 19:06:50 +01:00
|
|
|
%if %{with lang}
|
2016-02-05 22:31:35 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2016-03-06 19:06:50 +01:00
|
|
|
%endif
|
2016-02-05 21:49:37 +01:00
|
|
|
|
2016-06-17 22:26:44 +02:00
|
|
|
%files plasmoid -f plasma.lang
|
2016-02-05 21:49:37 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.GFDL COPYING.LIB
|
2016-03-20 10:31:31 +01:00
|
|
|
%dir %{_kf5_sharedir}/plasma
|
|
|
|
%dir %{_kf5_sharedir}/plasma/plasmoids
|
|
|
|
%{_kf5_sharedir}/plasma/plasmoids/org.kde.discovernotifier/
|
2016-02-05 21:49:37 +01:00
|
|
|
%{_kf5_servicesdir}/plasma-applet-org.kde.discovernotifier.desktop
|
2017-01-14 02:08:55 +01:00
|
|
|
%{_kf5_plugindir}/discover-notifier/
|
2016-02-05 21:49:37 +01:00
|
|
|
|
|
|
|
%changelog
|