snap-backend: don't require snapd for arm and ix86 archs [release 5.27.3-2mamba;Thu Mar 16 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 21:48:34 +01:00
parent 4d96bc12ca
commit 6e71979e5d

View File

@ -1,8 +1,8 @@
%define plasmaver %(echo %version | cut -d. -f1-3) %define plasmaver %(echo %version | cut -d. -f1-3)
Name: discover Name: discover
Version: 5.27.2 Version: 5.27.3
Release: 1mamba Release: 2mamba
Summary: KDE Frameworks 5 application installer Summary: KDE Frameworks 5 application installer
Group: Graphical Desktop/Applications/Administration Group: Graphical Desktop/Applications/Administration
Vendor: openmamba Vendor: openmamba
@ -70,6 +70,17 @@ Requires: kuserfeedback
%description %description
KDE Frameworks 5 application installer. KDE Frameworks 5 application installer.
%package snap-backend
Summary: KDE Frameworks 5 Snap backend for Discover
Group: Graphical Desktop/Applications/Administration
Requires: %{name} == %{version}-%{release}
%ifnarch arm %{ix86}
Requires: snapd
%endif
%description snap-backend
Snap backend for Discover.
%package notifier %package notifier
Summary: KDE Frameworks 5 discover notifier Summary: KDE Frameworks 5 discover notifier
Group: Graphical Desktop/Applications/Administration Group: Graphical Desktop/Applications/Administration
@ -116,31 +127,34 @@ Notifier for the KDE Frameworks 5 application installer.
%{_libdir}/qt5/plugins/discover/kns-backend.so %{_libdir}/qt5/plugins/discover/kns-backend.so
%{_libdir}/qt5/plugins/discover/packagekit-backend.so %{_libdir}/qt5/plugins/discover/packagekit-backend.so
%{_libdir}/qt5/plugins/discover/flatpak-backend.so %{_libdir}/qt5/plugins/discover/flatpak-backend.so
%{_libdir}/qt5/plugins/discover/snap-backend.so
%ifnarch arm aarch64 %ifnarch arm aarch64
%{_libdir}/qt5/plugins/discover/fwupd-backend.so %{_libdir}/qt5/plugins/discover/fwupd-backend.so
%endif %endif
%{_libdir}/qt5/plugins/plasma/kcms/systemsettings/kcm_updates.so %{_libdir}/qt5/plugins/plasma/kcms/systemsettings/kcm_updates.so
%{_libdir}/qt5/plugins/discover-notifier/rpm-ostree-notifier.so %{_libdir}/qt5/plugins/discover-notifier/rpm-ostree-notifier.so
%{_libdir}/qt5/plugins/discover/rpm-ostree-backend.so %{_libdir}/qt5/plugins/discover/rpm-ostree-backend.so
%{_libexecdir}/discover/SnapMacaroonDialog
%{_libexecdir}/kf5/kauth/libsnap_helper
%{_datadir}/applications/org.kde.discover*.desktop %{_datadir}/applications/org.kde.discover*.desktop
%{_datadir}/applications/kcm_updates.desktop %{_datadir}/applications/kcm_updates.desktop
%{_datadir}/metainfo/org.kde.discover*.xml %{_datadir}/metainfo/org.kde.discover*.xml
%{_datadir}/dbus-1/system-services/org.kde.discover.libsnapclient.service
%{_datadir}/dbus-1/system.d/org.kde.discover.libsnapclient.conf
%{_datadir}/kpackage/kcms/kcm_updates/contents/ui/main.qml %{_datadir}/kpackage/kcms/kcm_updates/contents/ui/main.qml
%{_datadir}/libdiscover/categories/*packagekit-backend-categories.xml %{_datadir}/libdiscover/categories/*packagekit-backend-categories.xml
%{_datadir}/libdiscover/categories/flatpak-backend-categories.xml %{_datadir}/libdiscover/categories/flatpak-backend-categories.xml
%{_datadir}/libdiscover/categories/rpm-ostree-backend-categories.xml %{_datadir}/libdiscover/categories/rpm-ostree-backend-categories.xml
%{_datadir}/kxmlgui5/plasmadiscover/plasmadiscoverui.rc %{_datadir}/kxmlgui5/plasmadiscover/plasmadiscoverui.rc
%{_datadir}/qlogging-categories5/discover.categories %{_datadir}/qlogging-categories5/discover.categories
%{_datadir}/polkit-1/actions/org.kde.discover.libsnapclient.policy
%{_datadir}/icons/hicolor/*/apps/plasmadiscover.png %{_datadir}/icons/hicolor/*/apps/plasmadiscover.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/icons/hicolor/scalable/apps/*.svg
%doc LICENSES %doc LICENSES
%files snap-backend
%defattr(-,root,root)
%{_libdir}/qt5/plugins/discover/snap-backend.so
%{_libexecdir}/discover/SnapMacaroonDialog
%{_libexecdir}/kf5/kauth/libsnap_helper
%{_datadir}/polkit-1/actions/org.kde.discover.libsnapclient.policy
%{_datadir}/dbus-1/system-services/org.kde.discover.libsnapclient.service
%{_datadir}/dbus-1/system.d/org.kde.discover.libsnapclient.conf
%files notifier -f %{name}5_qt.lang %files notifier -f %{name}5_qt.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/org.kde.discover.notifier.desktop %{_sysconfdir}/xdg/autostart/org.kde.discover.notifier.desktop
@ -151,6 +165,15 @@ Notifier for the KDE Frameworks 5 application installer.
%{_datadir}/knotifications5/discoverabstractnotifier.notifyrc %{_datadir}/knotifications5/discoverabstractnotifier.notifyrc
%changelog %changelog
* Thu Mar 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.27.3-2mamba
- snap-backend: don't require snapd for arm and ix86 archs
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 5.27.3-1mamba
- automatic version update by autodist
* Sat Mar 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.27.2-2mamba
- package snap-backend apart
* Thu Mar 02 2023 Automatic Build System <autodist@mambasoft.it> 5.27.2-1mamba * Thu Mar 02 2023 Automatic Build System <autodist@mambasoft.it> 5.27.2-1mamba
- automatic version update by autodist - automatic version update by autodist