update to 4.05 [release 4.05-1mamba;Sun Nov 29 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 21:25:43 +01:00
parent ec773ab7e8
commit c814e1ff76

View File

@ -1,8 +1,8 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) %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 Name: clusterssh
Version: 4.02.04 Version: 4.05
Release: 1mamba Release: 1mamba
Summary: Cluster Admin Via SSH Summary: Cluster Admin Via SSH
Group: System/Libraries/Perl Group: System/Libraries/Perl
@ -10,15 +10,19 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://www.cpan.org 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 License: GPL, Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Exception-Class BuildRequires: perl-Exception-Class
BuildRequires: perl-Tk BuildRequires: perl-Tk
BuildRequires: perl-Try-Tiny BuildRequires: perl-Try-Tiny
BuildRequires: perl-X11-Protocol BuildRequires: perl-X11-Protocol
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: perl-Test-Trap
BuildRequires: perl-Test-PerlTidy
BuildRequires: perl-CPAN-Changes
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
Requires: perl-Exception-Class Requires: perl-Exception-Class
Requires: perl-Tk 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. All windows may also be typed into directly.
%prep %prep
%setup -q -n App-ClusterSSH-%{pkgver} %setup -q -n App-ClusterSSH-%{version}
%build %build
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__perl} Build.PL installdirs=vendor
%make ./Build
./Build test
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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` packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \ [ -z "$packlist" ] && exit 1 || cat $packlist | \
@ -59,9 +67,13 @@ done
%files -f .packlist %files -f .packlist
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS Changes THANKS %doc AUTHORS THANKS
#Changes
%changelog %changelog
* Sun Nov 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.05-1mamba
- update to 4.05
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 4.02.04-1mamba * Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 4.02.04-1mamba
- automatic version update by autodist - automatic version update by autodist