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