]> git.pld-linux.org Git - packages/e2moveblocks.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 12 Oct 2007 14:47:40 +0000 (14:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    e2moveblocks.spec -> 1.1

e2moveblocks.spec [new file with mode: 0644]

diff --git a/e2moveblocks.spec b/e2moveblocks.spec
new file mode 100644 (file)
index 0000000..eccf475
--- /dev/null
@@ -0,0 +1,41 @@
+Summary:       e2moveblocks - tool to change layout of files on ext2/3 filesystems
+Name:          e2moveblocks
+Version:       0.1
+Release:       0.1
+License:       GPL v2
+Group:         Applications
+Source0:       http://lichota.net/~krzysiek/projects/e2moveblocks/%{name}-%{version}.tgz
+# Source0-md5: ea8e685247458b174c5f33085129812f
+URL:           http://lichota.net/~krzysiek/projects/e2moveblocks/
+BuildRequires: e2fsprogs-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+e2moveblocks is a tool which allows offline changing position of files
+on ext2/ext3 filesystems. It can be used for defragging or grouping
+files for prefetching.
+
+WARNING: this tool is currently experimental and can destroy your
+data. Use at your own risk, author is not responsible for any damages.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+       CC="%{__cxx}" \
+       CFLAGS="%{rpmcxxflags}" \
+       LDFLAGS="-lext2fs"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+install e2blockmap ext3_optimize $RPM_BUILD_ROOT%{_sbindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/e2blockmap
+%attr(755,root,root) %{_sbindir}/ext3_optimize
This page took 0.099052 seconds and 4 git commands to generate.