]> git.pld-linux.org Git - packages/f2fs-tools.git/blob - f2fs-tools.spec
up to 1.7.0; new SONAME; added -devel
[packages/f2fs-tools.git] / f2fs-tools.spec
1 Summary:        Utilities for managing the f2fs filesystem
2 Summary(pl.UTF-8):      Narzędzia do systemu plików f2fs
3 Name:           f2fs-tools
4 Version:        1.7.0
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
9 # Source0-md5:  9db22274264f0c88dbee012f257917b1
10 URL:            http://f2fs-tools.sourceforge.net/
11 BuildRequires:  autoconf >= 2.68
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  libuuid-devel
15 BuildRequires:  pkgconfig
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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.
35
36 %description -l pl.UTF-8
37 Pakiet ten zawiera narzędzia do tworzenia systemów plików f2fs.
38
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
48 %prep
49 %setup -q
50
51 %build
52 %{__libtoolize}
53 %{__aclocal} -I m4
54 %{__autoconf}
55 %{__autoheader}
56 %{__automake}
57 %configure \
58         --disable-static
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 %{__make} install \
64         INSTALL="install -p" \
65         CP="cp -p" \
66         DESTDIR=$RPM_BUILD_ROOT
67
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}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog README
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
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
91 %attr(755,root,root) %{_sbindir}/parse.f2fs
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*
97 %{_mandir}/man8/mkfs.f2fs.8*
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
This page took 0.066062 seconds and 4 git commands to generate.