SHA256
1
0
forked from pool/discover

Plasma 5.17 Beta, fourth try

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/discover?expand=0&rev=194
This commit is contained in:
Fabian Vogt 2019-09-20 11:01:11 +00:00 committed by Git OBS Bridge
parent fd13d55f2e
commit 64d0527df5
6 changed files with 47 additions and 63 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26c47a5c0f59a31f37da85e894a926c76805b66f91dde8ba6d2de8015842d5c1
size 10453308

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEELR1bBYg1d4fenuIl7JTRj38FmX4FAl1ubcUACgkQ7JTRj38F
mX4sEQgAlV0xKWfHh75TQQMl4H0877On9bEJ081HdCCu0k+fJC2bX8Q9m0ojDzFx
2YZSV7lnldo1t1l2Y+zpNpLwMOZerwGcpJhzN1rKfvEYekl+pVLhkMJHnTclTdWx
+F3nlbtKvtRKbKc1mdb9qC+bCOiUWzGHCLwIW2WmBac65Tk/yvhuGFoYBSlAJpMC
MJTW8mBgRX6sHPRkvwCGyXGLwKieC+EE5ax3S9V+7d54Gti85VH/RAfATHjjGQKg
wYFlGApEm/wTjx5fqTWH79nTO/83n+VJZZIxWGg6BCeeJdqOocG7OQvm6ibvAHfH
l/kHptE5hJC1D0iaOcmDTLl5C2zACw==
=cw6t
-----END PGP SIGNATURE-----

3
discover-5.16.90.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8da8f2ff38a672ef0de2d3146fd797c1e08095f31188dd6a936720fd8d916713
size 10446568

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEELR1bBYg1d4fenuIl7JTRj38FmX4FAl2DWqEACgkQ7JTRj38F
mX6OzAf+L9m/nxFjo4FvVXqB41OvbRKW+ONTo4tlmFNDUTCnND/y0xyxr0lpcTaX
FycCpNbXQzhGst6Bz8woluE6DhTXdSjZEf4Tjw+7A8HIBr7tir9CnrdnIu8Kt0kW
Auz29G7o6++F6SGXGwWNgrZ7s3w9QqbiymW36vjwrbLlv7RQ76Fwsc6+jE183p9E
34o3pErtZeYxBWBs6tKxTMjP7zobtZtHrdOyzIs6rdPUhDKQX5Ne1N/FQOzaKuX8
kIV2P3I9SL/KW+QT7tT68gzyJ47LUf2ExgWHQzKwa02ZI0e6ZPTHakFLv64DlMvU
Nh03LOMbYmjc5b/UX6fTiQGLyWw/gg==
=wS9r
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Sep 19 12:32:33 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.16.90
* New feature release
* For more details please see:
* https://www.kde.org/announcements/plasma-5.16.90.php
- Too many changes to list here
- Recommend the fwupd backend by default again
- Drop conditions for Leap 42
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 3 12:44:11 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de> Tue Sep 3 12:44:11 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -18,32 +18,23 @@
%bcond_without lang %bcond_without lang
Name: discover Name: discover
Version: 5.16.5 Version: 5.16.90
Release: 0 Release: 0
Summary: Software store for the KDE Plasma desktop 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
Source: https://download.kde.org/stable/plasma/%{version}/discover-%{version}.tar.xz Source: discover-%{version}.tar.xz
%if %{with lang} %if %{with lang}
Source1: https://download.kde.org/stable/plasma/%{version}/discover-%{version}.tar.xz.sig Source1: discover-%{version}.tar.xz.sig
Source2: plasma.keyring Source2: plasma.keyring
%endif %endif
# PATCH-FIX-OPENSUSE # PATCH-FIX-OPENSUSE
Patch1: 0001-Warning-for-FlatHub.patch Patch1: 0001-Warning-for-FlatHub.patch
%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
%if 0%{?sle_version} < 120300
BuildRequires: gcc6-c++
%else
BuildRequires: gcc7-c++
%endif
%endif
BuildRequires: cmake >= 2.8.12 BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: flatpak-devel BuildRequires: flatpak-devel
BuildRequires: kf5-filesystem BuildRequires: kf5-filesystem
BuildRequires: kirigami2-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: cmake(AppStreamQt) >= 0.11.1 BuildRequires: cmake(AppStreamQt) >= 0.11.1
BuildRequires: cmake(KF5Archive) BuildRequires: cmake(KF5Archive)
@ -56,6 +47,7 @@ BuildRequires: cmake(KF5Declarative)
BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5ItemModels) BuildRequires: cmake(KF5ItemModels)
BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5Kirigami2)
BuildRequires: cmake(KF5NewStuff) BuildRequires: cmake(KF5NewStuff)
BuildRequires: cmake(KF5Notifications) BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5Plasma) BuildRequires: cmake(KF5Plasma)
@ -71,9 +63,7 @@ BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(Qt5Xml) BuildRequires: cmake(Qt5Xml)
BuildRequires: cmake(packagekitqt5) >= 1.0.1 BuildRequires: cmake(packagekitqt5) >= 1.0.1
%if 0%{?suse_version} >= 1500
BuildRequires: pkgconfig(fwupd) >= 1.0.6 BuildRequires: pkgconfig(fwupd) >= 1.0.6
%endif
Requires: kirigami2 Requires: kirigami2
Requires: libqt5-qtquickcontrols2 Requires: libqt5-qtquickcontrols2
Recommends: %{name}-lang Recommends: %{name}-lang
@ -81,8 +71,9 @@ Recommends: %{name}-backend-packagekit
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150100 %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150100
Recommends: %{name}-backend-flatpak Recommends: %{name}-backend-flatpak
%endif %endif
# Disabled for now, reported to cause crashes # Conflicts with plasma5-pk-updates
# Recommends: %{name}-backend-fwupd # Recommends: %%{name}-notifier
Recommends: %{name}-backend-fwupd
%description %description
Discover is a graphical software manager for the KDE Plasma desktop. It helps users to find software they might want easily and quickly. Discover is a graphical software manager for the KDE Plasma desktop. It helps users to find software they might want easily and quickly.
@ -97,11 +88,7 @@ Requires: %{name} = %{version}
# it's useless without system package management # it's useless without system package management
Requires: AppStream Requires: AppStream
Requires: PackageKit Requires: PackageKit
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300
Requires: appstream-provider Requires: appstream-provider
%else
Requires: libzypp-plugin-appdata
%endif
%description backend-packagekit %description backend-packagekit
A plugin for Discover to support management of system packages and repositories A plugin for Discover to support management of system packages and repositories
@ -125,33 +112,23 @@ Requires: %{name} = %{version}
%description backend-fwupd %description backend-fwupd
A plugin for Discover to support updates of system firmware using fwupd. A plugin for Discover to support updates of system firmware using fwupd.
%package plasmoid %package notifier
Summary: Update notification plasmoid for KDE Software Manager Summary: Update notifier for KDE Software Manager
Group: System/GUI/KDE Group: System/GUI/KDE
Conflicts: plasma5-pk-updates Conflicts: plasma5-pk-updates
Obsoletes: %{name}-plasmoid < %{version}
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description plasmoid %description notifier
This is a plasmoid to notify the user that updates are available and allows the This is a notifier for Discover to inform the user that updates are available and allows the
user to install them using Discover. user to install them using Discover.
%lang_package %lang_package
%prep %prep
%setup -q %autosetup -p1
%autopatch -p1
%build %build
%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
%if 0%{?sle_version} < 120300
export CC=gcc-6
export CXX=g++-6
%else
export CC=gcc-7
export CXX=g++-7
%endif
%endif
%cmake_kf5 -d build %cmake_kf5 -d build
%make_jobs %make_jobs
@ -164,12 +141,11 @@ user to install them using Discover.
%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 %{name}.lang %find_lang plasma-discover %{name}.lang
%find_lang plasma_applet_org.kde.discovernotifier plasma.lang %find_lang plasma-discover-notifier notifier.lang
%else %else
touch plasma.lang touch notifier.lang
%endif %endif
%files %files
@ -178,7 +154,6 @@ user to install them using Discover.
%{_kf5_libdir}/plasma-discover/ %{_kf5_libdir}/plasma-discover/
%dir %{_kf5_plugindir}/discover/ %dir %{_kf5_plugindir}/discover/
%{_kf5_plugindir}/discover/kns-backend.so %{_kf5_plugindir}/discover/kns-backend.so
%{_kf5_qmldir}/
%{_kf5_applicationsdir}/org.kde.discover.desktop %{_kf5_applicationsdir}/org.kde.discover.desktop
%{_kf5_applicationsdir}/org.kde.discover.urlhandler.desktop %{_kf5_applicationsdir}/org.kde.discover.urlhandler.desktop
%{_kf5_iconsdir}/hicolor/*/apps/plasmadiscover.* %{_kf5_iconsdir}/hicolor/*/apps/plasmadiscover.*
@ -212,19 +187,17 @@ user to install them using Discover.
%{_kf5_iconsdir}/hicolor/*/apps/flatpak-discover.svg %{_kf5_iconsdir}/hicolor/*/apps/flatpak-discover.svg
%endif %endif
%if 0%{?suse_version} >= 1500
%files backend-fwupd %files backend-fwupd
%license COPYING* %license COPYING*
%{_kf5_plugindir}/discover/fwupd-backend.so %{_kf5_plugindir}/discover/fwupd-backend.so
%endif
%files plasmoid -f plasma.lang %files notifier -f notifier.lang
%license COPYING* %license COPYING*
%dir %{_kf5_sharedir}/plasma %dir %{_kf5_plugindir}/discover-notifier
%dir %{_kf5_sharedir}/plasma/plasmoids %{_kf5_configdir}/autostart/org.kde.discover.notifier.desktop
%{_kf5_sharedir}/plasma/plasmoids/org.kde.discovernotifier/ %{_libdir}/libexec/DiscoverNotifier
%{_kf5_servicesdir}/plasma-applet-org.kde.discovernotifier.desktop %{_kf5_plugindir}/discover-notifier/DiscoverPackageKitNotifier.so
%{_kf5_plugindir}/discover-notifier/ %{_kf5_plugindir}/discover-notifier/FlatpakNotifier.so
%{_kf5_appstreamdir}/org.kde.discovernotifier.appdata.xml %{_kf5_applicationsdir}/org.kde.discover.notifier.desktop
%changelog %changelog