]>
Commit | Line | Data |
---|---|---|
ec36ce57 | 1 | Summary: Utilities for managing the f2fs filesystem |
8916055c | 2 | Summary(pl.UTF-8): Narzędzia do zarządzania systemem plików f2fs |
ec36ce57 | 3 | Name: f2fs-tools |
fb40a1f3 | 4 | Version: 1.16.0 |
ec36ce57 | 5 | Release: 1 |
8916055c | 6 | License: GPL v2 (tools), GPL v2 or LGPL v2.1 (libraries) |
ec36ce57 | 7 | Group: Applications/System |
8 | Source0: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%{name}-%{version}.tar.gz | |
fb40a1f3 | 9 | # Source0-md5: 5b05b9331a18564c635b3bf8305c3910 |
ec36ce57 | 10 | URL: http://f2fs-tools.sourceforge.net/ |
fa5c0ab5 | 11 | BuildRequires: autoconf >= 2.68 |
ec36ce57 | 12 | BuildRequires: automake |
bc35ca8a | 13 | BuildRequires: libblkid-devel |
8916055c | 14 | BuildRequires: libselinux-devel |
8869e485 | 15 | BuildRequires: libtool |
ec36ce57 | 16 | BuildRequires: libuuid-devel |
fb40a1f3 JP |
17 | BuildRequires: linux-libc-headers >= 7:5.9.0 |
18 | BuildRequires: lz4-devel | |
19 | BuildRequires: lzo-devel >= 2.01 | |
8869e485 | 20 | BuildRequires: pkgconfig |
ec36ce57 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
58bab8ae ER |
24 | NAND flash memory-based storage devices, such as SSD, and SD cards, |
25 | have been widely being used for ranging from mobile to server systems. | |
26 | Since they are known to have different characteristics from the | |
8916055c | 27 | conventional rotational disks, a file system, an upper layer to the |
58bab8ae ER |
28 | storage device, should adapt to the changes from the sketch. |
29 | ||
30 | F2FS is a new file system carefully designed for the NAND flash | |
31 | memory-based storage devices. We chose a log structure file system | |
32 | approach, but we tried to adapt it to the new form of storage. Also we | |
33 | remedy some known issues of the very old log structured file system, | |
34 | such as snowball effect of wandering tree and high cleaning overhead. | |
35 | ||
36 | Because a NAND-based storage device shows different characteristics | |
37 | according to its internal geometry or flash memory management scheme | |
38 | aka FTL, we add various parameters not only for configuring on-disk | |
39 | layout, but also for selecting allocation and cleaning algorithms. | |
ec36ce57 | 40 | |
41 | %description -l pl.UTF-8 | |
8916055c JB |
42 | Urządzenia przechowujące ane oparte na pamięci flash NAND, takie jak |
43 | dyski SSD i karty SD, mają szerokie zastosowanie od systemów | |
44 | przenośnych po serwerowe. Ponieważ mają inną charakterystykę od | |
45 | klasycznych dysków obrotowych, system plików, będący wyższą warstwą | |
46 | przechowywania danych, powinien być do niej dostosowany. | |
47 | ||
48 | F2FS to nowy system plików zaprojektowany z troską o urządzenia oparte | |
49 | na pamięci flash NAND. Wykorzystuje podejście oparte na strukturze | |
50 | logu, ale zaadaptowanej do nowego rodzaju pamięci. | |
51 | ||
52 | Ponieważ urządzenia oparte na pamięci NAND mają różną charakterystykę | |
53 | w zależności od wewnętrznej geometrii lub schematu zarządzania | |
54 | pamięcią (FTL), dodane zostały różne parametry nie tylko do | |
55 | konfigurowania ułożenia systemu na dysku, ale także wyboru algorytmów | |
56 | przydzielania i czyszczenia. | |
ec36ce57 | 57 | |
58bab8ae | 58 | %package devel |
8916055c JB |
59 | Summary: Header files for f2fs libraries |
60 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek f2fs | |
61 | License: GPL v2 or LGPL v2.1 | |
58bab8ae ER |
62 | Group: Development/Libraries |
63 | Requires: %{name} = %{version}-%{release} | |
64 | ||
65 | %description devel | |
8916055c JB |
66 | This package contains the header files needed to develop applications |
67 | that use f2fs libraries. | |
68 | ||
69 | %description devel -l pl.UTF-8 | |
70 | Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia aplikacji | |
71 | wykorzystujących biblioteki f2fs. | |
58bab8ae | 72 | |
ec36ce57 | 73 | %prep |
74 | %setup -q | |
75 | ||
76 | %build | |
8869e485 | 77 | %{__libtoolize} |
fa5c0ab5 JB |
78 | %{__aclocal} -I m4 |
79 | %{__autoconf} | |
8869e485 | 80 | %{__autoheader} |
fa5c0ab5 | 81 | %{__automake} |
0f84b2ad | 82 | %configure \ |
fb40a1f3 | 83 | --disable-silent-rules \ |
0f84b2ad | 84 | --disable-static |
ec36ce57 | 85 | %{__make} |
86 | ||
87 | %install | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | %{__make} install \ | |
58bab8ae ER |
90 | INSTALL="install -p" \ |
91 | CP="cp -p" \ | |
ec36ce57 | 92 | DESTDIR=$RPM_BUILD_ROOT |
93 | ||
58bab8ae ER |
94 | install -d $RPM_BUILD_ROOT%{_includedir} |
95 | cp -p include/f2fs_fs.h $RPM_BUILD_ROOT%{_includedir} | |
96 | cp -p mkfs/f2fs_format_utils.h $RPM_BUILD_ROOT%{_includedir} | |
0f84b2ad | 97 | |
ec36ce57 | 98 | %clean |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
8869e485 WF |
101 | %post -p /sbin/ldconfig |
102 | %postun -p /sbin/ldconfig | |
103 | ||
ec36ce57 | 104 | %files |
105 | %defattr(644,root,root,755) | |
106 | %doc AUTHORS ChangeLog README | |
58bab8ae | 107 | %attr(755,root,root) %{_libdir}/libf2fs.so.*.*.* |
fb40a1f3 | 108 | %attr(755,root,root) %ghost %{_libdir}/libf2fs.so.10 |
58bab8ae | 109 | %attr(755,root,root) %{_libdir}/libf2fs_format.so.*.*.* |
fb40a1f3 | 110 | %attr(755,root,root) %ghost %{_libdir}/libf2fs_format.so.9 |
58bab8ae | 111 | %attr(755,root,root) %{_sbindir}/defrag.f2fs |
8869e485 | 112 | %attr(755,root,root) %{_sbindir}/dump.f2fs |
fb40a1f3 | 113 | %attr(755,root,root) %{_sbindir}/f2fs_io |
bc35ca8a | 114 | %attr(755,root,root) %{_sbindir}/f2fscrypt |
fb40a1f3 | 115 | %attr(755,root,root) %{_sbindir}/f2fslabel |
8869e485 WF |
116 | %attr(755,root,root) %{_sbindir}/fibmap.f2fs |
117 | %attr(755,root,root) %{_sbindir}/fsck.f2fs | |
118 | %attr(755,root,root) %{_sbindir}/mkfs.f2fs | |
b593f1cf | 119 | %attr(755,root,root) %{_sbindir}/parse.f2fs |
58bab8ae ER |
120 | %attr(755,root,root) %{_sbindir}/resize.f2fs |
121 | %attr(755,root,root) %{_sbindir}/sload.f2fs | |
122 | %{_mandir}/man8/defrag.f2fs.8* | |
123 | %{_mandir}/man8/dump.f2fs.8* | |
fb40a1f3 | 124 | %{_mandir}/man8/f2fs_io.8* |
bc35ca8a | 125 | %{_mandir}/man8/f2fscrypt.8* |
fb40a1f3 | 126 | %{_mandir}/man8/f2fslabel.8* |
58bab8ae | 127 | %{_mandir}/man8/fsck.f2fs.8* |
fa5c0ab5 | 128 | %{_mandir}/man8/mkfs.f2fs.8* |
58bab8ae ER |
129 | %{_mandir}/man8/resize.f2fs.8* |
130 | %{_mandir}/man8/sload.f2fs.8* | |
131 | ||
132 | %files devel | |
133 | %defattr(644,root,root,755) | |
8916055c JB |
134 | %attr(755,root,root) %{_libdir}/libf2fs.so |
135 | %attr(755,root,root) %{_libdir}/libf2fs_format.so | |
58bab8ae | 136 | %{_libdir}/libf2fs.la |
58bab8ae | 137 | %{_libdir}/libf2fs_format.la |
58bab8ae ER |
138 | %{_includedir}/f2fs_format_utils.h |
139 | %{_includedir}/f2fs_fs.h |