SHA256
1
0
forked from pool/discover

- Split available backends into subpackages

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/discover?expand=0&rev=148
This commit is contained in:
Fabian Vogt 2018-10-09 06:18:19 +00:00 committed by Git OBS Bridge
parent c7c1527b59
commit a667107592
2 changed files with 64 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 9 06:13:19 UTC 2018 - fabian@ritter-vogt.de
- Split available backends into subpackages
-------------------------------------------------------------------
Fri Oct 5 10:01:08 UTC 2018 - fabian@ritter-vogt.de

View File

@ -85,10 +85,39 @@ Requires: appstream-provider
Requires: libzypp-plugin-appdata
%endif
Recommends: %{name}-lang
Recommends: %{name}-backend-packagekit
Recommends: %{name}-backend-flatpak
Recommends: %{name}-backend-fwupd
%description
Disover is the KDE software installer, implemented as an app store like application.
%package backend-packagekit
Summary: PackageKit Backend for Discover
Group: System/GUI/KDE
Requires: %{name} = %{version}
%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}
%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
Group: System/GUI/KDE
@ -96,7 +125,8 @@ Conflicts: plasma5-pk-updates
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 +152,9 @@ This is the systray plasmoid to notify the user that updates are available
%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 +169,17 @@ This is the systray plasmoid to notify the user that updates are available
%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 +187,25 @@ This is the systray plasmoid to notify the user that updates are available
%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 +215,6 @@ This is the systray plasmoid to notify the user that updates are available
%{_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