]> git.pld-linux.org Git - packages/f2fs-tools.git/blame - f2fs-tools.spec
up to 1.7.0; new SONAME; added -devel
[packages/f2fs-tools.git] / f2fs-tools.spec
CommitLineData
ec36ce57 1Summary: Utilities for managing the f2fs filesystem
fa5c0ab5 2Summary(pl.UTF-8): Narzędzia do systemu plików f2fs
ec36ce57 3Name: f2fs-tools
58bab8ae 4Version: 1.7.0
ec36ce57 5Release: 1
6License: GPL v2
7Group: Applications/System
8Source0: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%{name}-%{version}.tar.gz
58bab8ae 9# Source0-md5: 9db22274264f0c88dbee012f257917b1
ec36ce57 10URL: http://f2fs-tools.sourceforge.net/
fa5c0ab5 11BuildRequires: autoconf >= 2.68
ec36ce57 12BuildRequires: automake
8869e485 13BuildRequires: libtool
ec36ce57 14BuildRequires: libuuid-devel
8869e485 15BuildRequires: pkgconfig
ec36ce57 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
58bab8ae
ER
19NAND flash memory-based storage devices, such as SSD, and SD cards,
20have been widely being used for ranging from mobile to server systems.
21Since they are known to have different characteristics from the
22conventional rotational disks,a file system, an upper layer to the
23storage device, should adapt to the changes from the sketch.
24
25F2FS is a new file system carefully designed for the NAND flash
26memory-based storage devices. We chose a log structure file system
27approach, but we tried to adapt it to the new form of storage. Also we
28remedy some known issues of the very old log structured file system,
29such as snowball effect of wandering tree and high cleaning overhead.
30
31Because a NAND-based storage device shows different characteristics
32according to its internal geometry or flash memory management scheme
33aka FTL, we add various parameters not only for configuring on-disk
34layout, but also for selecting allocation and cleaning algorithms.
ec36ce57 35
36%description -l pl.UTF-8
fa5c0ab5 37Pakiet ten zawiera narzędzia do tworzenia systemów plików f2fs.
ec36ce57 38
58bab8ae
ER
39%package devel
40Summary: Development files for %{name}
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43
44%description devel
45This package contains the libraries needed to develop applications
46that 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
62rm -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
68install -d $RPM_BUILD_ROOT%{_includedir}
69cp -p include/f2fs_fs.h $RPM_BUILD_ROOT%{_includedir}
70cp -p mkfs/f2fs_format_utils.h $RPM_BUILD_ROOT%{_includedir}
0f84b2ad 71
ec36ce57 72%clean
73rm -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
This page took 0.063214 seconds and 4 git commands to generate.