auto-import perl-Socket6-0.19-3.fc6 on branch devel from
perl-Socket6-0.19-3.fc6.src.rpm
This commit is contained in:
parent
c678ae2433
commit
7394cc95a0
@ -0,0 +1 @@
|
||||
Socket6-0.19.tar.gz
|
||||
59
perl-Socket6.spec
Normal file
59
perl-Socket6.spec
Normal file
@ -0,0 +1,59 @@
|
||||
Name: perl-Socket6
|
||||
Version: 0.19
|
||||
Release: 3%{?dist}
|
||||
Summary: IPv6 related part of the C socket.h defines and structure manipulators
|
||||
|
||||
Group: Development/Libraries
|
||||
License: BSD
|
||||
URL: http://search.cpan.org/dist/Socket6/
|
||||
Source0: http://www.cpan.org/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module supports getaddrinfo() and getnameinfo() to intend to
|
||||
enable protocol independent programing.
|
||||
If your environment supports IPv6, IPv6 related defines such as
|
||||
AF_INET6 are included.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Socket6-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog README
|
||||
%{perl_vendorarch}/Socket6*
|
||||
%{perl_vendorarch}/auto/Socket6/
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu May 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-2
|
||||
- License: BSD (http://www.opensource.org/licenses/bsd-license.php).
|
||||
|
||||
* Sat May 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-1
|
||||
- First build.
|
||||
Loading…
Reference in New Issue
Block a user