packages: timelimit/timelimit.spec (NEW) - initial PLD release

gotar gotar at pld-linux.org
Fri May 28 16:33:08 CEST 2010


Author: gotar                        Date: Fri May 28 14:33:08 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: packages/timelimit/timelimit.spec
diff -u /dev/null packages/timelimit/timelimit.spec:1.1
--- /dev/null	Fri May 28 16:33:08 2010
+++ packages/timelimit/timelimit.spec	Fri May 28 16:33:03 2010
@@ -0,0 +1,48 @@
+# $Revision$, $Date$
+Summary:	Limit a process's absolute execution time
+Name:		timelimit
+Version:	1.5
+Release:	1
+License:	distributable
+Group:		Base
+Source0:	http://devel.ringlet.net/sysutils/timelimit/%{name}-%{version}.tar.gz
+# Source0-md5:	e9d3da9a81479689a59c58a93914b034
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+timelimit executes a command and terminates the spawned process after
+a given time with a given signal. A warning signal is sent first, then,
+after a timeout, a kill signal, similar to the way init(8) operates on
+shutdown.
+
+%prep
+%setup
+
+%build
+%{__make} \
+	CFLAGS="%{rpmcflags} -pipe -DHAVE_ERR -DHAVE_SYSEXITS_H -DHAVE_ERRNO_H -DHAVE_SIGACTION"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/%{name}*
+
+%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/05/28 14:33:03  gotar
+- initial PLD release
================================================================


More information about the pld-cvs-commit mailing list