From 7a94b7e3baf20b154333320da15b2682f5553e78efddca1ea6e8fba595d72508 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 1 Jun 2023 08:11:07 +0000 Subject: [PATCH] Accepting request 1089752 from home:jengelh:dev switch to v24.0 base OBS-URL: https://build.opensuse.org/request/show/1089752 OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + _service | 14 ++++++++ bcachefs-tools-24.tar.xz | 3 ++ bcachefs-tools.changes | 4 +++ bcachefs-tools.spec | 78 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 123 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 bcachefs-tools-24.tar.xz create mode 100644 bcachefs-tools.changes create mode 100644 bcachefs-tools.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..739cbe0 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git + https://evilpiepirate.org/git/bcachefs-tools.git + v24 + 24 + v?(.*) + + + *.tar + xz + + + diff --git a/bcachefs-tools-24.tar.xz b/bcachefs-tools-24.tar.xz new file mode 100644 index 0000000..52fec19 --- /dev/null +++ b/bcachefs-tools-24.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5a1e71631020d36c905942c67f5dcd19ceb93a1caf7c3c377b879d4c0991670 +size 670824 diff --git a/bcachefs-tools.changes b/bcachefs-tools.changes new file mode 100644 index 0000000..e29254b --- /dev/null +++ b/bcachefs-tools.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue May 30 08:19:24 UTC 2023 - Jan Engelhardt + +- Initial package (version 24) for build.opensuse.org diff --git a/bcachefs-tools.spec b/bcachefs-tools.spec new file mode 100644 index 0000000..12b08c5 --- /dev/null +++ b/bcachefs-tools.spec @@ -0,0 +1,78 @@ +# +# spec file for package bcachefs-tools +# +# Copyright (c) 2023 SUSE LLC +# +# 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 +Version: 24 +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 +BuildRequires: libaio-devel +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) +BuildRequires: pkgconfig(uuid) +BuildRequires: pkgconfig(zlib) + +%description +Bcachefs is a filesystem for Linux, with an emphasis on reliability +and robustness. + +* Copy on write (COW) - like zfs or btrfs +* 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 +%make_build NO_RUST=1 EXTRA_CFLAGS="%optflags" + +%install +b="%buildroot" +%make_install PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir" NO_RUST=1 +if [ "%_lib" != lib ]; then + mkdir -p "$b/%_libdir" + mv "$b/usr/lib/"*.so "$b/%_libdir/" +fi +# this ain't no debian +rm -Rf "$b/etc/initramfs-tools" "$b/%_datadir/initramfs-tools" + +%files +%_sbindir/*bcache* +%_mandir/man8/*.8* +%_libdir/libbcachefs.so + +%changelog