/[smeserver]/rpms/perl-IO-Socket-IP/sme10/perl-IO-Socket-IP.spec
ViewVC logotype

Annotation of /rpms/perl-IO-Socket-IP/sme10/perl-IO-Socket-IP.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Feb 9 13:36:07 2016 UTC (8 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-IO-Socket-IP-0_37-1_el7_sme, HEAD
sme10 branch for perl-IO-Socket-IP

1 vip-ire 1.1 Name: perl-IO-Socket-IP
2     Version: 0.37
3     Release: 1%{?dist}
4     Summary: Family-neutral IP socket supporting both IPv4 and IPv6
5     License: GPL+ or Artistic
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/IO-Socket-IP/
8     Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildArch: noarch
11     BuildRequires: perl(Module::Build)
12     BuildRequires: perl(Socket) >= 1.97
13     BuildRequires: perl(Test::More) >= 0.88
14     Requires: perl(Socket) >= 1.97
15     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16    
17     %description
18     This module provides a protocol-independent way to use IPv4 and IPv6
19     sockets, intended as a replacement for IO::Socket::INET. Most constructor
20     arguments and methods are provided in a backward-compatible way. For a
21     list of known differences, see the IO::Socket::INET INCOMPATIBILITES
22     section below.
23    
24     %prep
25     %setup -q -n IO-Socket-IP-%{version}
26    
27     %build
28     %{__perl} Build.PL installdirs=vendor
29     ./Build
30    
31     %install
32     rm -rf $RPM_BUILD_ROOT
33    
34     ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
35     find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
36    
37     %{_fixperms} $RPM_BUILD_ROOT/*
38    
39     %check
40     ./Build test
41    
42     %clean
43     rm -rf $RPM_BUILD_ROOT
44    
45     %files
46     %defattr(-,root,root,-)
47     %doc Changes examples LICENSE META.json README
48     %{perl_vendorlib}/*
49     %{_mandir}/man3/*
50    
51     %changelog
52     * Tue Feb 09 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.37-1
53     - First build using cpanspec

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed