]> git.pld-linux.org Git - packages/e2moveblocks.git/blob - e2moveblocks.spec
- new
[packages/e2moveblocks.git] / e2moveblocks.spec
1 Summary:        e2moveblocks - tool to change layout of files on ext2/3 filesystems
2 Name:           e2moveblocks
3 Version:        0.1
4 Release:        0.1
5 License:        GPL v2
6 Group:          Applications
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)
12
13 %description
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.
17
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.
20
21 %prep
22 %setup -q
23
24 %build
25 %{__make} \
26         CC="%{__cxx}" \
27         CFLAGS="%{rpmcxxflags}" \
28         LDFLAGS="-lext2fs"
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_sbindir}
33 install e2blockmap ext3_optimize $RPM_BUILD_ROOT%{_sbindir}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %attr(755,root,root) %{_sbindir}/e2blockmap
41 %attr(755,root,root) %{_sbindir}/ext3_optimize
This page took 0.061846 seconds and 3 git commands to generate.