|
|
e885021 |
Name: f2fs-tools
|
|
|
aa3a58b |
Version: 1.4.0
|
|
|
e885021 |
Release: 3%{?dist}
|
|
|
70b4592 |
Summary: Tools for Flash-Friendly File System (F2FS)
|
|
|
70b4592 |
License: GPLv2+
|
|
|
70b4592 |
URL: http://sourceforge.net/projects/f2fs-tools/
|
|
|
8acac0c |
Source0: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%{name}-%{version}.tar.gz
|
|
|
e885021 |
Patch0: f2fs-tools-1.4.0-bigendian.patch
|
|
|
70b4592 |
BuildRequires: autoconf
|
|
|
70b4592 |
BuildRequires: automake
|
|
|
8acac0c |
BuildRequires: uuid-devel
|
|
|
8acac0c |
BuildRequires: libuuid-devel
|
|
|
66380e2 |
BuildRequires: libtool
|
|
|
70b4592 |
|
|
|
70b4592 |
%description
|
|
|
70b4592 |
NAND flash memory-based storage devices, such as SSD, and SD cards,
|
|
|
70b4592 |
have been widely being used for ranging from mobile to server systems.
|
|
|
70b4592 |
Since they are known to have different characteristics from the
|
|
|
70b4592 |
conventional rotational disks,a file system, an upper layer to
|
|
|
70b4592 |
the storage device, should adapt to the changes
|
|
|
70b4592 |
from the sketch.
|
|
|
70b4592 |
|
|
|
70b4592 |
F2FS is a new file system carefully designed for the
|
|
|
70b4592 |
NAND flash memory-based storage devices.
|
|
|
70b4592 |
We chose a log structure file system approach,
|
|
|
70b4592 |
but we tried to adapt it to the new form of storage.
|
|
|
70b4592 |
Also we remedy some known issues of the very old log
|
|
|
70b4592 |
structured file system, such as snowball effect
|
|
|
70b4592 |
of wandering tree and high cleaning overhead.
|
|
|
70b4592 |
|
|
|
70b4592 |
Because a NAND-based storage device shows different characteristics
|
|
|
70b4592 |
according to its internal geometry or flash memory management
|
|
|
70b4592 |
scheme aka FTL, we add various parameters not only for configuring
|
|
|
70b4592 |
on-disk layout, but also for selecting allocation
|
|
|
70b4592 |
and cleaning algorithms.
|
|
|
70b4592 |
|
|
|
66380e2 |
%package devel
|
|
|
66380e2 |
Summary: Development files for %{name}
|
|
|
66380e2 |
Group: Development/Libraries
|
|
|
66380e2 |
Requires: %{name}%{?isa} = %{version}-%{release}
|
|
|
66380e2 |
%description devel
|
|
|
66380e2 |
This package contains the libraries needed to develop applications
|
|
|
66380e2 |
that use %{name}
|
|
|
66380e2 |
|
|
|
70b4592 |
%prep
|
|
|
70b4592 |
%setup -q
|
|
|
e885021 |
%patch0 -p1 -b .bigendian
|
|
|
66380e2 |
sed -i 's/AC_PROG_LIBTOOL/LT_INIT/' configure.ac
|
|
|
70b4592 |
|
|
|
70b4592 |
%build
|
|
|
70b4592 |
autoreconf --install
|
|
|
66380e2 |
%configure \
|
|
|
66380e2 |
--disable-static
|
|
|
70b4592 |
make %{?_smp_mflags}
|
|
|
70b4592 |
|
|
|
70b4592 |
|
|
|
70b4592 |
%install
|
|
|
66380e2 |
make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" sbindir=%{_sbindir} install
|
|
|
2e81914 |
mkdir -m 755 -p %{buildroot}%{_includedir}
|
|
|
2e81914 |
install -m 644 include/f2fs_fs.h %{buildroot}%{_includedir}
|
|
|
2e81914 |
install -m 644 mkfs/f2fs_format_utils.h %{buildroot}%{_includedir}
|
|
|
66380e2 |
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
70b4592 |
|
|
|
66380e2 |
%post -p /sbin/ldconfig
|
|
|
66380e2 |
%postun -p /sbin/ldconfig
|
|
|
70b4592 |
|
|
|
70b4592 |
%files
|
|
|
70b4592 |
%doc COPYING AUTHORS ChangeLog
|
|
|
66380e2 |
%{_sbindir}/mkfs.f2fs
|
|
|
66380e2 |
%{_sbindir}/fibmap.f2fs
|
|
|
66380e2 |
%{_sbindir}/fsck.f2fs
|
|
|
66380e2 |
%{_sbindir}/dump.f2fs
|
|
|
aa3a58b |
%{_sbindir}/f2fstat
|
|
|
66380e2 |
%{_libdir}/*.so.*
|
|
|
70b4592 |
%{_mandir}/man8/mkfs.f2fs.8*
|
|
|
70b4592 |
|
|
|
66380e2 |
%files devel
|
|
|
2e81914 |
%{_includedir}/*.h
|
|
|
66380e2 |
%{_libdir}/*.so
|
|
|
70b4592 |
|
|
|
70b4592 |
%changelog
|
|
|
e885021 |
* Sat Jan 03 2015 Dan HorĂ¡k <dan[at]danny.cz> - 1.4.0-3
|
|
|
e885021 |
- fix build on big endian arches
|
|
|
e885021 |
|
|
|
2e81914 |
* Fri Dec 26 2014 Jonathan Dieter <jdieter@lesbg.com> - 1.4.0-2
|
|
|
2e81914 |
- Add missing header to development package
|
|
|
2e81914 |
|
|
|
aa3a58b |
* Thu Dec 25 2014 Eduardo Echeverria <echevemaster@gmail.com> - 1.4.0-1
|
|
|
aa3a58b |
- Update to the latest upstream version
|
|
|
aa3a58b |
|
|
|
016270f |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
|
|
|
016270f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
016270f |
|
|
|
829c7df |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
829c7df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
829c7df |
|
|
|
66380e2 |
* Sun Jan 19 2014 Eduardo Echeverria <echevemaster@gmail.com> - 1.2.0-1
|
|
|
66380e2 |
- Update to the latest upstream version
|
|
|
66380e2 |
|
|
|
18f7bb2 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
18f7bb2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
18f7bb2 |
|
|
|
38f51ca |
* Thu Jun 13 2013 Eduardo Echeverria <echevemaster@gmail.com> - 1.1.0-2
|
|
|
846773f |
- Minor fix in the changelogs
|
|
|
846773f |
|
|
|
8acac0c |
* Mon Mar 18 2013 Eduardo Echeverria <echevemaster@gmail.com> - 1.1.0-1
|
|
|
8acac0c |
- Updated to the new upstream release
|
|
|
25e3c04 |
|
|
|
846773f |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
|
|
|
846773f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
846773f |
|
|
|
70b4592 |
* Mon Oct 22 2012 Eduardo Echeverria <echevemaster@gmail.com> - 1.0.0-3
|
|
|
70b4592 |
- Change to the correct license GPLv2+
|
|
|
70b4592 |
- Remove README file to the section doc
|
|
|
70b4592 |
|
|
|
70b4592 |
* Mon Oct 15 2012 Eduardo Echeverria <echevemaster@gmail.com> - 1.0.0-2
|
|
|
70b4592 |
- Add Changelog AUTHORS files to section doc
|
|
|
70b4592 |
- Add wilcard to the manpages section.
|
|
|
70b4592 |
|
|
|
70b4592 |
* Sun Oct 07 2012 Eduardo Echeverria <echevemaster@gmail.com> - 1.0.0-1
|
|
|
70b4592 |
- Initial packaging
|