automatic update by autodist [release 0.24-1mamba;Sun Dec 08 2013]

This commit is contained in:
Automatic Build System 2024-01-06 09:36:13 +01:00
parent caf46add59
commit 50a8f01a71
2 changed files with 76 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# perl-Socket6
IPv6 related part of the C socket.h defines and structure manupulators.

73
perl-Socket6.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 0.24-1mamba
- automatic update by autodist
* Sat Nov 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.23-2mamba
- perl 5.16 rebuild
* Fri Feb 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.23-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22-2mamba
- automatic rebuild by autodist
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.22-1mamba
- update to 0.22
* Fri Mar 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19-2mamba
- change release to mamba
* Thu Mar 29 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19-1qilnx
- package created by autospec