2024-01-06 08:35:16 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Authen-Radius
|
2024-12-17 17:55:49 +01:00
|
|
|
Version: 0.33
|
|
|
|
Release: 1mamba
|
2024-01-06 08:35:16 +01:00
|
|
|
Summary: Authen::Radius - Provide simple Radius client facilities
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:35:17 +01:00
|
|
|
URL: https://www.cpan.org/
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/Authen/Authen-Radius-%{version}.tar.gz
|
2024-01-06 08:35:16 +01:00
|
|
|
License: Artistic
|
2024-01-06 08:35:17 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
2024-01-06 08:35:16 +01:00
|
|
|
BuildRequires: perl-Data-HexDump
|
2024-01-06 08:35:17 +01:00
|
|
|
BuildRequires: perl-Net-IP
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:35:17 +01:00
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 08:35:17 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
2024-01-06 08:35:16 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is RadiusPerl version %{version}.
|
|
|
|
RadiusPerl is a Perl 5 module (Radius.pm) which allows you to communicate with a Radius server from Perl.
|
|
|
|
You can just authenticate usernames/passwords via Radius, or comletely imitate AAA requests and process server response.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Authen-Radius-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
|
|
|
#make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
|
|
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
|
|
|
sort -u > .packlist && rm $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}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-12-17 17:55:49 +01:00
|
|
|
* Mon Dec 16 2024 Automatic Build System <autodist@openmamba.org> 0.33-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:35:17 +01:00
|
|
|
* Mon Apr 17 2023 Sdk Build System <sdk@mambasoft.it> 0.32-2mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 08:35:17 +01:00
|
|
|
* Sun Jan 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.32-1mamba
|
|
|
|
- update to 0.32
|
|
|
|
|
2024-01-06 08:35:16 +01:00
|
|
|
* Sat Apr 27 2013 Automatic Build System <autodist@mambasoft.it> 0.22-1mamba
|
|
|
|
- update to 0.22
|
|
|
|
|
|
|
|
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13-3mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Mon Nov 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Nov 26 2007 Aleph0 <aleph0@openmamba.org> 0.13-1mamba
|
|
|
|
- update to 0.13
|
|
|
|
|
|
|
|
* Fri Oct 15 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-1qilnx
|
|
|
|
- package created by autospec
|