SPECS: noflushd.spec - up to 2.7.5 - updated descriptions and scripts
charles
charles at pld-linux.org
Fri Aug 5 14:27:17 CEST 2005
Author: charles Date: Fri Aug 5 12:27:17 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 2.7.5
- updated descriptions and scripts
---- Files affected:
SPECS:
noflushd.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: SPECS/noflushd.spec
diff -u SPECS/noflushd.spec:1.20 SPECS/noflushd.spec:1.21
--- SPECS/noflushd.spec:1.20 Fri Aug 8 17:04:39 2003
+++ SPECS/noflushd.spec Fri Aug 5 14:27:12 2005
@@ -2,17 +2,16 @@
Summary: Daemon that sends idle disks to sleep
Summary(pl): Demon usypiający bezczynne dyski
Name: noflushd
-Version: 2.6.1
+Version: 2.7.5
Release: 1
License: GPL
Group: Daemons
Source0: http://dl.sourceforge.net/noflushd/%{name}_%{version}.orig.tar.gz
-# Source0-md5: a4a47abdc08c65cbadd240354004155d
+# Source0-md5: a1712430588650bb8f99c5b5f2ce2511
# init script based on file distributed with sources
Source1: %{name}.init
Source2: %{name}.sysconfig
URL: http://noflushd.sf.net/
-BuildRequires: autoconf
PreReq: rc-scripts
Requires(post,preun): /sbin/chkconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,23 +22,21 @@
noflushd is a simple daemon that monitors disk activity and spins down
disks whose idle time exceeds a certain timeout. It requires a kernel
thread named kupdate which is present in Linux kernel version 2.2.11
-and later. For earlier kernels, bdflush version 1.6 provides equal
-functionality.
+and later or pdflush for 2.6 kernels. For earlier kernels, bdflush
+version 1.6 provides equal functionality.
%description -l pl
noflushd jest prostym demonem monitorującym aktywność dysków i
zatrzymującym te dyski, których czas bezczynności przekroczył
określony limit. Wymaga wątku kernela o nazwie kupdate - występującym
-od wersji 2.2.11. Dla wcześniejszych kerneli program bdflush w wersji
-1.6 zapewnia tą samą funkcjonalność.
+od wersji 2.2.11 lub pdflush dla kerneli 2.6. Dla wcześniejszych
+kerneli program bdflush w wersji 1.6 zapewnia tą samą funkcjonalność.
%prep
%setup -q
%build
-%{__autoconf}
%configure
-
%{__make}
%install
@@ -57,11 +54,19 @@
%post
/sbin/chkconfig --add noflushd
-echo "NOTE: Edit /etc/sysconfig/noflushd to configure %{name}."
+if [ -f /var/lock/subsys/%{name} ]; then
+ /etc/rc.d/init.d/%{name} restart 1>&2
+else
+ echo "NOTE: Edit /etc/sysconfig/noflushd to configure %{name}."
+ echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
+fi
%preun
if [ "$1" = "0" ]; then
- /sbin/chkconfig --del noflushd
+ if [ -f /var/lock/subsys/%{name} ]; then
+ /etc/rc.d/init.d/%{name} stop 1>&2
+ fi
+ /sbin/chkconfig --del %{name}
fi
%files
@@ -78,6 +83,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2005/08/05 12:27:12 charles
+- up to 2.7.5
+- updated descriptions and scripts
+
Revision 1.20 2003/08/08 15:04:39 qboosh
- more specific Requires
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/noflushd.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list