1 Summary: e2moveblocks - tool to change layout of files on ext2/3 filesystems
7 Source0: http://lichota.net/~krzysiek/projects/e2moveblocks/%{name}-%{version}.tgz
8 # Source0-md5: ea8e685247458b174c5f33085129812f
9 URL: http://lichota.net/~krzysiek/projects/e2moveblocks/
10 BuildRequires: e2fsprogs-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 e2moveblocks is a tool which allows offline changing position of files
15 on ext2/ext3 filesystems. It can be used for defragging or grouping
16 files for prefetching.
18 WARNING: this tool is currently experimental and can destroy your
19 data. Use at your own risk, author is not responsible for any damages.
27 CFLAGS="%{rpmcxxflags}" \
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_sbindir}
33 install e2blockmap ext3_optimize $RPM_BUILD_ROOT%{_sbindir}
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
40 %attr(755,root,root) %{_sbindir}/e2blockmap
41 %attr(755,root,root) %{_sbindir}/ext3_optimize