Hello community,

here is the log from the commit of package discover for openSUSE:Factory 
checked in at 2018-10-12 13:07:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/discover (Old)
 and      /work/SRC/openSUSE:Factory/.discover.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "discover"

Fri Oct 12 13:07:50 2018 rev:45 rq:640760 version:5.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/discover/discover.changes        2018-10-08 
17:32:32.875492278 +0200
+++ /work/SRC/openSUSE:Factory/.discover.new/discover.changes   2018-10-12 
13:07:51.731541986 +0200
@@ -1,0 +2,7 @@
+Tue Oct  9 06:13:19 UTC 2018 - [email protected]
+
+- Split available backends into subpackages
+- Improve description by using the one from Debian and rewording it
+  slightly.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ discover.spec ++++++
--- /var/tmp/diff_new_pack.rNBvzY/_old  2018-10-12 13:07:52.327541134 +0200
+++ /var/tmp/diff_new_pack.rNBvzY/_new  2018-10-12 13:07:52.327541134 +0200
@@ -20,7 +20,7 @@
 Name:           discover
 Version:        5.14.0
 Release:        0
-Summary:        KDE Software Installer
+Summary:        Software store for the KDE Plasma desktop
 License:        GPL-2.0-only AND GPL-3.0-only AND GPL-3.0-or-later
 Group:          System/GUI/KDE
 Url:            https://quickgit.kde.org/?p=discover.git
@@ -74,20 +74,53 @@
 %if 0%{?suse_version} >= 1500
 BuildRequires:  pkgconfig(fwupd) >= 1.0.6
 %endif
-Requires:       AppStream
-Requires:       PackageKit
-Requires:       flatpak
 Requires:       kirigami2
 Requires:       libqt5-qtquickcontrols2
+Recommends:     %{name}-lang
+Recommends:     %{name}-backend-packagekit
+Recommends:     %{name}-backend-flatpak
+Recommends:     %{name}-backend-fwupd
+
+%description
+Discover is a graphical software manager for the KDE Plasma desktop. It helps 
users to find software they might want easily and quickly.
+
+By allowing to navigate a software library by search, categories, top lists 
along with detailed application information including screenshots and reviews, 
users can more quickly find applications that suit their needs.
+
+%package backend-packagekit
+Summary:        PackageKit Backend for Discover
+Group:          System/GUI/KDE
+Requires:       %{name} = %{version}
+# Technically libdiscover and not the backend implements AppStream support, but
+# it's useless without system package management
+Requires:       AppStream
+Requires:       PackageKit
 %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300
 Requires:       appstream-provider
 %else
 Requires:       libzypp-plugin-appdata
 %endif
-Recommends:     %{name}-lang
 
-%description
-Disover is the KDE software installer, implemented as an app store like 
application.
+%description backend-packagekit
+A plugin for Discover to support management of system packages and repositories
+using PackageKit.
+
+%package backend-flatpak
+Summary:        Flatpak Backend for Discover
+Group:          System/GUI/KDE
+Requires:       %{name} = %{version}
+Requires:       flatpak
+
+%description backend-flatpak
+A plugin for Discover to support installation and management of Flatpak
+applications and repositories.
+
+%package backend-fwupd
+Summary:        fwupd Backend for Discover
+Group:          System/GUI/KDE
+Requires:       %{name} = %{version}
+
+%description backend-fwupd
+A plugin for Discover to support updates of system firmware using fwupd.
 
 %package plasmoid
 Summary:        Update notification plasmoid for KDE Software Manager
@@ -96,7 +129,8 @@
 Requires:       %{name} = %{version}
 
 %description plasmoid
-This is the systray plasmoid to notify the user that updates are available
+This is a plasmoid to notify the user that updates are available and allows the
+user to install them using Discover.
 
 %lang_package
 
@@ -122,6 +156,9 @@
   %kf5_makeinstall -C build
   %suse_update_desktop_file -r org.kde.discover Qt KDE System PackageManager
 
+  # Even without the snap backend, this is installed...
+  rm 
%{buildroot}%{_kf5_applicationsdir}/org.kde.discover.snap.urlhandler.desktop
+
 %if %{with lang}
   %find_lang libdiscover %{name}.lang
   %find_lang plasma-discover-notifier %{name}.lang
@@ -136,17 +173,17 @@
 %license COPYING*
 %{_kf5_bindir}/plasma-discover
 %{_kf5_libdir}/plasma-discover/
-%{_kf5_plugindir}/discover/
+%dir %{_kf5_plugindir}/discover/
+%{_kf5_plugindir}/discover/kns-backend.so
 %{_kf5_qmldir}/
 %{_kf5_applicationsdir}/org.kde.discover.desktop
-%{_kf5_applicationsdir}/org.kde.discover-flatpak.desktop
 %{_kf5_applicationsdir}/org.kde.discover.urlhandler.desktop
-%{_kf5_applicationsdir}/org.kde.discover.snap.urlhandler.desktop
 %{_kf5_iconsdir}/hicolor/*/apps/plasmadiscover.*
 %{_kf5_notifydir}/discoverabstractnotifier.notifyrc
 %{_kf5_kxmlguidir}/plasmadiscover/
-%{_kf5_sharedir}/libdiscover/
-%{_kf5_appstreamdir}/
+%dir %{_kf5_sharedir}/libdiscover/
+%dir %{_kf5_sharedir}/libdiscover/categories/
+%{_kf5_appstreamdir}/org.kde.discover.appdata.xml
 %{_kf5_sharedir}/discover/
 %{_libdir}/libexec/kf5/discover/
 %config %{_kf5_configdir}/discover_ktexteditor_codesnippets_core.knsrc
@@ -154,7 +191,25 @@
 
 %if %{with lang}
 %files lang -f %{name}.lang
-%defattr(-,root,root)
+%endif
+
+%files backend-packagekit
+%license COPYING*
+%{_kf5_plugindir}/discover/packagekit-backend.so
+%{_kf5_sharedir}/libdiscover/categories/packagekit-backend-categories.xml
+%{_kf5_appstreamdir}/org.kde.discover.packagekit.appdata.xml
+
+%files backend-flatpak
+%license COPYING*
+%{_kf5_plugindir}/discover/flatpak-backend.so
+%{_kf5_sharedir}/libdiscover/categories/flatpak-backend-categories.xml
+%{_kf5_appstreamdir}/org.kde.discover.flatpak.appdata.xml
+%{_kf5_applicationsdir}/org.kde.discover-flatpak.desktop
+
+%if 0%{?suse_version} >= 1500
+%files backend-fwupd
+%license COPYING*
+%{_kf5_plugindir}/discover/fwupd-backend.so
 %endif
 
 %files plasmoid -f plasma.lang
@@ -164,5 +219,6 @@
 %{_kf5_sharedir}/plasma/plasmoids/org.kde.discovernotifier/
 %{_kf5_servicesdir}/plasma-applet-org.kde.discovernotifier.desktop
 %{_kf5_plugindir}/discover-notifier/
+%{_kf5_appstreamdir}/org.kde.discovernotifier.appdata.xml
 
 %changelog




Reply via email to