2018-10-09 15:01:09 +02:00
|
|
|
#
|
2018-10-09 15:09:44 +02:00
|
|
|
# spec file for package fuse3
|
2018-10-09 15:01:09 +02:00
|
|
|
#
|
2023-01-13 22:24:25 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2018-10-09 15:01:09 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-06-13 19:22:33 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-10-09 15:01:09 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: fuse3
|
2023-02-17 11:21:39 +01:00
|
|
|
Version: 3.14.0
|
2018-10-09 15:01:09 +02:00
|
|
|
Release: 0
|
2018-12-06 13:51:54 +01:00
|
|
|
Summary: Reference implementation of the "Filesystem in Userspace"
|
2021-04-12 14:58:19 +02:00
|
|
|
License: BSD-2-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
2018-10-09 15:01:09 +02:00
|
|
|
Group: System/Filesystems
|
|
|
|
URL: https://github.com/libfuse/libfuse
|
2023-01-13 22:24:25 +01:00
|
|
|
Source: https://github.com/libfuse/libfuse/releases/download/fuse-%version/fuse-%version.tar.xz
|
|
|
|
Source1: https://github.com/libfuse/libfuse/releases/download/fuse-%version/fuse-%version.tar.xz.asc
|
2018-12-03 14:54:35 +01:00
|
|
|
Source2: fuse.keyring
|
|
|
|
Source1000: baselibs.conf
|
2019-07-16 12:52:00 +02:00
|
|
|
Patch1: conf-rename.patch
|
2018-10-09 15:01:09 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(udev)
|
|
|
|
Requires: util-linux >= 2.18
|
2019-07-16 12:52:00 +02:00
|
|
|
Requires(pre): group(trusted)
|
2020-11-20 11:21:53 +01:00
|
|
|
Requires(post): permissions
|
2018-10-09 15:01:09 +02:00
|
|
|
Supplements: filesystem(fuse)
|
|
|
|
|
|
|
|
%description
|
2020-11-20 11:21:53 +01:00
|
|
|
FUSE (Filesystem in Userspace) is an interface by the Linux kernel
|
|
|
|
for userspace programs to export a filesystem to the kernel.
|
2018-10-09 15:01:09 +02:00
|
|
|
|
2020-11-20 11:21:53 +01:00
|
|
|
This package contains helper programs for using FUSE mounts.
|
|
|
|
|
|
|
|
FUSE file systems are typically implemented as a standalone
|
|
|
|
applications in their own right and are packaged separately.
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%package -n libfuse3-3
|
|
|
|
Summary: Library of FUSE, the User space File System for GNU/Linux and BSD
|
|
|
|
Group: System/Filesystems
|
|
|
|
|
|
|
|
%description -n libfuse3-3
|
2020-11-20 11:21:53 +01:00
|
|
|
FUSE (Filesystem in Userspace) is an interface by the Linux kernel
|
|
|
|
for userspace programs to export a filesystem to the kernel.
|
2018-10-09 15:01:09 +02:00
|
|
|
|
2020-11-20 11:21:53 +01:00
|
|
|
A FUSE file system is typically implemented as a standalone
|
|
|
|
application that links with libfuse. libfuse provides a C API over
|
|
|
|
the raw kernel interface.
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%package doc
|
2018-12-06 13:51:54 +01:00
|
|
|
Summary: Documentation for the FUSE library version 3
|
|
|
|
Group: Documentation/HTML
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains the documentation for FUSE (userspace filesystem).
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for FUSE (userspace filesystem) modules
|
|
|
|
Group: Development/Languages/C and C++
|
2023-01-13 22:24:25 +01:00
|
|
|
Requires: fuse3 = %version
|
2018-10-09 15:01:09 +02:00
|
|
|
Requires: glibc-devel
|
2023-01-13 22:24:25 +01:00
|
|
|
Requires: libfuse3-3 = %version
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all include files, libraries and configuration
|
|
|
|
files needed to develop programs that use the fuse (FUSE) library to
|
2018-12-06 13:51:54 +01:00
|
|
|
implement file systems in user space.
|
2018-10-09 15:01:09 +02:00
|
|
|
|
2020-11-20 11:21:53 +01:00
|
|
|
With fuse-devel, users can compile and install other user space file
|
|
|
|
systems.
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%prep
|
2023-01-13 22:24:25 +01:00
|
|
|
%autosetup -p1 -n fuse-%version
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%build
|
2023-01-13 22:24:25 +01:00
|
|
|
%define _lto_cflags %nil
|
2019-07-16 12:52:00 +02:00
|
|
|
%meson -Duseroot=false
|
2018-10-09 15:01:09 +02:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
2023-01-13 22:24:25 +01:00
|
|
|
find "%buildroot" -type f -name "*.la" -delete -print
|
2018-10-09 15:01:09 +02:00
|
|
|
|
2019-07-16 12:52:00 +02:00
|
|
|
# Remove unneeded stuff
|
2023-01-13 22:24:25 +01:00
|
|
|
rm -rfv %buildroot/%_prefix/lib/udev %buildroot/%_initddir
|
2019-07-16 12:52:00 +02:00
|
|
|
%fdupes -s doc
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%post
|
2023-01-13 22:24:25 +01:00
|
|
|
%set_permissions %_bindir/fusermount3
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%verifyscript
|
2023-01-13 22:24:25 +01:00
|
|
|
%verify_permissions -e %_bindir/fusermount3
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%post -n libfuse3-3 -p /sbin/ldconfig
|
|
|
|
%postun -n libfuse3-3 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2018-11-26 14:26:09 +01:00
|
|
|
%license LICENSE GPL2.txt LGPL2.txt
|
2018-10-09 15:01:09 +02:00
|
|
|
%doc AUTHORS ChangeLog.rst
|
2023-01-13 22:24:25 +01:00
|
|
|
%verify(not mode) %attr(4750,root,trusted) %_bindir/fusermount3
|
|
|
|
%_sbindir/mount.fuse3
|
|
|
|
%config %_sysconfdir/fuse3.conf
|
|
|
|
%_mandir/man1/*
|
|
|
|
%_mandir/man8/*
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%files -n libfuse3-3
|
2023-01-13 22:24:25 +01:00
|
|
|
%_libdir/libfuse3.so.3*
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc example doc
|
|
|
|
|
|
|
|
%files devel
|
2023-01-13 22:24:25 +01:00
|
|
|
%_libdir/libfuse3.so
|
|
|
|
%_includedir/fuse3/*.h
|
|
|
|
%_includedir/fuse3
|
|
|
|
%_libdir/pkgconfig/*.pc
|
2018-10-09 15:01:09 +02:00
|
|
|
|
|
|
|
%changelog
|