2007-01-15 23:31:50 +00:00
|
|
|
#
|
2011-11-17 15:48:35 +00:00
|
|
|
# spec file for package perl-Socket6
|
2007-01-15 23:31:50 +00:00
|
|
|
#
|
2018-01-22 21:17:04 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:50 +00:00
|
|
|
#
|
2008-11-03 13:17:18 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:31:50 +00:00
|
|
|
#
|
|
|
|
|
2008-11-03 13:17:18 +00:00
|
|
|
|
2018-01-22 21:17:04 +00:00
|
|
|
%define cpan_name Socket6
|
2008-11-03 13:17:18 +00:00
|
|
|
Name: perl-Socket6
|
2018-01-22 21:17:04 +00:00
|
|
|
Version: 0.28
|
2013-12-09 11:24:05 +00:00
|
|
|
Release: 0
|
2013-12-09 11:22:19 +00:00
|
|
|
Summary: IPv6 Sockets (Perl Module)
|
2012-01-13 13:49:24 +00:00
|
|
|
License: BSD-3-Clause
|
2008-11-03 13:17:18 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2013-12-09 11:24:05 +00:00
|
|
|
Url: http://search.cpan.org/dist/Socket6/
|
|
|
|
Source: http://www.cpan.org/authors/id/U/UM/UMEMOTO/%{cpan_name}-%{version}.tar.gz
|
2010-10-19 11:13:19 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:49:57 +00:00
|
|
|
BuildRequires: perl-macros
|
2018-01-22 21:17:04 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:31:50 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The IPv6 related part of the C socket.h defines and structure
|
|
|
|
manipulators.
|
|
|
|
|
|
|
|
%prep
|
2018-01-22 21:17:04 +00:00
|
|
|
%setup -q -n Socket6-%{version}
|
2007-01-15 23:31:50 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-12 11:03:56 +00:00
|
|
|
make %{?_smp_mflags}
|
2018-01-22 21:17:04 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make %{?_smp_mflags} test
|
2007-01-15 23:31:50 +00:00
|
|
|
|
|
|
|
%install
|
2018-01-22 21:17:04 +00:00
|
|
|
make DESTDIR=%{buildroot} install_vendor
|
2007-01-15 23:31:50 +00:00
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{perl_vendorarch}/auto/Socket6
|
|
|
|
%{perl_vendorarch}/Socket6.pm
|
2018-01-22 21:17:04 +00:00
|
|
|
%{_mandir}/man3/Socket6.3pm%{ext_man}
|
2007-01-15 23:31:50 +00:00
|
|
|
%doc MANIFEST README ChangeLog
|
|
|
|
|
2008-11-03 13:17:18 +00:00
|
|
|
%changelog
|