From c814e1ff76d1b0cdbc0adca7663fb6cad99f53f0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:25:43 +0100 Subject: [PATCH] update to 4.05 [release 4.05-1mamba;Sun Nov 29 2015] --- clusterssh.spec | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/clusterssh.spec b/clusterssh.spec index 4af8819..c154472 100644 --- a/clusterssh.spec +++ b/clusterssh.spec @@ -1,8 +1,8 @@ %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) -%define pkgver %(echo $(echo %version | cut -d. -f1,2)_$(echo %version | cut -d. -f3)) +#% define pkgver %(echo $(echo %version | cut -d. -f1,2)_$(echo %version | cut -d. -f3)) Name: clusterssh -Version: 4.02.04 +Version: 4.05 Release: 1mamba Summary: Cluster Admin Via SSH Group: System/Libraries/Perl @@ -10,15 +10,19 @@ Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://www.cpan.org -Source: http://search.cpan.org/CPAN/authors/id/D/DU/DUNCS/App-ClusterSSH-%{pkgver}.tar.gz +Source: http://search.cpan.org/CPAN/authors/id/D/DU/DUNCS/App-ClusterSSH-%{version}.tar.gz License: GPL, Artistic ## AUTOBUILDREQ-BEGIN +BuildRequires: libperl BuildRequires: perl-Exception-Class BuildRequires: perl-Tk BuildRequires: perl-Try-Tiny BuildRequires: perl-X11-Protocol BuildRequires: perl-devel ## AUTOBUILDREQ-END +BuildRequires: perl-Test-Trap +BuildRequires: perl-Test-PerlTidy +BuildRequires: perl-CPAN-Changes Requires: perl >= %perl_major_ver Requires: perl-Exception-Class Requires: perl-Tk @@ -34,15 +38,19 @@ Any text typed into the administration console is replicated to all windows. All windows may also be typed into directly. %prep -%setup -q -n App-ClusterSSH-%{pkgver} +%setup -q -n App-ClusterSSH-%{version} %build -%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%make +%{__perl} Build.PL installdirs=vendor +./Build +./Build test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall_perl +./Build install \ + destdir="%{buildroot}" \ + --install_path bindoc="%{_mandir}/man1" \ + --install_path libdoc="%{_mandir}/man3" packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ @@ -59,9 +67,13 @@ done %files -f .packlist %defattr(-,root,root) -%doc AUTHORS Changes THANKS +%doc AUTHORS THANKS +#Changes %changelog +* Sun Nov 29 2015 Silvan Calarco 4.05-1mamba +- update to 4.05 + * Sun May 25 2014 Automatic Build System 4.02.04-1mamba - automatic version update by autodist