pdsh/pdsh.spec

Name: pdsh
Summary: High-performance parallel remote shell utility
Version: 2.27
Release: 1
License: GPL
Group: System Environment/Shells
URL: http://code.google.com/p/pdsh/
Description: Pdsh is a high-performance, parallel remote shell utility. It has built-in, thread-safe clients for Berkeley and Kerberos V4 rsh and can call SSH externally (though with reduced performance). Pdsh uses a "sliding window" parallel algorithm to conserve socket resources on the initiating node and to allow progress to continue while timeouts occur on some connections.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: shuff
# Upstream: Mark Grondona <mgrondona$llnl,gov>

Summary: High-performance parallel remote shell utility
Name: pdsh
Version: 2.27
Release: 1%{?dist}
License: GPL
Group: System Environment/Shells
URL: http://code.google.com/p/pdsh/

Source: http://pdsh.googlecode.com/files/pdsh-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: autoconf
BuildRequires: automake
BuildRequires: binutils
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: libgenders-devel
# BuildRequires: libmunge-devel
# BuildRequires: libnodeupdown-devel
# BuildRequires: libslurm-devel
BuildRequires: krb5-devel
BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: pam-devel
BuildRequires: readline-devel
# BuildRequires: rmsquery
BuildRequires: rpm-macros-rpmforge

Requires: openssh

%description
Pdsh is a high-performance, parallel remote shell utility. It has built-in,
thread-safe clients for Berkeley and Kerberos V4 rsh and can call SSH
externally (though with reduced performance). Pdsh uses a "sliding window"
parallel algorithm to conserve socket resources on the initiating node and to
allow progress to continue while timeouts occur on some connections.

%prep
%setup

%build
%configure \
    --disable-dependency-tracking \
    --disable-static \
    --with-dshgroups \
    --with-exec \
    --with-genders \
    --with-machines="%{_sysconfdir}/pdsh/machines" \
    --with-netgroup \
    --with-nodeattr \
    --with-readline \
    --with-ssh \
    --with-xcpu \
    --without-rsh
%{__make} %{?_smp_mflags}

# we are not a devel package
%filter_provides_in %{_libdir}/pdsh
%filter_setup

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%{__install} -d -m0755 %{buildroot}%{_sysconfdir}/pdsh/
touch %{buildroot}%{_sysconfdir}/pdsh/machines

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING DISCLAIMER META NEWS README* TODO
%doc %{_mandir}/man1/dshbak.1*
%doc %{_mandir}/man1/pdcp.1*
%doc %{_mandir}/man1/pdsh.1*
%doc %{_mandir}/man1/rpdcp.1*
%dir %{_sysconfdir}/pdsh/
%config(noreplace) %{_sysconfdir}/pdsh/machines
%{_bindir}/dshbak
%{_bindir}/pdcp
%{_bindir}/pdsh
%{_bindir}/rpdcp
%{_libdir}/pdsh/
%exclude %{_libdir}/pdsh/*.la

%changelog
* Mon Oct 24 2011 Dag Wieers <dag@wieers.com> - 2.27-1
- Updated to release 2.27.

* Wed Mar 02 2011 Steve Huff <shuff@vecna.org> - 2.24-1
- Updated to version 2.24.

* Mon Oct 25 2010 Steve Huff <shuff@vecna.org> - 2.23-1
- Updated to version 2.23.

* Fri Sep 03 2010 Steve Huff <shuff@vecna.org> - 2.21-1
- Updated to version 2.21.
- Source moved to Google Code.

* Mon Aug 09 2010 Steve Huff <shuff@vecna.org> - 2.18-2
- Added genders support.

* Tue Jul 13 2010 Steve Huff <shuff@vecna.org> - 2.18-1
- Initial package.