SHA256
1
0
forked from pool/kio

KDE Frameworks 5.48.0

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kio?expand=0&rev=230
This commit is contained in:
2018-07-17 08:58:01 +00:00
committed by Git OBS Bridge
parent 9c2c78701b
commit 98e5911a26
5 changed files with 43 additions and 23 deletions

View File

@@ -17,15 +17,14 @@
%bcond_without lang
%define _tar_path 5.47
%define _tar_path 5.48
Name: kio
Version: 5.47.0
Version: 5.48.0
Release: 0
%define kf5_version %{version}
# 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: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
Summary: Network transparent access to files and data
License: LGPL-2.1-or-later
Group: System/GUI/KDE
@@ -36,6 +35,10 @@ Source1: baselibs.conf
Patch0: kio_help-fallback-to-kde4-docs.patch
# PATCH-FIX-OPENSUSE
Patch1: 0001-Revert-Support-NTFS-hidden-files.patch
%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
BuildRequires: gcc7-c++
%endif
BuildRequires: cmake >= 3.0
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: fdupes
@@ -129,6 +132,11 @@ Development files.
%autopatch -p1
%build
%if 0%{?suse_version} < 1330
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
export CC=gcc-7
export CXX=g++-7
%endif
%cmake_kf5 -d build
%make_jobs
@@ -154,6 +162,8 @@ Development files.
%endif
%files core
%doc README*
%license COPYING*
%{_kf5_libdir}/libKF5KIOCore.so.*
%{_kf5_configdir}/accept-languages.codes
%{_kf5_libdir}/libKF5KIONTLM.so.*
@@ -190,7 +200,8 @@ Development files.
%{_kf5_sharedir}/kconf_update/filepicker.upd
%files
%doc COPYING* README*
%doc README*
%license COPYING*
%{_kf5_libdir}/libKF5KIOGui.so.*
%{_kf5_libdir}/libKF5KIOWidgets.so.*
%{_kf5_libdir}/libKF5KIOFileWidgets.so.*