Accepting request 759191 from home:Vogtinator:KE
yay OBS-URL: https://build.opensuse.org/request/show/759191 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kio-fuse?expand=0&rev=1
This commit is contained in:
commit
7286a07970
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
@ -0,0 +1,28 @@
|
|||||||
|
From 14d16524ae0233518111ae7631f540178bc25dcf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
Date: Wed, 25 Dec 2019 14:15:51 +0100
|
||||||
|
Subject: [PATCH] Use target_link_libraries instead of target_link_options for
|
||||||
|
FUSE3_LDFLAGS
|
||||||
|
|
||||||
|
target_link_options got added in CMake 3.13, which is not always available.
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 8fe1df9..94c3323 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -55,8 +55,7 @@ ecm_qt_declare_logging_category(KIOFUSE_SOURCES
|
||||||
|
add_executable(kio-fuse ${KIOFUSE_SOURCES})
|
||||||
|
target_include_directories(kio-fuse PRIVATE ${FUSE3_INCLUDE_DIRS})
|
||||||
|
target_compile_definitions(kio-fuse PRIVATE FUSE_USE_VERSION=31 ${FUSE3_CFLAGS_OTHER})
|
||||||
|
-target_link_options(kio-fuse PRIVATE ${FUSE3_LDFLAGS})
|
||||||
|
-target_link_libraries(kio-fuse PRIVATE Qt5::Core KF5::KIOCore ${FUSE3_LIBRARIES})
|
||||||
|
+target_link_libraries(kio-fuse PRIVATE Qt5::Core KF5::KIOCore ${FUSE3_LIBRARIES} ${FUSE3_LDFLAGS})
|
||||||
|
install(TARGETS kio-fuse DESTINATION ${KDE_INSTALL_FULL_LIBEXECDIR})
|
||||||
|
install(FILES kio-fuse-tmpfiles.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/tmpfiles.d)
|
||||||
|
kdbusaddons_generate_dbus_service_file(kio-fuse org.kde.KIOFuse ${KDE_INSTALL_FULL_LIBEXECDIR})
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
3
kio-fuse-4.90.0.tar.xz
Normal file
3
kio-fuse-4.90.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c7ec3a56b10bfc0d2d5631623b8434e8bc4b24990525eafef41cea588144d71e
|
||||||
|
size 39064
|
16
kio-fuse-4.90.0.tar.xz.sig
Normal file
16
kio-fuse-4.90.0.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCAAdFiEEIew/110ms56CC+b70nwsGvIdi60FAl3+OD0ACgkQ0nwsGvId
|
||||||
|
i61dRQ//YUWZ8+CF5+dId1/NGbCW82X8Fq4vhte1vOB6UkLe8rJ0tymrBm/qLZsN
|
||||||
|
+EZXO3d5BE/XhtOJg76OQ9gPDgui9+kLufX1W8064uA5J36V3v5Hsb6dIjtbPG5p
|
||||||
|
eL/qtI59mQ8BGAidl/DUrWmpTvuNCq2/6knzmiqQ7CC/But47y9tc408zQZHVDog
|
||||||
|
/LWDgFY/eb/b6b68IYVYl8HCLznAt6We9eBCXgw/j+VnNx7mLka4Zfye7SrkOhI/
|
||||||
|
vOvTU5hCHFgu/wDcUQR/B43jUKj7mxyI3iM7BMhMA81lL3XG58ssDrdgmAEQbZ5k
|
||||||
|
an/Hrs3ZGWUeAr9MGe0r0Kezb/u9It0ZXR8l6xEEMJN7fdZKd0MHwBIKjIoCKvwM
|
||||||
|
QFSNcpwkEeeSU3FPw0z+6SvVwQijA+T3tTZTMfr/pfZdx8fAeUpMmwlCYgDUy1Fu
|
||||||
|
CGvDxpeBu0K/1ydIegQNaPLpdaBtJ9wJq/VbjzkiyFhLmpth2oZS7W8Jj01i8IJT
|
||||||
|
2yZTjyd0pzIKKqOQkqoUCztf5sRMSEPoJUfgWP9uatksvyuTiR++cIhkJeHdEtmP
|
||||||
|
dDvHjXvVedxY/chhP8a2SoUcHyY4zyvuGmwUotdvmg6liWNwmyZDxJViJb/hE1hq
|
||||||
|
ZmW9CrOBoclSYrPbL0/Xuapa8Z3VLLFxEIMKYU6PbvIWQpSjs9I=
|
||||||
|
=WJMQ
|
||||||
|
-----END PGP SIGNATURE-----
|
4
kio-fuse.changes
Normal file
4
kio-fuse.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 29 13:04:21 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
|
||||||
|
- Initial commit
|
BIN
kio-fuse.keyring
Normal file
BIN
kio-fuse.keyring
Normal file
Binary file not shown.
79
kio-fuse.spec
Normal file
79
kio-fuse.spec
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# spec file for package kio-fuse
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%bcond_without lang
|
||||||
|
Name: kio-fuse
|
||||||
|
Version: 4.90.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Access KIO over the regular filesystem
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Group: System/GUI/KDE
|
||||||
|
URL: https://www.kde.org
|
||||||
|
Source0: https://download.kde.org/unstable/%{name}/%{version}/%{name}-%{version}.tar.xz
|
||||||
|
%if %{with lang}
|
||||||
|
Source1: https://download.kde.org/unstable/%{name}/%{version}/%{name}-%{version}.tar.xz.sig
|
||||||
|
Source2: kio-fuse.keyring
|
||||||
|
%endif
|
||||||
|
# PATCH-FIX-UPSTREAM https://invent.kde.org/kde/kio-fuse/merge_requests/16
|
||||||
|
Patch1: 0001-Use-target_link_libraries-instead-of-target_link_opt.patch
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: cmake(KF5KIO)
|
||||||
|
BuildRequires: cmake(KF5DBusAddons)
|
||||||
|
BuildRequires: cmake(Qt5DBus)
|
||||||
|
BuildRequires: cmake(Qt5Test)
|
||||||
|
BuildRequires: pkgconfig(fuse3)
|
||||||
|
Requires: fuse3
|
||||||
|
# For %check
|
||||||
|
BuildRequires: kio-extras5
|
||||||
|
|
||||||
|
%description
|
||||||
|
kio-fuse is a daemon which makes KIO URLs accessible to KIO unaware
|
||||||
|
applications using FUSE.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf5 -d build -- -DBUILD_TESTING=ON
|
||||||
|
%make_jobs
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf5_makeinstall -C build
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%check
|
||||||
|
# The hack below only works with util-linux 3.34+.
|
||||||
|
# Without working umount, the tests can't work :-(
|
||||||
|
|
||||||
|
# Hack to make "fusermount3 -u" work in the OBS context
|
||||||
|
# (https://github.com/openSUSE/obs-build/issues/535)
|
||||||
|
echo -e '#!/bin/sh\numount $2' >> fusermount3
|
||||||
|
chmod a+x fusermount3
|
||||||
|
export PATH=$PWD:$PATH
|
||||||
|
|
||||||
|
export CTEST_OUTPUT_ON_FAILURE=1
|
||||||
|
make %{?_smp_mflags} -C build VERBOSE=1 test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING*
|
||||||
|
%{_kf5_libdir}/libexec/kio-fuse
|
||||||
|
%{_tmpfilesdir}/kio-fuse-tmpfiles.conf
|
||||||
|
%{_kf5_sharedir}/dbus-1/services/org.kde.KIOFuse.service
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user