packages: ureadahead/ureadahead.spec (NEW) - new

glen glen at pld-linux.org
Tue Apr 20 23:28:41 CEST 2010


Author: glen                         Date: Tue Apr 20 21:28:41 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/ureadahead:
   ureadahead.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ureadahead/ureadahead.spec
diff -u /dev/null packages/ureadahead/ureadahead.spec:1.1
--- /dev/null	Tue Apr 20 23:28:41 2010
+++ packages/ureadahead/ureadahead.spec	Tue Apr 20 23:28:36 2010
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+# TODO
+# - needs patched kernel
+# - needs mountall upstart job
+Summary:	Read files in advance during boot
+Name:		ureadahead
+Version:	0.100.0
+Release:	0.1
+License:	GPL v2+
+Group:		Base
+Source0:	http://launchpad.net/ureadahead/trunk/%{version}/+download/%{name}-%{version}.tar.gz
+# Source0-md5:	086d3f3584b7c54a0c8647c1fba6cec7
+URL:		https://launchpad.net/ureadahead
+BuildRequires:	e2fsprogs-devel >= 1.41
+BuildRequires:	libblkid-devel >= 2.16
+BuildRequires:	libnih-devel >= 1.0.0
+Requires:	upstart >= 0.6
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sbindir	/sbin
+
+%description
+ureadahead (uber-readahead) is used during boot to read files in
+advance of when they are needed such that they are already in the page
+cache, improving boot performance.
+
+%description -l en.UTF-8
+ureadahead (über-readahead) is used during boot to read files in
+advance of when they are needed such that they are already in the page
+cache, improving boot performance.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/var/lib/ureadahead/debugfs
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc TODO
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/init/ureadahead*.conf
+%attr(755,root,root) %{_sbindir}/ureadahead
+%{_mandir}/man8/ureadahead.8*
+%dir /var/lib/ureadahead
+%dir /var/lib/ureadahead/debugfs
+
+%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  2010/04/20 21:28:36  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list