2015-01-03 09:41:25 +00:00
|
|
|
Name: f2fs-tools
|
2016-10-08 23:06:58 +00:00
|
|
|
Version: 1.7.0
|
2017-02-10 09:32:39 +00:00
|
|
|
Release: 2%{?dist}
|
2012-10-25 05:17:20 +00:00
|
|
|
Summary: Tools for Flash-Friendly File System (F2FS)
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://sourceforge.net/projects/f2fs-tools/
|
2013-03-18 10:32:09 +00:00
|
|
|
Source0: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%{name}-%{version}.tar.gz
|
2015-01-03 09:41:25 +00:00
|
|
|
Patch0: f2fs-tools-1.4.0-bigendian.patch
|
2012-10-25 05:17:20 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2013-03-18 10:32:09 +00:00
|
|
|
BuildRequires: uuid-devel
|
|
|
|
BuildRequires: libuuid-devel
|
2014-01-22 03:12:48 +00:00
|
|
|
BuildRequires: libtool
|
2016-10-08 23:06:58 +00:00
|
|
|
BuildRequires: libselinux-devel
|
2012-10-25 05:17:20 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
2014-01-22 03:12:48 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
|
|
This package contains the libraries needed to develop applications
|
|
|
|
that use %{name}
|
|
|
|
|
2012-10-25 05:17:20 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2015-01-03 09:41:25 +00:00
|
|
|
%patch0 -p1 -b .bigendian
|
2014-01-22 03:12:48 +00:00
|
|
|
sed -i 's/AC_PROG_LIBTOOL/LT_INIT/' configure.ac
|
2012-10-25 05:17:20 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf --install
|
2014-01-22 03:12:48 +00:00
|
|
|
%configure \
|
|
|
|
--disable-static
|
2012-10-25 05:17:20 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2014-01-22 03:12:48 +00:00
|
|
|
make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" sbindir=%{_sbindir} install
|
2014-12-28 03:38:54 +00:00
|
|
|
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}
|
2014-01-22 03:12:48 +00:00
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
2012-10-25 05:17:20 +00:00
|
|
|
|
2014-01-22 03:12:48 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2012-10-25 05:17:20 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING AUTHORS ChangeLog
|
2014-01-22 03:12:48 +00:00
|
|
|
%{_sbindir}/mkfs.f2fs
|
|
|
|
%{_sbindir}/fibmap.f2fs
|
|
|
|
%{_sbindir}/fsck.f2fs
|
|
|
|
%{_sbindir}/dump.f2fs
|
2015-08-08 22:51:50 +00:00
|
|
|
%{_sbindir}/parse.f2fs
|
2016-10-08 23:06:58 +00:00
|
|
|
%{_sbindir}/defrag.f2fs
|
|
|
|
%{_sbindir}/resize.f2fs
|
|
|
|
%{_sbindir}/sload.f2fs
|
2014-12-25 07:21:57 +00:00
|
|
|
%{_sbindir}/f2fstat
|
2014-01-22 03:12:48 +00:00
|
|
|
%{_libdir}/*.so.*
|
2016-10-08 23:06:58 +00:00
|
|
|
%{_mandir}/man8/*.f2fs.8*
|
2012-10-25 05:17:20 +00:00
|
|
|
|
2014-01-22 03:12:48 +00:00
|
|
|
%files devel
|
2014-12-28 03:38:54 +00:00
|
|
|
%{_includedir}/*.h
|
2014-01-22 03:12:48 +00:00
|
|
|
%{_libdir}/*.so
|
2012-10-25 05:17:20 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-02-10 09:32:39 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-10-08 23:06:58 +00:00
|
|
|
* Sat Oct 08 2016 Eduardo Echeverria <echevemaster@gmail.com> - 1.7.0-1
|
|
|
|
- Bumped to 1.7.0
|
|
|
|
|
2016-02-03 20:12:18 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
2016-10-08 23:06:58 +00:00
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
2016-02-03 20:12:18 +00:00
|
|
|
|
2015-08-08 22:51:50 +00:00
|
|
|
* Sat Aug 8 2015 Eduardo Echeverria <echevemaster@gmail.com> - 1.4.1-1
|
|
|
|
- Updated to 1.4.1
|
|
|
|
|
2015-06-17 05:56:05 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
2015-08-08 22:51:50 +00:00
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
2015-06-17 05:56:05 +00:00
|
|
|
|
2015-01-03 09:41:25 +00:00
|
|
|
* Sat Jan 03 2015 Dan Horák <dan[at]danny.cz> - 1.4.0-3
|
|
|
|
- fix build on big endian arches
|
|
|
|
|
2014-12-28 03:38:54 +00:00
|
|
|
* Fri Dec 26 2014 Jonathan Dieter <jdieter@lesbg.com> - 1.4.0-2
|
|
|
|
- Add missing header to development package
|
|
|
|
|
2014-12-25 07:21:57 +00:00
|
|
|
* Thu Dec 25 2014 Eduardo Echeverria <echevemaster@gmail.com> - 1.4.0-1
|
|
|
|
- Update to the latest upstream version
|
|
|
|
|
2014-08-16 11:52:10 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 11:20:28 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-01-22 03:12:48 +00:00
|
|
|
* Sun Jan 19 2014 Eduardo Echeverria <echevemaster@gmail.com> - 1.2.0-1
|
|
|
|
- Update to the latest upstream version
|
|
|
|
|
2013-08-03 10:33:52 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-13 18:27:58 +00:00
|
|
|
* Thu Jun 13 2013 Eduardo Echeverria <echevemaster@gmail.com> - 1.1.0-2
|
2013-06-13 18:21:58 +00:00
|
|
|
- Minor fix in the changelogs
|
|
|
|
|
2013-03-18 10:32:09 +00:00
|
|
|
* Mon Mar 18 2013 Eduardo Echeverria <echevemaster@gmail.com> - 1.1.0-1
|
|
|
|
- Updated to the new upstream release
|
2013-02-13 21:20:11 +00:00
|
|
|
|
2013-06-13 18:21:58 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-10-25 05:17:20 +00:00
|
|
|
* Mon Oct 22 2012 Eduardo Echeverria <echevemaster@gmail.com> - 1.0.0-3
|
|
|
|
- Change to the correct license GPLv2+
|
|
|
|
- Remove README file to the section doc
|
|
|
|
|
|
|
|
* Mon Oct 15 2012 Eduardo Echeverria <echevemaster@gmail.com> - 1.0.0-2
|
|
|
|
- Add Changelog AUTHORS files to section doc
|
|
|
|
- Add wilcard to the manpages section.
|
|
|
|
|
|
|
|
* Sun Oct 07 2012 Eduardo Echeverria <echevemaster@gmail.com> - 1.0.0-1
|
|
|
|
- Initial packaging
|