SHA256
1
0
forked from pool/kio

KDE Frameworks 5.82

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kio?expand=0&rev=333
This commit is contained in:
Luca Beltrame
2021-05-09 07:41:59 +00:00
committed by Git OBS Bridge
parent 702826e754
commit c6254dbf3f
7 changed files with 51 additions and 91 deletions

View File

@@ -16,14 +16,14 @@
#
%define _tar_path 5.81
%define _tar_path 5.82
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: kio
Version: 5.81.0
Version: 5.82.0
Release: 0
Summary: Network transparent access to files and data
License: LGPL-2.1-or-later
@@ -37,8 +37,6 @@ Source2: frameworks.keyring
Source99: baselibs.conf
# PATCH-FIX-OPENSUSE kio_help-fallback-to-kde4-docs.patch -- allow kio_help to see into kde4 documentation, needed especially for khelpcenter5
Patch0: kio_help-fallback-to-kde4-docs.patch
# PATCH-FIX-UPSTREAM
Patch1: 0001-PreviewJob-Create-a-larger-SHM-when-necessary.patch
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: fdupes
BuildRequires: kf5-filesystem
@@ -67,16 +65,16 @@ BuildRequires: cmake(KF5Wallet) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5WidgetsAddons) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version}
BuildRequires: cmake(KF5XmlGui) >= %{_kf5_bugfix_version}
BuildRequires: cmake(Qt5Concurrent) >= 5.14.0
BuildRequires: cmake(Qt5Core) >= 5.14.0
BuildRequires: cmake(Qt5DBus) >= 5.14.0
BuildRequires: cmake(Qt5Network) >= 5.14.0
BuildRequires: cmake(Qt5Qml) >= 5.14.0
BuildRequires: cmake(Qt5Test) >= 5.14.0
BuildRequires: cmake(Qt5UiPlugin) >= 5.14.0
BuildRequires: cmake(Qt5Widgets) >= 5.14.0
BuildRequires: cmake(Qt5X11Extras) >= 5.14.0
BuildRequires: cmake(Qt5Xml) >= 5.14.0
BuildRequires: cmake(Qt5Concurrent) >= 5.15.0
BuildRequires: cmake(Qt5Core) >= 5.15.0
BuildRequires: cmake(Qt5DBus) >= 5.15.0
BuildRequires: cmake(Qt5Network) >= 5.15.0
BuildRequires: cmake(Qt5Qml) >= 5.15.0
BuildRequires: cmake(Qt5Test) >= 5.15.0
BuildRequires: cmake(Qt5UiPlugin) >= 5.15.0
BuildRequires: cmake(Qt5Widgets) >= 5.15.0
BuildRequires: cmake(Qt5X11Extras) >= 5.15.0
BuildRequires: cmake(Qt5Xml) >= 5.15.0
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(x11)
Requires: %{name}-core = %{version}
@@ -121,9 +119,9 @@ Requires: cmake(KF5Service) >= %{_kf5_bugfix_version}
Requires: cmake(KF5Solid) >= %{_kf5_bugfix_version}
Requires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version}
Requires: cmake(KF5XmlGui) >= %{_kf5_bugfix_version}
Requires: cmake(Qt5Concurrent) >= 5.14.0
Requires: cmake(Qt5DBus) >= 5.14.0
Requires: cmake(Qt5Network) >= 5.14.0
Requires: cmake(Qt5Concurrent) >= 5.15.0
Requires: cmake(Qt5DBus) >= 5.15.0
Requires: cmake(Qt5Network) >= 5.15.0
%description devel
This framework implements almost all the file management functions you
@@ -137,12 +135,12 @@ Development files.
%autosetup -p1
%build
%cmake_kf5 -d build
%cmake_build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
%fdupes %{buildroot}
%kf5_makeinstall -C build
%fdupes %{buildroot}
%if %{with lang}
%find_lang %{name} --with-man --all-name