From 0bfeebf081c673bc284aa2a3e7cf5cb019cb4895 Mon Sep 17 00:00:00 2001 From: Zsolt Udvari Date: Sat, 30 Jul 2011 08:44:48 +0000 Subject: [PATCH 1/1] - very-very initial - does not build, I have no more time now :( Changed files: e4rat.spec -> 1.1 --- e4rat.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 e4rat.spec diff --git a/e4rat.spec b/e4rat.spec new file mode 100644 index 0000000..c53375f --- /dev/null +++ b/e4rat.spec @@ -0,0 +1,45 @@ +Summary: A toolset to accelerate the boot process as well as application startups +Name: e4rat +Version: 0.2.1 +Release: 0.1 +License: GPL +Group: Applications +Source0: http://downloads.sourceforge.net/project/%{name}/%{version}/%{name}_%{version}_src.tar.gz +# Source0-md5: cbb1f3cdd2b8c96b4402028da07b11f2 +URL: http://e4rat.sourceforge.net/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +e4rat ("Ext4 - Reducing Access Times") is a toolset to accelerate the +boot process as well as application startups. Through physical file +realloction e4rat eliminates both seek times and rotational delays. +This leads to a high disk transfer rate. Placing files on disk in a +sequentially ordered way allows to efficiently read-ahead files in +parallel to the program startup. The combination of sequentially +reading and a high cache hit rate may reduce the boot time by a factor +of three, as the example below shows. + +e4rat is based on the online defragmentation ioctl EXT4_IOC_MOVE_EXT +from the Ext4 filesystem, which was introduced in Linux Kernel 2.6.31. +Other filesystem types and/or earlier versions of extended filesystems +are not supported. + +%prep +%setup -q + +%build +cmake . + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO +%attr(755,root,root) %{_bindir}/* -- 2.43.0