packages: perl-Socket-GetAddrInfo/perl-Socket-GetAddrInfo.spec - shortened ...

qboosh qboosh at pld-linux.org
Sun Mar 6 20:33:26 CET 2011


Author: qboosh                       Date: Sun Mar  6 19:33:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- shortened description (internal details not needed here), added pl

---- Files affected:
packages/perl-Socket-GetAddrInfo:
   perl-Socket-GetAddrInfo.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/perl-Socket-GetAddrInfo/perl-Socket-GetAddrInfo.spec
diff -u packages/perl-Socket-GetAddrInfo/perl-Socket-GetAddrInfo.spec:1.6 packages/perl-Socket-GetAddrInfo/perl-Socket-GetAddrInfo.spec:1.7
--- packages/perl-Socket-GetAddrInfo/perl-Socket-GetAddrInfo.spec:1.6	Fri Feb 25 19:27:12 2011
+++ packages/perl-Socket-GetAddrInfo/perl-Socket-GetAddrInfo.spec	Sun Mar  6 20:33:21 2011
@@ -7,14 +7,14 @@
 %define	pdir	Socket
 %define	pnam	GetAddrInfo
 Summary:	Socket::GetAddrInfo - RFC 2553's getaddrinfo and getnameinfo functions
-#Summary(pl.UTF-8):
+Summary(pl.UTF-8):	Socket::GetAddrInfo - funkcje getaddrinfo i getnameinfo zgodne z RFC 2553
 Name:		perl-Socket-GetAddrInfo
 Version:	0.20
 Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Socket-GetAddrInfo-%{version}.tar.gz
+Source0:	http://www.cpan.org/modules/by-module/Socket/PEVANS/Socket-GetAddrInfo-%{version}.tar.gz
 # Source0-md5:	6fd3dc7f0ce9ca20a540372711533472
 URL:		http://search.cpan.org/dist/Socket-GetAddrInfo/
 BuildRequires:	perl-ExtUtils-CChecker >= 0.06
@@ -31,27 +31,12 @@
 getnameinfo converts a socket address back into its host name/service
 name pair.
 
-These functions provide a useful interface for performing either of
-these name resolution operation, without having to deal with IPv4/IPv6
-transparency, or whether the underlying host can support IPv6 at all,
-or other such issues. However, not all platforms can support the
-underlying calls at the C layer, which means a dilema for authors
-wishing to write forward-compatible code. Either to support these
-functions, and cause the code not to work on older platforms, or stick
-to the older "legacy" resolvers such as gethostbyname(), which means
-the code becomes more portable.
-
-This module attempts to solve this problem, by detecting at
-compiletime whether the underlying OS will support these functions,
-and only compiling the XS code if it can. At runtime, when the module
-is loaded, if the XS implementation is not available, emulations of
-the functions using the legacy resolver functions instead. The
-emulations support the same interface as the real functions, and
-behave as close as is resonably possible to emulate using the legacy
-resolvers. See below for details on the limits of this emulation.
-
-# %description -l pl.UTF-8
-# TODO
+%description -l pl.UTF-8
+Zgodne z RFC 2553 funkcje getaddrinfo i getnameinfo udostępniają
+abstrakcyjne metody do konwersji pary nazw hosta i usługi na adresy
+gniazda i z powrotem. getaddrinfo konwertuje nazwy na zbiór argumentów
+do przekazania funkcjom socket() i connect(), natomiast getnameinfo
+przekształca adres gniazda z powrotem na parę nazw hosta i usługi.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -75,18 +60,19 @@
 %files
 %defattr(644,root,root,755)
 %doc Changes README
+%attr(755,root,root) %{_bindir}/getaddrinfo
+%attr(755,root,root) %{_bindir}/getnameinfo
 %dir %{perl_vendorarch}/Socket
-%{perl_vendorarch}/Socket/*.pm
-%dir %{perl_vendorarch}/auto/Socket
-%dir %{perl_vendorarch}/auto/Socket/GetAddrInfo
-%{perl_vendorarch}/auto/Socket/GetAddrInfo/*.bs
-%attr(755,root,root) %{perl_vendorarch}/auto/Socket/GetAddrInfo/*.so
+%{perl_vendorarch}/Socket/GetAddrInfo.pm
 %dir %{perl_vendorarch}/Socket/GetAddrInfo
 %{perl_vendorarch}/Socket/GetAddrInfo/*.pm
-%{_mandir}/man3/*
-%{_mandir}/man1/get*info.*
-%attr(755,root,root) %{_bindir}/getaddrinfo
-%attr(755,root,root) %{_bindir}/getnameinfo
+%dir %{perl_vendorarch}/auto/Socket
+%dir %{perl_vendorarch}/auto/Socket/GetAddrInfo
+%{perl_vendorarch}/auto/Socket/GetAddrInfo/GetAddrInfo.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Socket/GetAddrInfo/GetAddrInfo.so
+%{_mandir}/man1/getaddrinfo.1p*
+%{_mandir}/man1/getnameinfo.1p*
+%{_mandir}/man3/Socket::GetAddrInfo*.3pm*
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -94,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2011/03/06 19:33:21  qboosh
+- shortened description (internal details not needed here), added pl
+
 Revision 1.6  2011/02/25 18:27:12  sparky
 - updated to: 0.20
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-Socket-GetAddrInfo/perl-Socket-GetAddrInfo.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list