forked from libfuse/libfuse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfused.spec
55 lines (42 loc) · 1.48 KB
/
fused.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Name: fused
Version: 1.0.0
Release: 3%{?relval}%{?dist}
Summary: DAOS File System in Userspace Library
License: LGPLv2+
URL: https://github.com/daos-stack/fused
Source0: https://github.com/daos-stack/%{name}/releases/download/%{shortcommit0}/%{name}-%{version}.tar.gz
Requires: which
Conflicts: filesystem < 3
BuildRequires: libselinux-devel
BuildRequires: meson, gcc-c++, gcc
%description
This package builds on FUSE but implements a completely custom file
system intended for use with the DAOS file system.
%package devel
Summary: DAOS file system development files
Group: System Environment/Libraries
License: LGPLv2+
Conflicts: filesystem < 3
%global debug_package %{nil}
%description devel
Static library, pkgconfig, and headers for DAOS FUSE library
%prep
%autosetup
%build
%meson --strip -Ddisable-mtab=True -Dutils=False --default-library static
%meson_build
%install
export MESON_INSTALL_DESTDIR_PREFIX=%{buildroot}/usr %meson_install
find %{buildroot} .
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
%files devel
%{_libdir}/libfused.a
%{_includedir}/fused/
%{_libdir}/pkgconfig
%changelog
* Sun Jan 12 2025 Jeff Olivier <[email protected]> - 1.0.0-3.0
- Remove dependence on fused
* Sat Jan 11 2025 Jeff Olivier <[email protected]> - 1.0.0-2.0
- Only build static lib
* Mon Feb 12 2024 Jeff Olivier <[email protected]> - 1.0.0-1.0
- Initial packaging for fused, a DAOS file system adaptation of libfused