- Upstream to upstream version 1.0.1 * Fix possible buffer overflow (Alexander Inyukhin) OBS-URL: https://build.opensuse.org/request/show/896781 OBS-URL: https://build.opensuse.org/package/show/utilities/ts?expand=0&rev=9
65 lines
1.9 KiB
RPMSpec
65 lines
1.9 KiB
RPMSpec
# vim: set sw=4 ts=4 et:
|
|
#
|
|
# spec file for package ts
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: ts
|
|
Version: 1.0.1
|
|
Release: 0
|
|
Summary: Task Spool Batch System
|
|
License: GPL-2.0+
|
|
Group: Productivity/Other
|
|
URL: http://viric.name/soft/ts/
|
|
Source: http://viric.name/soft/ts/%{name}-%{version}.tar.gz
|
|
Patch1: ts-optflags.patch
|
|
Patch2: ts-fix-warnings.patch
|
|
BuildRequires: gcc
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: make
|
|
|
|
%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 -q
|
|
%patch1 -p1
|
|
%patch2
|
|
|
|
%build
|
|
make \
|
|
%{?_smp_mflags} \
|
|
OPTFLAGS="%{optflags}" \
|
|
CC="gcc"
|
|
|
|
%install
|
|
%make_install PREFIX=%{buildroot}%{_prefix}
|
|
|
|
%files
|
|
%doc Changelog COPYING OBJECTIVES PORTABILITY PROTOCOL README TRICKS
|
|
%{_bindir}/ts
|
|
%{_mandir}/man1/ts.1*
|
|
|
|
%changelog
|