LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File clusterssh.spec of Package clusterssh (Project openSUSE:Leap:15.0:Update)

#
# spec file for package clusterssh
#
# Copyright (c) 2018 SUSE LINUX 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/
#


Name:           clusterssh
Version:        4.07
Release:        0
%define modname App-ClusterSSH
%define dullver 4.07
Summary:        Multiplex SSH sessions onto many hosts using multiple terminals
License:        GPL-1.0-or-later OR Artistic-1.0
Group:          Productivity/Networking/SSH
Url:            http://clusterssh.sf.net/

#Git-Clone:	git://clusterssh.git.sf.net/gitroot/clusterssh/clusterssh
Source:         http://downloads.sf.net/clusterssh/App-ClusterSSH-4.07.tar.gz
Source2:        %name-rpmlintrc
Patch1:         clusterssh-fix-docgen.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  fdupes
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(ExtUtils::MakeMaker)
%perl_requires
Requires:       xorg-x11-fonts-100dpi
Requires:       xorg-x11-fonts-75dpi
Requires:       xterm
BuildRequires:  perl(CPAN::Changes)
BuildRequires:  perl(Exception::Class)
BuildRequires:  perl(File::Path)
BuildRequires:  perl(File::Slurp)
BuildRequires:  perl(File::Temp)
BuildRequires:  perl(File::Which)
BuildRequires:  perl(Getopt::Long)
BuildRequires:  perl(Locale::Maketext)
BuildRequires:  perl(Module::Build)
BuildRequires:  perl(Readonly)
BuildRequires:  perl(Sort::Naturally)
BuildRequires:  perl(Test::Differences)
BuildRequires:  perl(Tk)
BuildRequires:  perl(Try::Tiny)
BuildRequires:  perl(X11::Protocol)
Requires:       perl(CPAN::Changes)
Requires:       perl(Carp)
Requires:       perl(English)
Requires:       perl(Exception::Class)
Requires:       perl(Exception::Class)
Requires:       perl(Fcntl)
Requires:       perl(File::Basename)
Requires:       perl(File::Path)
Requires:       perl(File::Slurp)
Requires:       perl(File::Temp)
Requires:       perl(File::Temp)
Requires:       perl(File::Which)
Requires:       perl(File::Which)
Requires:       perl(FindBin)
Requires:       perl(Getopt::Long)
Requires:       perl(Getopt::Long)
Requires:       perl(Locale::Maketext)
Requires:       perl(Locale::Maketext)
Requires:       perl(Module::Build)
Requires:       perl(Net::hostent)
Requires:       perl(POSIX)
Requires:       perl(Pod::Usage)
Requires:       perl(Readonly)
Requires:       perl(Readonly)
Requires:       perl(Socket)
Requires:       perl(Sort::Naturally)
Requires:       perl(Sys::Hostname)
Requires:       perl(Test::Differences)
Requires:       perl(Test::PerlTidy)
Requires:       perl(Test::Pod)
Requires:       perl(Test::Pod::Coverage)
Requires:       perl(Test::Trap)
Requires:       perl(Tk)
Requires:       perl(Tk::ROText)
Requires:       perl(Tk::Xlib)
Requires:       perl(Try::Tiny)
Requires:       perl(X11::Keysyms)
Requires:       perl(X11::Protocol)
Requires:       perl(X11::Protocol::Constants)

%description
Cluster SSH opens terminal windows with connections to specified
hosts and an administration console. Any text typed into the
administration console is replicated to all other connected and
active windows. This tool is intended for, but not limited to,
cluster administration where the same configuration or commands must
be run on each node within the cluster. Performing these commands all
at once via this tool ensures all nodes are kept in sync.

%prep
%setup -qn %modname-%dullver
%patch -P 1 -p1

%build
perl Makefile.PL
make %{?_smp_mflags}

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%fdupes %buildroot

%files -f %name.files
%defattr(-,root,root)
%_bindir/c*

%changelog