|
|
5a9041 |
Name: fuse3
|
|
|
5a9041 |
Version: 3.6.1
|
|
|
5a9041 |
Release: 4%{?dist}
|
|
|
5a9041 |
Summary: File System in Userspace (FUSE) v3 utilities
|
|
|
5a9041 |
License: GPL+
|
|
|
5a9041 |
URL: http://fuse.sf.net
|
|
|
5a9041 |
Source0: https://github.com/libfuse/libfuse/archive/fuse-%{version}.tar.gz
|
|
|
5a9041 |
Source1: fuse.conf
|
|
|
5a9041 |
|
|
|
5a9041 |
# https://github.com/libfuse/libfuse/pull/421.patch
|
|
|
5a9041 |
Patch1: fuse3-0001-no-chown-root.patch
|
|
|
5a9041 |
|
|
|
5a9041 |
BuildRequires: which
|
|
|
5a9041 |
Conflicts: filesystem < 3
|
|
|
5a9041 |
BuildRequires: libselinux-devel
|
|
|
5a9041 |
BuildRequires: meson, ninja-build, gcc, gcc-c++
|
|
|
5a9041 |
Requires: %{_sysconfdir}/fuse.conf
|
|
|
5a9041 |
# fuse-common 3.4.2-3 had the fuse & fuse3 man pages in it
|
|
|
5a9041 |
Conflicts: fuse-common < 3.4.2-4
|
|
|
5a9041 |
|
|
|
5a9041 |
%description
|
|
|
5a9041 |
With FUSE it is possible to implement a fully functional filesystem in a
|
|
|
5a9041 |
userspace program. This package contains the FUSE v3 userspace tools to
|
|
|
5a9041 |
mount a FUSE filesystem.
|
|
|
5a9041 |
|
|
|
5a9041 |
%package libs
|
|
|
5a9041 |
Summary: File System in Userspace (FUSE) v3 libraries
|
|
|
5a9041 |
License: LGPLv2+
|
|
|
5a9041 |
Conflicts: filesystem < 3
|
|
|
5a9041 |
|
|
|
5a9041 |
%description libs
|
|
|
5a9041 |
Devel With FUSE it is possible to implement a fully functional filesystem in a
|
|
|
5a9041 |
userspace program. This package contains the FUSE v3 libraries.
|
|
|
5a9041 |
|
|
|
5a9041 |
%package devel
|
|
|
5a9041 |
Summary: File System in Userspace (FUSE) v3 devel files
|
|
|
5a9041 |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
5a9041 |
Requires: pkgconfig
|
|
|
5a9041 |
License: LGPLv2+
|
|
|
5a9041 |
Conflicts: filesystem < 3
|
|
|
5a9041 |
|
|
|
5a9041 |
%description devel
|
|
|
5a9041 |
With FUSE it is possible to implement a fully functional filesystem in a
|
|
|
5a9041 |
userspace program. This package contains development files (headers,
|
|
|
5a9041 |
pgk-config) to develop FUSE v3 based applications/filesystems.
|
|
|
5a9041 |
|
|
|
5a9041 |
%prep
|
|
|
5a9041 |
%setup -q -n libfuse-fuse-%{version}
|
|
|
5a9041 |
|
|
|
5a9041 |
%patch1 -p1 -b .no_chown_root
|
|
|
5a9041 |
|
|
|
5a9041 |
%build
|
|
|
5a9041 |
export LC_ALL=en_US.UTF-8
|
|
|
5a9041 |
%if ! 0%{?_vpath_srcdir:1}
|
|
|
5a9041 |
%global _vpath_srcdir .
|
|
|
5a9041 |
%endif
|
|
|
5a9041 |
%if ! 0%{?_vpath_builddir:1}
|
|
|
5a9041 |
%global _vpath_builddir build
|
|
|
5a9041 |
%endif
|
|
|
5a9041 |
%meson
|
|
|
5a9041 |
|
|
|
5a9041 |
(cd %{_vpath_builddir}
|
|
|
5a9041 |
meson configure -D examples=false
|
|
|
5a9041 |
# don't have root for installation
|
|
|
5a9041 |
meson configure -D useroot=false
|
|
|
5a9041 |
ninja-build reconfigure
|
|
|
5a9041 |
)
|
|
|
5a9041 |
%meson_build
|
|
|
5a9041 |
|
|
|
5a9041 |
%install
|
|
|
5a9041 |
export MESON_INSTALL_DESTDIR_PREFIX=%{buildroot}/usr %meson_install
|
|
|
5a9041 |
find %{buildroot} .
|
|
|
5a9041 |
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
|
|
5a9041 |
# change from 4755 to 0755 to allow stripping -- fixed later in files
|
|
|
5a9041 |
chmod 0755 %{buildroot}/%{_bindir}/fusermount3
|
|
|
5a9041 |
|
|
|
5a9041 |
# Get rid of static libs
|
|
|
5a9041 |
rm -f %{buildroot}/%{_libdir}/*.a
|
|
|
5a9041 |
# No need to create init-script
|
|
|
5a9041 |
rm -f %{buildroot}%{_sysconfdir}/init.d/fuse3
|
|
|
5a9041 |
|
|
|
5a9041 |
# This is in the fuse package on el7 and there's no default on el6
|
|
|
5a9041 |
rm -f %{buildroot}%{_sysconfdir}/fuse.conf
|
|
|
5a9041 |
|
|
|
5a9041 |
# Delete pointless udev rules, which do not belong in /usr/lib (brc#748204)
|
|
|
5a9041 |
rm -f %{buildroot}/usr/lib/udev/rules.d/99-fuse3.rules
|
|
|
5a9041 |
|
|
|
5a9041 |
%post -p /sbin/ldconfig libs
|
|
|
5a9041 |
%postun -p /sbin/ldconfig libs
|
|
|
5a9041 |
|
|
|
5a9041 |
%{!?_licensedir:%global license %%doc}
|
|
|
5a9041 |
|
|
|
5a9041 |
%files
|
|
|
5a9041 |
%license LICENSE GPL2.txt
|
|
|
5a9041 |
%doc AUTHORS ChangeLog.rst README.md
|
|
|
5a9041 |
%{_sbindir}/mount.fuse3
|
|
|
5a9041 |
%attr(4755,root,root) %{_bindir}/fusermount3
|
|
|
5a9041 |
%{_mandir}/man1/*
|
|
|
5a9041 |
%{_mandir}/man8/*
|
|
|
5a9041 |
|
|
|
5a9041 |
%files libs
|
|
|
5a9041 |
%license LGPL2.txt
|
|
|
5a9041 |
%{_libdir}/libfuse3.so.*
|
|
|
5a9041 |
|
|
|
5a9041 |
%files devel
|
|
|
5a9041 |
%{_libdir}/libfuse3.so
|
|
|
5a9041 |
%{_libdir}/pkgconfig/fuse3.pc
|
|
|
5a9041 |
%{_includedir}/fuse3/
|
|
|
5a9041 |
|
|
|
5a9041 |
%changelog
|
|
|
5a9041 |
* Fri Oct 11 2019 Jindrich Novy <jnovy@redhat.com> - 3.6.1-4
|
|
|
5a9041 |
- remove RHEL6 and RHEL8+ specific stuff
|
|
|
5a9041 |
- make setup quiet
|
|
|
5a9041 |
|
|
|
5a9041 |
* Wed Jul 03 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.6.1-3
|
|
|
5a9041 |
- Update to the final version of pr #421
|
|
|
5a9041 |
|
|
|
5a9041 |
* Wed Jul 03 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.6.1-2
|
|
|
5a9041 |
- Update to newer version of pr #421
|
|
|
5a9041 |
- Disable building examples on el7
|
|
|
5a9041 |
|
|
|
5a9041 |
* Thu Jun 13 2019 Tom Callaway <spot@fedoraproject.org> - 3.6.1-1
|
|
|
5a9041 |
- Update to 3.6.1
|
|
|
5a9041 |
|
|
|
5a9041 |
* Fri May 24 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.5.0-1
|
|
|
5a9041 |
- Upgrade to upstream 3.5.0
|
|
|
5a9041 |
|
|
|
5a9041 |
* Sat May 04 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-7
|
|
|
5a9041 |
- Fix building on el6
|
|
|
5a9041 |
|
|
|
5a9041 |
* Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-6
|
|
|
5a9041 |
- Need Conflicts: fuse-common < 3.4.2-4, because <= 3.4.2-3 isn't quite
|
|
|
5a9041 |
enough.
|
|
|
5a9041 |
|
|
|
5a9041 |
* Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-5
|
|
|
5a9041 |
- Update the Conflicts: fuse-common <= version to 3.4.2-3
|
|
|
5a9041 |
|
|
|
5a9041 |
* Wed May 01 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-4
|
|
|
5a9041 |
- Bump release number in order to larger than a rebuild of fuse package
|
|
|
5a9041 |
done before separation pull request was merged.
|
|
|
5a9041 |
|
|
|
5a9041 |
* Mon Apr 08 2019 Dave Dykstra <dwd@fedoraproject.org> - 3.4.2-3
|
|
|
5a9041 |
- Separate out from fuse package
|