-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasker.spec
36 lines (28 loc) · 836 Bytes
/
tasker.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Summary: tasker - a parallel execution command
Name: tasker
Version: 0.9
Release: 1%{?dist}
License: GPLv2+
URL: https://github.com/stevegrubb/tasker
Packager: Steve Grubb <[email protected]>
Source: %{name}-%{version}.tar.gz
BuildRequires: gcc make
%description
Tasker is a program that takes a list from stdin and runs the given command
passing one line from stdin to the command. It determines how many cores to
use, sets affinity to specific hyperthreads, and keeps all hyperthreads busy
until the input pipeline is complete.
%prep
%setup -q
%build
%configure
make CFLAGS="%{optflags}" %{?_smp_mflags}
%install
make DESTDIR="%{buildroot}" INSTALL='install -p' install
%files
%defattr(755, root, root)
%{_bindir}/*
%{_mandir}/*
%changelog
* Wed Dec 29 2021 Steve Grubb <[email protected]> 0.9-1
- Created initial package.