[packages/task-spooler] New, Version 1.0

glen glen at pld-linux.org
Sun Mar 22 14:49:25 CET 2020


commit 2006acef9b3a5ccc6613a8392f3c3e469157bd61
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Mar 22 15:48:23 2020 +0200

    New, Version 1.0
    
    Based on Fedora package (1e6595a)
    
    https://src.fedoraproject.org/rpms/task-spooler

 task-spooler.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
---
diff --git a/task-spooler.spec b/task-spooler.spec
new file mode 100644
index 0000000..56e4175
--- /dev/null
+++ b/task-spooler.spec
@@ -0,0 +1,47 @@
+Summary:	Personal job scheduler
+Name:		task-spooler
+Version:	1.0
+Release:	0.1
+License:	GPL v2+
+Group:		Applications
+URL:		http://vicerveza.homeunix.net/~viric/soft/ts
+Source0:	%{url}/ts-%{version}.tar.gz
+# Source0-md5:	c7589cdc28115d8925794d713ff72dba
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Task spooler is a Unix batch system where the tasks spooled run one
+after the other. Each user in each system has his own job queue. The
+tasks are run in the correct context (that of enqueue) from any
+shell/process, and its output/results can be easily watched. It is
+very useful when you know that your commands depend on a lot of RAM, a
+lot of disk use, give a lot of output, or for whatever reason it's
+better not to run them at the same time.
+
+%prep
+%setup -qn ts-%{version}
+
+%build
+%{__make} \
+	LDFLAGS="%{rpmldflags}" \
+	CFLAGS="%{rpmcflags} -pedantic -ansi" \
+	CPPFLAGS="%{rpmcppflags} -D_XOPEN_SOURCE=500 -D__STRICT_ANSI__" \
+	CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	PREFIX=$RPM_BUILD_ROOT%{_prefix}
+
+mv $RPM_BUILD_ROOT%{_bindir}/ts $RPM_BUILD_ROOT%{_bindir}/tsp
+mv $RPM_BUILD_ROOT%{_mandir}/man1/ts.1 $RPM_BUILD_ROOT%{_mandir}/man1/tsp.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changelog README TRICKS PROTOCOL
+%attr(755,root,root) %{_bindir}/tsp
+%{_mandir}/man1/tsp.1.*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/task-spooler.git/commitdiff/2006acef9b3a5ccc6613a8392f3c3e469157bd61



More information about the pld-cvs-commit mailing list