From 8bd3897740ee1a02bb81e798a01b5437b3cd1f6f Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:24:28 +0100 Subject: [PATCH] automatic version update by autodist [release 1.26-1mamba;Wed Jan 09 2013] --- README.md | 2 ++ perl-Net-IP.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 perl-Net-IP.spec diff --git a/README.md b/README.md index 6f65ab8..5f7456d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Net-IP +Net::IP - Perl extension for manipulating IPv4/IPv6 addresses. + diff --git a/perl-Net-IP.spec b/perl-Net-IP.spec new file mode 100644 index 0000000..445cd8f --- /dev/null +++ b/perl-Net-IP.spec @@ -0,0 +1,60 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Net-IP +Version: 1.26 +Release: 1mamba +Summary: Net::IP - Perl extension for manipulating IPv4/IPv6 addresses +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/MA/MANU/Net-IP-%{version}.tar.gz +License: BSD +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Net::IP - Perl extension for manipulating IPv4/IPv6 addresses. + +%prep +%setup -q -n Net-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 Jan 09 2013 Automatic Build System 1.26-1mamba +- automatic version update by autodist + +* Tue Nov 13 2012 Silvan Calarco 1.25-3mamba +- perl 5.16 mass rebuild + +* Wed Nov 05 2008 Silvan Calarco 1.25-2mamba +- automatic rebuild by autodist + +* Wed May 09 2007 Silvan Calarco 1.25-1mamba +- package created by autospec