forked from pool/perl-IO-Socket-INET6
69 lines
1.7 KiB
RPMSpec
69 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package perl-IO-Socket-INET6 (Version 2.51 )
|
|
#
|
|
# Copyright (c) 2005 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://www.suse.de/feedback/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: perl-IO-Socket-INET6
|
|
BuildRequires: perl-Socket6
|
|
Version: 2.51
|
|
Release: 2
|
|
Requires: perl = %{perl_version}
|
|
Autoreqprov: on
|
|
URL: http://www.cpan.org/authors/id/M/MO/MONDEJAR
|
|
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
|
|
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 -n perl-IO-Socket-INET6
|
|
* 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
|