SPECS: preload.spec (NEW) - new
glen
glen at pld-linux.org
Sun Oct 23 01:54:09 CEST 2005
Author: glen Date: Sat Oct 22 23:54:09 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
preload.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/preload.spec
diff -u /dev/null SPECS/preload.spec:1.1
--- /dev/null Sun Oct 23 01:54:09 2005
+++ SPECS/preload.spec Sun Oct 23 01:54:04 2005
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+Summary: Adaptive readahead daemon
+Name: preload
+Version: 0.2
+Release: 0.1
+License: GPL
+Group: Daemons
+Source0: http://dl.sourceforge.net/preload/%{name}-%{version}.tar.gz
+# Source0-md5: 8df1c86c43b8976dc6ee5d45e8ac901c
+URL: http://preload.sourceforge.net/
+BuildRequires: rpmbuild(macros) >= 1.228
+Requires(post,preun): /sbin/chkconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _localstatedir /var/lib
+
+%description
+preload is an adaptive readahead daemon. It monitors applications that
+users run, and by analyzing this data, predicts what applications
+users might run, and fetches those binaries and their dependencies
+into memory for faster startup times.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add %{name}
+%service %{name} restart
+
+%preun
+if [ "$1" = "0" ]; then
+ %service -q %{name} stop
+ /sbin/chkconfig --del %{name}
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc README AUTHORS COPYING ChangeLog TODO THANKS NEWS
+%doc doc/*.txt
+%attr(755,root,root) %{_sbindir}/preload
+%config %{_sysconfdir}/preload.conf
+%{_mandir}/man8/preload.8*
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/preload
+%attr(754,root,root) /etc/rc.d/init.d/preload
+%attr(644,root,root) /etc/logrotate.d/preload
+%attr(600,root,root) %verify(not md5 mtime size) %config(missingok,noreplace) %{_localstatedir}/log/preload.log
+%attr(660,root,root) %dir %{_localstatedir}/preload
+%attr(660,root,root) %verify(not md5 mtime size) %ghost %config(missingok,noreplace) %{_localstatedir}/preload/preload.state
+
+%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 2005/10/22 23:54:04 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list