2023-06-01 10:11:07 +02:00
|
|
|
#
|
|
|
|
# spec file for package bcachefs-tools
|
|
|
|
#
|
2024-01-09 11:38:58 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2023-06-01 10:11:07 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: bcachefs-tools
|
2024-01-19 11:13:57 +01:00
|
|
|
Version: 1.4.1
|
2023-06-01 10:11:07 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Configuration utilities for bcachefs
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: System/Filesystems
|
|
|
|
URL: https://bcachefs.org/
|
|
|
|
Source: %name-%version.tar.xz
|
2024-01-19 11:24:39 +01:00
|
|
|
BuildRequires: libaio-devel >= 0.3.111
|
2023-06-01 10:11:07 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: pkgconfig(blkid)
|
|
|
|
BuildRequires: pkgconfig(libkeyutils)
|
|
|
|
BuildRequires: pkgconfig(liblz4)
|
|
|
|
BuildRequires: pkgconfig(libsodium)
|
|
|
|
BuildRequires: pkgconfig(libudev)
|
|
|
|
BuildRequires: pkgconfig(liburcu)
|
|
|
|
BuildRequires: pkgconfig(libzstd)
|
2024-01-09 11:38:58 +01:00
|
|
|
BuildRequires: pkgconfig(udev)
|
2023-06-01 10:11:07 +02:00
|
|
|
BuildRequires: pkgconfig(uuid)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Bcachefs is a filesystem for Linux, with an emphasis on reliability
|
|
|
|
and robustness.
|
|
|
|
|
2024-01-19 11:13:57 +01:00
|
|
|
* Copy on write (COW) like zfs or btrfs
|
2023-06-01 10:11:07 +02:00
|
|
|
* Full data and metadata checksumming
|
|
|
|
* Multiple devices
|
|
|
|
* Replication
|
|
|
|
* Erasure coding
|
|
|
|
* Caching
|
|
|
|
* Compression
|
|
|
|
* Encryption
|
|
|
|
* Snapshots
|
|
|
|
|
|
|
|
This package contains utilities for creating and mounting bcachefs.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
2024-01-27 10:51:02 +01:00
|
|
|
%make_build PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir" \
|
|
|
|
EXTRA_CFLAGS="%optflags" NO_RUST=1
|
2023-06-01 10:11:07 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir" NO_RUST=1
|
|
|
|
# this ain't no debian
|
2023-12-06 17:45:26 +01:00
|
|
|
rm -Rf "%buildroot/etc/initramfs-tools" "%buildroot/%_datadir/initramfs-tools"
|
2023-06-01 10:11:07 +02:00
|
|
|
|
2024-01-09 11:38:58 +01:00
|
|
|
%pre
|
|
|
|
%service_add_pre bcachefsck_all.service bcachefsck_all_fail.service
|
|
|
|
|
|
|
|
%post
|
|
|
|
%service_add_post bcachefsck_all.service bcachefsck_all_fail.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%service_del_preun bcachefsck_all.service bcachefsck_all_fail.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%service_del_postun bcachefsck_all.service bcachefsck_all_fail.service
|
|
|
|
|
2023-06-01 10:11:07 +02:00
|
|
|
%files
|
|
|
|
%_sbindir/*bcache*
|
2024-01-09 11:38:58 +01:00
|
|
|
%_unitdir/bcachefsck*
|
|
|
|
%_unitdir/system-bcachefsck*
|
|
|
|
%_libexecdir/bcachefsck*
|
|
|
|
%_udevrulesdir/64-bcachefs.rules
|
2023-06-01 10:11:07 +02:00
|
|
|
%_mandir/man8/*.8*
|
2023-06-01 12:03:24 +02:00
|
|
|
%license COPYING
|
2024-01-19 11:13:57 +01:00
|
|
|
%doc doc/bcachefs-principles-of-operation.tex
|
2023-06-01 10:11:07 +02:00
|
|
|
|
|
|
|
%changelog
|