File pdsh.spec of Package pdsh
#
# spec file for package pdsh
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
# norootforbuild
Name: pdsh
BuildRequires: dejagnu openssh readline-devel rsh
Url: http://sourceforge.net/projects/pdsh
Version: 2.26
Release: 1
Summary: Parallel remote shell program
License: GPL
Group: Productivity/Clustering/Computing
Source: %{name}-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Prereq:
# Set this to 1 to build with genders support and framework for
# running Elan jobs.
%define chaos 0
%description
Pdsh is a multithreaded remote shell client which executes commands on
multiple remote hosts in parallel. Pdsh can use several different
remote shell services, including standard "rsh", Kerberos IV, and ssh.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
%configure \
--with-readline \
--with-machines=/etc/pdsh/machines \
--with-ssh \
--with-dshgroups \
--with-netgroup \
--disable-static \
--with-pic
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc README ChangeLog DISCLAIMER README.KRB4
%attr(755, root, root) /usr/bin/pdsh
%attr(755, root, root) /usr/bin/pdcp
/usr/bin/dshbak
/usr/bin/rpdcp
%{_mandir}/man1/pdsh.1.gz
%{_mandir}/man1/pdcp.1.gz
%{_mandir}/man1/dshbak.1.gz
%{_mandir}/man1/rpdcp.1.gz
%_libdir/pdsh
%changelog