]>
Commit | Line | Data |
---|---|---|
ec36ce57 | 1 | Summary: Utilities for managing the f2fs filesystem |
fa5c0ab5 | 2 | Summary(pl.UTF-8): Narzędzia do systemu plików f2fs |
ec36ce57 | 3 | Name: f2fs-tools |
58bab8ae | 4 | Version: 1.7.0 |
ec36ce57 | 5 | Release: 1 |
6 | License: GPL v2 | |
7 | Group: Applications/System | |
8 | Source0: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%{name}-%{version}.tar.gz | |
58bab8ae | 9 | # Source0-md5: 9db22274264f0c88dbee012f257917b1 |
ec36ce57 | 10 | URL: http://f2fs-tools.sourceforge.net/ |
fa5c0ab5 | 11 | BuildRequires: autoconf >= 2.68 |
ec36ce57 | 12 | BuildRequires: automake |
8869e485 | 13 | BuildRequires: libtool |
ec36ce57 | 14 | BuildRequires: libuuid-devel |
8869e485 | 15 | BuildRequires: pkgconfig |
ec36ce57 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
58bab8ae ER |
19 | NAND flash memory-based storage devices, such as SSD, and SD cards, |
20 | have been widely being used for ranging from mobile to server systems. | |
21 | Since they are known to have different characteristics from the | |
22 | conventional rotational disks,a file system, an upper layer to the | |
23 | storage device, should adapt to the changes from the sketch. | |
24 | ||
25 | F2FS is a new file system carefully designed for the NAND flash | |
26 | memory-based storage devices. We chose a log structure file system | |
27 | approach, but we tried to adapt it to the new form of storage. Also we | |
28 | remedy some known issues of the very old log structured file system, | |
29 | such as snowball effect of wandering tree and high cleaning overhead. | |
30 | ||
31 | Because a NAND-based storage device shows different characteristics | |
32 | according to its internal geometry or flash memory management scheme | |
33 | aka FTL, we add various parameters not only for configuring on-disk | |
34 | layout, but also for selecting allocation and cleaning algorithms. | |
ec36ce57 | 35 | |
36 | %description -l pl.UTF-8 | |
fa5c0ab5 | 37 | Pakiet ten zawiera narzędzia do tworzenia systemów plików f2fs. |
ec36ce57 | 38 | |
58bab8ae ER |
39 | %package devel |
40 | Summary: Development files for %{name} | |
41 | Group: Development/Libraries | |
42 | Requires: %{name} = %{version}-%{release} | |
43 | ||
44 | %description devel | |
45 | This package contains the libraries needed to develop applications | |
46 | that use f2fs-tools | |
47 | ||
ec36ce57 | 48 | %prep |
49 | %setup -q | |
50 | ||
51 | %build | |
8869e485 | 52 | %{__libtoolize} |
fa5c0ab5 JB |
53 | %{__aclocal} -I m4 |
54 | %{__autoconf} | |
8869e485 | 55 | %{__autoheader} |
fa5c0ab5 | 56 | %{__automake} |
0f84b2ad JB |
57 | %configure \ |
58 | --disable-static | |
ec36ce57 | 59 | %{__make} |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | %{__make} install \ | |
58bab8ae ER |
64 | INSTALL="install -p" \ |
65 | CP="cp -p" \ | |
ec36ce57 | 66 | DESTDIR=$RPM_BUILD_ROOT |
67 | ||
58bab8ae ER |
68 | install -d $RPM_BUILD_ROOT%{_includedir} |
69 | cp -p include/f2fs_fs.h $RPM_BUILD_ROOT%{_includedir} | |
70 | cp -p mkfs/f2fs_format_utils.h $RPM_BUILD_ROOT%{_includedir} | |
0f84b2ad | 71 | |
ec36ce57 | 72 | %clean |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
8869e485 WF |
75 | %post -p /sbin/ldconfig |
76 | %postun -p /sbin/ldconfig | |
77 | ||
ec36ce57 | 78 | %files |
79 | %defattr(644,root,root,755) | |
80 | %doc AUTHORS ChangeLog README | |
58bab8ae ER |
81 | %attr(755,root,root) %{_libdir}/libf2fs.so.*.*.* |
82 | %attr(755,root,root) %ghost %{_libdir}/libf2fs.so.1 | |
83 | %attr(755,root,root) %{_libdir}/libf2fs_format.so.*.*.* | |
84 | %attr(755,root,root) %ghost %{_libdir}/libf2fs_format.so.0 | |
85 | %attr(755,root,root) %{_sbindir}/defrag.f2fs | |
8869e485 WF |
86 | %attr(755,root,root) %{_sbindir}/dump.f2fs |
87 | %attr(755,root,root) %{_sbindir}/f2fstat | |
88 | %attr(755,root,root) %{_sbindir}/fibmap.f2fs | |
89 | %attr(755,root,root) %{_sbindir}/fsck.f2fs | |
90 | %attr(755,root,root) %{_sbindir}/mkfs.f2fs | |
b593f1cf | 91 | %attr(755,root,root) %{_sbindir}/parse.f2fs |
58bab8ae ER |
92 | %attr(755,root,root) %{_sbindir}/resize.f2fs |
93 | %attr(755,root,root) %{_sbindir}/sload.f2fs | |
94 | %{_mandir}/man8/defrag.f2fs.8* | |
95 | %{_mandir}/man8/dump.f2fs.8* | |
96 | %{_mandir}/man8/fsck.f2fs.8* | |
fa5c0ab5 | 97 | %{_mandir}/man8/mkfs.f2fs.8* |
58bab8ae ER |
98 | %{_mandir}/man8/resize.f2fs.8* |
99 | %{_mandir}/man8/sload.f2fs.8* | |
100 | ||
101 | %files devel | |
102 | %defattr(644,root,root,755) | |
103 | %{_libdir}/libf2fs.la | |
104 | %{_libdir}/libf2fs.so | |
105 | %{_libdir}/libf2fs_format.la | |
106 | %{_libdir}/libf2fs_format.so | |
107 | %{_includedir}/f2fs_format_utils.h | |
108 | %{_includedir}/f2fs_fs.h |