From 14c9bfa8b5ad76eecb74410b772664d55ead282a Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:35:16 +0100 Subject: [PATCH] update to 0.22 [release 0.22-1mamba;Sat Apr 27 2013] --- README.md | 4 +++ perl-Authen-Radius.spec | 66 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 perl-Authen-Radius.spec diff --git a/README.md b/README.md index 93d41e8..797be89 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-Authen-Radius +This is RadiusPerl version 0.22. +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. + diff --git a/perl-Authen-Radius.spec b/perl-Authen-Radius.spec new file mode 100644 index 0000000..af06b23 --- /dev/null +++ b/perl-Authen-Radius.spec @@ -0,0 +1,66 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Authen-Radius +Version: 0.22 +Release: 1mamba +Summary: Authen::Radius - Provide simple Radius client facilities +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/M/MA/MANOWAR/RadiusPerl-%{version}.tar.gz +License: Artistic +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Data-HexDump +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +* Sat Apr 27 2013 Automatic Build System 0.22-1mamba +- update to 0.22 + +* Tue Nov 13 2012 Silvan Calarco 0.13-3mamba +- perl 5.16 mass rebuild + +* Mon Nov 03 2008 Silvan Calarco 0.13-2mamba +- automatic rebuild by autodist + +* Mon Nov 26 2007 Aleph0 0.13-1mamba +- update to 0.13 + +* Fri Oct 15 2004 Silvan Calarco 0.11-1qilnx +- package created by autospec