2018-12-06 13:46:50 +01:00
|
|
|
#
|
|
|
|
# spec file for package erofs-utils
|
|
|
|
#
|
2023-04-19 22:49:52 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2018-12-06 13:46:50 +01: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-03-14 20:31:52 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-12-06 13:46:50 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: erofs-utils
|
2023-10-11 15:05:26 +02:00
|
|
|
Version: 1.7
|
2018-12-06 13:46:50 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Utilities for the Extendable Read-Only Filesystem (EROFS)
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: System/Filesystems
|
2019-08-23 06:54:14 +02:00
|
|
|
URL: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/
|
2023-10-11 15:05:26 +02:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2018-12-06 13:46:50 +01:00
|
|
|
BuildRequires: autoconf >= 2.69
|
|
|
|
BuildRequires: automake
|
2023-10-11 15:05:26 +02:00
|
|
|
BuildRequires: liblz4-devel >= 1.9
|
2018-12-06 13:46:50 +01:00
|
|
|
BuildRequires: libtool
|
2023-10-11 15:05:26 +02:00
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: pkgconfig
|
2018-12-06 13:46:50 +01:00
|
|
|
BuildRequires: xz
|
2023-10-11 15:05:26 +02:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2018-12-06 13:46:50 +01:00
|
|
|
Supplements: filesystem(erofs)
|
|
|
|
|
|
|
|
%description
|
|
|
|
mkfs.erofs is a user-space tool to create erofs filesystem images. It
|
|
|
|
can create two main types of erofs images, compressed and
|
|
|
|
uncompressed:
|
|
|
|
|
|
|
|
* For compressed images, it is able to integrate several compression
|
|
|
|
algorithms, LZ4 is supported according to the current erofs kernel
|
|
|
|
implementation.
|
|
|
|
* For uncompressed images, it can decide whether the last page of a
|
|
|
|
file should be inlined or not properly.
|
|
|
|
|
|
|
|
%prep
|
2019-08-23 06:54:14 +02:00
|
|
|
%autosetup -p1
|
2018-12-06 13:46:50 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fiv
|
2023-10-11 15:05:26 +02:00
|
|
|
%configure --bindir="%{_sbindir}"
|
2021-12-19 13:16:17 +01:00
|
|
|
%make_build
|
2018-12-06 13:46:50 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
2023-10-11 15:05:26 +02:00
|
|
|
%{_sbindir}/*erofs
|
|
|
|
%{_mandir}/man1/*erofs*
|
2018-12-06 13:46:50 +01:00
|
|
|
|
|
|
|
%changelog
|