2007-01-15 23:30:54 +00:00
|
|
|
#
|
2008-02-25 16:36:14 +00:00
|
|
|
# spec file for package perl-IO-Socket-INET6 (Version 2.54)
|
2007-01-15 23:30:54 +00:00
|
|
|
#
|
2008-02-22 00:43:55 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:54 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2008-02-22 00:43:55 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:54 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-22 00:43:55 +00:00
|
|
|
|
|
|
|
Name: perl-IO-Socket-INET6
|
|
|
|
BuildRequires: perl-Socket6
|
2008-02-25 16:36:14 +00:00
|
|
|
Version: 2.54
|
2008-02-22 00:43:55 +00:00
|
|
|
Release: 1
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Url: http://cpan.org/modules/by-module/IO/
|
|
|
|
License: Artistic License
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Source: IO-Socket-INET6-%{version}.tar.bz2
|
|
|
|
Summary: Provides an object interface to creating and using sockets.
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:30:54 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
IO::Socket::INET6 provides an object interface to creating and using
|
|
|
|
sockets in both AF_INET|AF_INET6 domain. It is built upon the
|
|
|
|
IO::Socket interface and inherits all the methods defined by
|
|
|
|
IO::Socket.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Rafael Martinez Torres <rafael.martinez@novagnet.com>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n IO-Socket-INET6-%{version} -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
#exclude this test as it needs IPv6 network
|
|
|
|
mv t/io_sock6.t t/io_sock6.tt
|
2008-02-22 00:43:55 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:30:54 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc ChangeLog README MANIFEST
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorlib}/IO
|
|
|
|
%{perl_vendorarch}/auto/IO
|
|
|
|
/var/adm/perl-modules/*
|
|
|
|
|
2008-02-22 00:43:55 +00:00
|
|
|
%changelog
|
2008-02-25 16:36:14 +00:00
|
|
|
* Mon Feb 25 2008 anicka@suse.cz
|
|
|
|
- update to 2.54
|
|
|
|
* Added pack_sockaddr_in6_all to the imports from Socket6 to fix
|
|
|
|
the "configure" sub in several cases. Added t/configure6.t to
|
|
|
|
test it.
|
2008-02-22 00:43:55 +00:00
|
|
|
* Thu Feb 21 2008 anicka@suse.cz
|
|
|
|
- update to 2.53
|
|
|
|
* Converted to Build.PL and placed INET6.pm under lib/.
|
|
|
|
* Added a "repository" URL to the POD.
|
|
|
|
* Added the pod.t and pod-coverage.t files and we now have full
|
|
|
|
POD coverage.
|
|
|
|
* Added "use warnings" to IO::Socket::INET6.
|
|
|
|
* bugfixes, test fixes
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:30:54 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-02-22 00:43:55 +00:00
|
|
|
* Wed Sep 28 2005 dmueller@suse.de
|
2007-01-15 23:30:54 +00:00
|
|
|
- add norootforbuild
|
2008-02-22 00:43:55 +00:00
|
|
|
* Thu Sep 15 2005 anicka@suse.cz
|
2007-01-15 23:30:54 +00:00
|
|
|
- package created
|