Search
SailfishOS Open Build Service
>
Projects
>
home:abranson
:
sailfishapps
>
f2fs-tools
> _service:tar_git:f2fs-tools.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:f2fs-tools.spec of Package f2fs-tools
Name: f2fs-tools Version: 1.13.0+master.20200119112129.5cfe173 Release: 1 Summary: Tools for the Flash-friendly Filesystem (F2FS) License: LGPLv2.1 URL: https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git Source: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%name-%version.tar.xz Patch1: 001-f2fs-tools-1.4.0-bigendian.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(blkid) %description Utilities needed to create and maintain so-called Flash-Friendly (F2) filesystems. NAND flash memory-based storage devices, such as SSD, and SD cards, have been widely being used for ranging from mobile to server systems. Since they are known to have different characteristics from the conventional rotational disks,a file system, an upper layer to the storage device, should adapt to the changes from the sketch. F2FS is a new file system carefully designed for the NAND flash memory-based storage devices. We chose a log structure file system approach, but we tried to adapt it to the new form of storage. Also we remedy some known issues of the very old log structured file system, such as snowball effect of wandering tree and high cleaning overhead. Because a NAND-based storage device shows different characteristics according to its internal geometry or flash memory management scheme aka FTL, we add various parameters not only for configuring on-disk layout, but also for selecting allocation and cleaning algorithms. %package devel Summary: Development files for f2fs Requires: %{name} = %{version} %description devel This package contains development files for %name. %prep %setup -q -n %{name}-%{version}/upstream %patch1 -p1 %build autoreconf -fiv %configure --disable-static make %{?_smp_mflags} %install rm -rf %{buildroot} %make_install mkdir -m 755 -p %{buildroot}%{_includedir} install -m 644 include/f2fs_fs.h %{buildroot}%{_includedir} install -m 644 mkfs/f2fs_format_utils.h %{buildroot}%{_includedir} rm -rf %{buildroot}%{_mandir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING AUTHORS %{_sbindir}/*.f2fs %{_sbindir}/f2fstat %{_sbindir}/f2fs_io %{_sbindir}/f2fscrypt %{_sbindir}/sg_write_buffer %{_libdir}/*.so.* %files devel %defattr(-,root,root) %_includedir/*.h %_libdir/libf2fs*.so