From 50a8f01a7156dda868a471f833131b121cd7879e Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:36:13 +0100 Subject: [PATCH] automatic update by autodist [release 0.24-1mamba;Sun Dec 08 2013] --- README.md | 3 ++ perl-Socket6.spec | 73 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 perl-Socket6.spec diff --git a/README.md b/README.md index 53777b5..9589953 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # perl-Socket6 +IPv6 related part of the C socket.h defines and structure manupulators. + + diff --git a/perl-Socket6.spec b/perl-Socket6.spec new file mode 100644 index 0000000..f918acb --- /dev/null +++ b/perl-Socket6.spec @@ -0,0 +1,73 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Socket6 +Version: 0.24 +Release: 1mamba +Summary: Socket6 - IPv6 related part of the C socket.h defines and structure manupulators +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.gz +License: GPL +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +IPv6 related part of the C socket.h defines and structure manupulators. + + +%prep +%setup -q -n Socket6-%{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 +* Sun Dec 08 2013 Automatic Build System 0.24-1mamba +- automatic update by autodist + +* Sat Nov 10 2012 Silvan Calarco 0.23-2mamba +- perl 5.16 rebuild + +* Fri Feb 06 2009 Silvan Calarco 0.23-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 0.22-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 0.22-1mamba +- update to 0.22 + +* Fri Mar 30 2007 Silvan Calarco 0.19-2mamba +- change release to mamba + +* Thu Mar 29 2007 Silvan Calarco 0.19-1qilnx +- package created by autospec