SPECS: e2moveblocks.spec (NEW) - new

glen glen at pld-linux.org
Fri Oct 12 16:47:45 CEST 2007


Author: glen                         Date: Fri Oct 12 14:47:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   e2moveblocks.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/e2moveblocks.spec
diff -u /dev/null SPECS/e2moveblocks.spec:1.1
--- /dev/null	Fri Oct 12 16:47:45 2007
+++ SPECS/e2moveblocks.spec	Fri Oct 12 16:47:40 2007
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+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
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/10/12 14:47:40  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list