Skip to content

Commit

Permalink
add spec file and ready release
Browse files Browse the repository at this point in the history
  • Loading branch information
RH-steve-grubb committed Dec 29, 2021
1 parent 8e4b0a1 commit fad6a60
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Authors:
# Steve Grubb <[email protected]>


EXTRA_DIST = $(man_MANS)
AM_CFLAGS = -D_GNU_SOURCE -fopenmp
AM_CPPFLAGS = -I.
AM_LDFLAGS = -fopenmp
Expand Down
36 changes: 36 additions & 0 deletions tasker.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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.

0 comments on commit fad6a60

Please sign in to comment.