source: projects/specs/trunk/p/perl-Socket-GetAddrInfo/perl-Socket-GetAddrInfo-vl.spec @ 8680

Revision 8680, 3.4 KB checked in by iwaim, 10 years ago (diff)

perl-Socket-GetAddrInfo? 0.19-2

Line 
1Name:           perl-Socket-GetAddrInfo
2Version:        0.19
3Release:        2%{?_dist_release}
4Summary:        RFC 2553's "getaddrinfo" and "getnameinfo" functions
5
6Group:          Development/Libraries
7License:        GPL+ or Artistic
8URL:            http://search.cpan.org/dist/Socket-GetAddrInfo/
9Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Socket-GetAddrInfo-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12BuildRequires:  perl(Carp)
13BuildRequires:  perl(Exporter)
14BuildRequires:  perl(ExtUtils::CBuilder)
15BuildRequires:  perl(ExtUtils::CChecker)
16BuildRequires:  perl(Module::Build)
17BuildRequires:  perl(Module::Build::Compat)
18BuildRequires:  perl(Scalar::Util)
19BuildRequires:  perl(Socket)
20BuildRequires:  perl(Test::Exception)
21BuildRequires:  perl(Test::More)
22BuildRequires:  perl(Test::Warn)
23Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
24
25%description
26The RFC 2553 functions getaddrinfo and getnameinfo provide an abstracted
27way to convert between a pair of host name/service name and socket
28addresses, or vice versa. getaddrinfo converts names into a set of
29arguments to pass to the socket() and connect() syscalls, and getnameinfo
30converts a socket address back into its host name/service name pair.
31
32%prep
33%setup -q -n Socket-GetAddrInfo-%{version}
34
35
36%build
37%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
38make %{?_smp_mflags}
39
40
41%install
42rm -rf %{buildroot}
43make pure_install PERL_INSTALL_ROOT=%{buildroot}
44find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
45find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
46find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
47
48%{_fixperms} %{buildroot}/*
49
50
51%check
52%{?_with_tests:export I_CAN_HAS_INTERNETS=1}
53make test
54
55
56%clean
57rm -rf %{buildroot}
58
59
60%files
61%defattr(-,root,root,-)
62%doc Changes examples LICENSE README
63%{perl_vendorarch}/auto/*
64%{perl_vendorarch}/Socket*
65%{_mandir}/man3/*.3*
66
67
68%changelog
69* Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.19-2
70- build with Perl 5.16
71
72* Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.19-1
73- initial build for Vine Linux
74
75* Thu Jan 19 2012 Petr Šabata <contyk@redhat.com> - 0.19-1
76- Just updating to 0.19, as it's needed by current POE::* packages
77
78* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-5
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
80
81* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.16-4
82- Perl mass rebuild
83
84* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-3
85- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
86
87* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.16-2
88- 661697 rebuild for fixing problems with vendorach/lib
89
90* Sun Aug 22 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.16-1
91- Update to 0.16
92
93* Wed Jun  2 2010 Petr Pisar <ppisar@redhat.com> - 0.15-6
94- Rebuild against perl-5.12
95
96* Fri May 07 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.15-5
97- Add BR perl(ExtUtils::CChecker)
98- Add BR perl(Test::Warn)
99
100* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.15-2
101- Mass rebuild with perl-5.12.0
102
103* Mon Apr 19 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.15-1
104- Update to 0.15
105
106* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.12-2
107- rebuild against perl 5.10.1
108
109* Thu Jul  9 2009 kwizart < kwizart at gmail.com > - 0.12-1
110- Initial spec
Note: See TracBrowser for help on using the repository browser.