perl-IO-Socket-INET6/perl-IO-Socket-INET6.spec

85 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-IO-Socket-INET6 (Version 2.54)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-IO-Socket-INET6
BuildRequires: perl-Socket6
Version: 2.54
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
%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
%check
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/*
%changelog
* 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.
* 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
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Thu Sep 15 2005 anicka@suse.cz
- package created