forked from pool/discover
Accepting request 640760 from KDE:Frameworks5
- Split available backends into subpackages - Improve description by using the one from Debian and rewording it slightly. OBS-URL: https://build.opensuse.org/request/show/640760 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/discover?expand=0&rev=45
This commit is contained in:
commit
07746d496c
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 9 06:13:19 UTC 2018 - fabian@ritter-vogt.de
|
||||||
|
|
||||||
|
- Split available backends into subpackages
|
||||||
|
- Improve description by using the one from Debian and rewording it
|
||||||
|
slightly.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 5 10:01:08 UTC 2018 - fabian@ritter-vogt.de
|
Fri Oct 5 10:01:08 UTC 2018 - fabian@ritter-vogt.de
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Name: discover
|
Name: discover
|
||||||
Version: 5.14.0
|
Version: 5.14.0
|
||||||
Release: 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
|
License: GPL-2.0-only AND GPL-3.0-only AND GPL-3.0-or-later
|
||||||
Group: System/GUI/KDE
|
Group: System/GUI/KDE
|
||||||
Url: https://quickgit.kde.org/?p=discover.git
|
Url: https://quickgit.kde.org/?p=discover.git
|
||||||
@ -74,20 +74,53 @@ BuildRequires: cmake(Qt5Xml)
|
|||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
BuildRequires: pkgconfig(fwupd) >= 1.0.6
|
BuildRequires: pkgconfig(fwupd) >= 1.0.6
|
||||||
%endif
|
%endif
|
||||||
Requires: AppStream
|
|
||||||
Requires: PackageKit
|
|
||||||
Requires: flatpak
|
|
||||||
Requires: kirigami2
|
Requires: kirigami2
|
||||||
Requires: libqt5-qtquickcontrols2
|
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
|
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300
|
||||||
Requires: appstream-provider
|
Requires: appstream-provider
|
||||||
%else
|
%else
|
||||||
Requires: libzypp-plugin-appdata
|
Requires: libzypp-plugin-appdata
|
||||||
%endif
|
%endif
|
||||||
Recommends: %{name}-lang
|
|
||||||
|
|
||||||
%description
|
%description backend-packagekit
|
||||||
Disover is the KDE software installer, implemented as an app store like application.
|
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
|
%package plasmoid
|
||||||
Summary: Update notification plasmoid for KDE Software Manager
|
Summary: Update notification plasmoid for KDE Software Manager
|
||||||
@ -96,7 +129,8 @@ Conflicts: plasma5-pk-updates
|
|||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description plasmoid
|
%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
|
%lang_package
|
||||||
|
|
||||||
@ -122,6 +156,9 @@ This is the systray plasmoid to notify the user that updates are available
|
|||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
%suse_update_desktop_file -r org.kde.discover Qt KDE System PackageManager
|
%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}
|
%if %{with lang}
|
||||||
%find_lang libdiscover %{name}.lang
|
%find_lang libdiscover %{name}.lang
|
||||||
%find_lang plasma-discover-notifier %{name}.lang
|
%find_lang plasma-discover-notifier %{name}.lang
|
||||||
@ -136,17 +173,17 @@ This is the systray plasmoid to notify the user that updates are available
|
|||||||
%license COPYING*
|
%license COPYING*
|
||||||
%{_kf5_bindir}/plasma-discover
|
%{_kf5_bindir}/plasma-discover
|
||||||
%{_kf5_libdir}/plasma-discover/
|
%{_kf5_libdir}/plasma-discover/
|
||||||
%{_kf5_plugindir}/discover/
|
%dir %{_kf5_plugindir}/discover/
|
||||||
|
%{_kf5_plugindir}/discover/kns-backend.so
|
||||||
%{_kf5_qmldir}/
|
%{_kf5_qmldir}/
|
||||||
%{_kf5_applicationsdir}/org.kde.discover.desktop
|
%{_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.urlhandler.desktop
|
||||||
%{_kf5_applicationsdir}/org.kde.discover.snap.urlhandler.desktop
|
|
||||||
%{_kf5_iconsdir}/hicolor/*/apps/plasmadiscover.*
|
%{_kf5_iconsdir}/hicolor/*/apps/plasmadiscover.*
|
||||||
%{_kf5_notifydir}/discoverabstractnotifier.notifyrc
|
%{_kf5_notifydir}/discoverabstractnotifier.notifyrc
|
||||||
%{_kf5_kxmlguidir}/plasmadiscover/
|
%{_kf5_kxmlguidir}/plasmadiscover/
|
||||||
%{_kf5_sharedir}/libdiscover/
|
%dir %{_kf5_sharedir}/libdiscover/
|
||||||
%{_kf5_appstreamdir}/
|
%dir %{_kf5_sharedir}/libdiscover/categories/
|
||||||
|
%{_kf5_appstreamdir}/org.kde.discover.appdata.xml
|
||||||
%{_kf5_sharedir}/discover/
|
%{_kf5_sharedir}/discover/
|
||||||
%{_libdir}/libexec/kf5/discover/
|
%{_libdir}/libexec/kf5/discover/
|
||||||
%config %{_kf5_configdir}/discover_ktexteditor_codesnippets_core.knsrc
|
%config %{_kf5_configdir}/discover_ktexteditor_codesnippets_core.knsrc
|
||||||
@ -154,7 +191,25 @@ This is the systray plasmoid to notify the user that updates are available
|
|||||||
|
|
||||||
%if %{with lang}
|
%if %{with lang}
|
||||||
%files lang -f %{name}.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
|
%endif
|
||||||
|
|
||||||
%files plasmoid -f plasma.lang
|
%files plasmoid -f plasma.lang
|
||||||
@ -164,5 +219,6 @@ This is the systray plasmoid to notify the user that updates are available
|
|||||||
%{_kf5_sharedir}/plasma/plasmoids/org.kde.discovernotifier/
|
%{_kf5_sharedir}/plasma/plasmoids/org.kde.discovernotifier/
|
||||||
%{_kf5_servicesdir}/plasma-applet-org.kde.discovernotifier.desktop
|
%{_kf5_servicesdir}/plasma-applet-org.kde.discovernotifier.desktop
|
||||||
%{_kf5_plugindir}/discover-notifier/
|
%{_kf5_plugindir}/discover-notifier/
|
||||||
|
%{_kf5_appstreamdir}/org.kde.discovernotifier.appdata.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user