2024-01-05 21:25:43 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
2024-01-05 21:25:43 +01:00
|
|
|
#% define pkgver %(echo $(echo %version | cut -d. -f1,2)_$(echo %version | cut -d. -f3))
|
2024-01-05 21:25:43 +01:00
|
|
|
|
|
|
|
Name: clusterssh
|
2024-01-05 21:25:44 +01:00
|
|
|
Version: 4.16
|
2024-01-05 21:25:43 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Cluster Admin Via SSH
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 21:25:44 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.cpan.org
|
|
|
|
Source: https://github.com/duncs/clusterssh.git/v%{version}/clusterssh-%{version}.tar.bz2
|
2024-01-05 21:25:43 +01:00
|
|
|
License: GPL, Artistic
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 21:25:43 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-05 21:25:43 +01:00
|
|
|
BuildRequires: perl-Exception-Class
|
|
|
|
BuildRequires: perl-Tk
|
|
|
|
BuildRequires: perl-Try-Tiny
|
|
|
|
BuildRequires: perl-X11-Protocol
|
2024-01-05 21:25:44 +01:00
|
|
|
BuildRequires: perl-X11-Protocol-Other
|
2024-01-05 21:25:43 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:25:43 +01:00
|
|
|
BuildRequires: perl-Test-Trap
|
|
|
|
BuildRequires: perl-Test-PerlTidy
|
|
|
|
BuildRequires: perl-CPAN-Changes
|
2024-01-05 21:25:43 +01:00
|
|
|
BuildRequires: perl-X11-Protocol-Other
|
2024-01-05 21:25:44 +01:00
|
|
|
BuildRequires: perl-Perl-Tidy >= 20200110
|
2024-01-05 21:25:43 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
Requires: perl-Exception-Class
|
|
|
|
Requires: perl-Tk
|
|
|
|
Requires: perl-Try-Tiny
|
|
|
|
Requires: perl-X11-Protocol
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
ClusterSSH is a tool for making the same change on multiple servers at the same time.
|
|
|
|
The 'cssh' command opens an administration console and an xterm to all specified hosts.
|
|
|
|
Any text typed into the administration console is replicated to all windows.
|
|
|
|
All windows may also be typed into directly.
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 21:25:44 +01:00
|
|
|
%setup -q
|
2024-01-05 21:25:43 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:25:43 +01:00
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
./Build
|
2024-01-05 21:25:44 +01:00
|
|
|
#./Build test
|
2024-01-05 21:25:43 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:25:43 +01:00
|
|
|
./Build install \
|
|
|
|
destdir="%{buildroot}" \
|
|
|
|
--install_path bindoc="%{_mandir}/man1" \
|
|
|
|
--install_path libdoc="%{_mandir}/man3"
|
2024-01-05 21:25:43 +01:00
|
|
|
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
|
|
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
|
|
|
|
sort -u > .packlist && rm -f $packlist
|
|
|
|
|
|
|
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
|
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
|
|
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:25:43 +01:00
|
|
|
%doc AUTHORS THANKS
|
|
|
|
#Changes
|
2024-01-05 21:25:43 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:25:44 +01:00
|
|
|
* Mon Apr 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16-1mamba
|
|
|
|
- update to 4.16
|
|
|
|
|
|
|
|
* Sat Mar 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.13.2-1mamba
|
|
|
|
- update to 4.13.2
|
|
|
|
|
2024-01-05 21:25:43 +01:00
|
|
|
* Wed Feb 14 2018 Automatic Build System <autodist@mambasoft.it> 4.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:25:43 +01:00
|
|
|
* Thu Aug 17 2017 Automatic Build System <autodist@mambasoft.it> 4.10_02-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:25:43 +01:00
|
|
|
* Tue Mar 21 2017 Automatic Build System <autodist@mambasoft.it> 4.09-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:25:43 +01:00
|
|
|
* Tue Dec 20 2016 Automatic Build System <autodist@mambasoft.it> 4.08-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:25:43 +01:00
|
|
|
* Sun Nov 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.05-1mamba
|
|
|
|
- update to 4.05
|
|
|
|
|
2024-01-05 21:25:43 +01:00
|
|
|
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 4.02.04-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:25:43 +01:00
|
|
|
* Wed Feb 19 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.02.03-1mamba
|
|
|
|
- package created using the webbuild interface
|