From fe7429afde2c69b1768b8c5bc4e10a19de6f580d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:26:20 +0100 Subject: [PATCH] automatic update by autodist [release 4.071-1mamba;Wed Dec 18 2013] --- README.md | 2 ++ perl-NetAddr-IP.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 perl-NetAddr-IP.spec diff --git a/README.md b/README.md index 582ec9c..6ff3f09 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-NetAddr-IP +NetAddr::IP - Manages IPv4 and IPv6 addresses and subnets . + diff --git a/perl-NetAddr-IP.spec b/perl-NetAddr-IP.spec new file mode 100644 index 0000000..e3a08ee --- /dev/null +++ b/perl-NetAddr-IP.spec @@ -0,0 +1,78 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-NetAddr-IP +Version: 4.071 +Release: 1mamba +Summary: NetAddr::IP - Manages IPv4 and IPv6 addresses and subnets +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-%{version}.tar.gz +License: BSD +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +NetAddr::IP - Manages IPv4 and IPv6 addresses and subnets . + +%prep +%setup -q -n NetAddr-IP-%{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 +* Wed Dec 18 2013 Automatic Build System 4.071-1mamba +- automatic update by autodist + +* Sat Sep 14 2013 Automatic Build System 4.070-1mamba +- automatic update by autodist + +* Sun May 26 2013 Automatic Build System 4.069-1mamba +- automatic update by autodist + +* Fri Apr 05 2013 Automatic Build System 4.068-1mamba +- automatic version update by autodist + +* Mon Apr 01 2013 Automatic Build System 4.067-1mamba +- automatic version update by autodist + +* Fri Feb 08 2013 Automatic Build System 4.066-1mamba +- update to 4.066 + +* Sat Nov 10 2012 Silvan Calarco 4.007-2mamba +- perl 5.16 mass rebuild + +* Fri Feb 06 2009 Silvan Calarco 4.007-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 4.004-2mamba +- automatic rebuild by autodist + +* Wed May 09 2007 Silvan Calarco 4.004-1mamba +- package created by autospec