SPECS: readahead.spec (NEW) - new (spec taken from fedora) - NFY: ...
blekot
blekot at pld-linux.org
Fri Apr 20 12:42:58 CEST 2007
Author: blekot Date: Fri Apr 20 10:42:58 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new (spec taken from fedora)
- NFY: (default.* should be PLDized)
- Permisions in %files should be more restricted
- rel 0.1
---- Files affected:
SPECS:
readahead.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/readahead.spec
diff -u /dev/null SPECS/readahead.spec:1.1
--- /dev/null Fri Apr 20 12:42:58 2007
+++ SPECS/readahead.spec Fri Apr 20 12:42:52 2007
@@ -0,0 +1,88 @@
+# $Revision$, $Date$
+Summary: Read a preset list of files into memory
+Name: readahead
+Version: 1.4.1
+Release: 0.1
+Epoch: 1
+License: GPL
+Group: Base
+Source0: http://people.redhat.com/kzak/readahead/%{name}-%{version}.tar.bz2
+# Source0-md5: 61436ab8695807f5e24908f080e5a1ae
+Source1: default.early
+Source2: default.later
+URL: https://hosted.fedoraproject.org/projects/readahead
+BuildRequires: audit-libs-devel
+BuildRequires: e2fsprogs-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+readahead reads the contents of a list of files into memory, which
+causes them to be read from cache when they are actually needed. Its
+goal is to speed up the boot process.
+
+%prep
+%setup -q
+cp -f -t ./lists/ %{SOURCE1}
+cp -f -t ./lists/ %{SOURCE2}
+
+%build
+%configure \
+ --sbindir=/sbin
+
+%{__make}
+%{__make} rpm-lists-rebuild RPM_LIB="%{_lib}" RPM_ARCH="%{_arch}" FILES="default.early default.later"
+
+%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 COPYING README lists/README.lists
+%attr(755,root,root) /etc/cron.daily/readahead.cron
+%attr(755,root,root) /etc/rc.d/init.d/readahead_later
+%attr(755,root,root) /etc/rc.d/init.d/readahead_early
+%attr(644,root,root) %config(noreplace) %{_sysconfdir}/readahead.conf
+%dir %{_sysconfdir}/readahead.d
+%attr(644,root,root) %config %{_sysconfdir}/readahead.d/default.early
+%attr(644,root,root) %config %{_sysconfdir}/readahead.d/default.later
+%attr(755,root,root) %{_sbindir}/readahead
+/sbin/readahead-collector
+
+%preun
+if [ "$1" = "0" ] ; then
+ /sbin/chkconfig --del readahead_later
+ /sbin/chkconfig --del readahead_early
+fi
+
+%post
+/sbin/chkconfig --add readahead_later
+/sbin/chkconfig --add readahead_early
+
+%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/04/20 10:42:52 blekot
+- new (spec taken from fedora)
+- NFY: (default.* should be PLDized)
+- Permisions in %files should be more restricted
+- rel 0.1
+
+* Thu Apr 12 2007 Karel Zak <kzak at redhat.com> - 1:1.4.1-1
+- upgrade to new upstream version 1.4.1
+- generate new lists
+
+* Tue Feb 27 2007 Karel Zak <kzak at redhat.com> - 1:1.4-1
+- upgrade to new upstream version
+- cleanup spec file
+
+* Fri Feb 2 2007 Karel Zak <kzak at redhat.com> - 1:1.3-7
+- rebuild (update file lists)
+
================================================================
More information about the pld-cvs-commit
mailing list