SPECS: perl-Net-CDP.spec - pl, generic URL, missing dir

qboosh qboosh at pld-linux.org
Fri Mar 16 09:28:58 CET 2007


Author: qboosh                       Date: Fri Mar 16 08:28:58 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, generic URL, missing dir

---- Files affected:
SPECS:
   perl-Net-CDP.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-Net-CDP.spec
diff -u SPECS/perl-Net-CDP.spec:1.1 SPECS/perl-Net-CDP.spec:1.2
--- SPECS/perl-Net-CDP.spec:1.1	Mon Mar  5 14:28:35 2007
+++ SPECS/perl-Net-CDP.spec	Fri Mar 16 09:28:53 2007
@@ -7,21 +7,22 @@
 %define	pdir	Net
 %define	pnam	CDP
 Summary:	Net::CDP - Cisco Discovery Protocol (CDP) advertiser/listener
-#Summary(pl):	
+Summary(pl.UTF-8):	Net::CDP - rozgłaszający/nasłuchujący dla protokołu Cisco Discovery Protocol
 Name:		perl-Net-CDP
 Version:	0.09
 Release:	0.1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0:	http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	4cd5e76cae8fbd47591579db749ca2aa
+URL:		http://search.cpan.org/dist/Net-CDP/
+BuildRequires:	libnet-devel >= 1:1.1.0
+BuildRequires:	libpcap-devel
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
-BuildRequires:	perl(Carp::Clan)
-BuildRequires:	libpcap-devel
-BuildRequires:	libnet-devel >= 1.1.0
+BuildRequires:	perl-Carp-Clan
 %endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -29,26 +30,35 @@
 The Net::CDP module implements an advertiser/listener for the Cisco
 Discovery Protocol.
 
-CDP is a proprietary Cisco protocol for discovering devices on a network. A
-typical CDP implementation sends periodic CDP packets on every network
-port. It might also listen for packets for advertisements sent by neighboring
-devices.
-
-A Net::CDP object represents an advertiser/listener for a single network
-port. It can send and receive individual CDP packets, each represented by a
-Net::CDP::Packet object.
+CDP is a proprietary Cisco protocol for discovering devices on a
+network. A typical CDP implementation sends periodic CDP packets on
+every network port. It might also listen for packets for
+advertisements sent by neighboring devices.
+
+A Net::CDP object represents an advertiser/listener for a single
+network port. It can send and receive individual CDP packets, each
+represented by a Net::CDP::Packet object.
+
+To manage multiple ports simultaneously, you might like to take a look
+at Net::CDP::Manager.
+
+%description -l pl.UTF-8
+Moduł Net::CDP jest implementacją rozgłaszającego/nasłuchującego dla
+protokołu Cisco Discovery Protocol.
+
+CDP to własnościowy protokół Cisco do wykrywania urządzeń w sieci.
+Typowa implementacja CDP wysyła okresowe pakiety CDP na każdym porcie
+sieciowym. Może także nasłuchiwać zbierając pakiety rozgłaszane przez
+sąsiednie urządzenia.
+
+Obiekt Net::CDP reprezentuje rozgłaszającego/nasłuchującego dla
+pojedynczego portu sieciowego. Może wysyłać i odbierać poszczególne
+pakiety CDP, z których każdy jest reprezentowany przez obiekt
+Net::CDP::Packet.
 
-To manage multiple ports simultaneously, you might like to take a look at
+Do zarządzania jednocześnie wieloma portami można użyć modułu
 Net::CDP::Manager.
 
-If you are upgrading code from an older version of Net::CDP, please read the
-/"UPGRADING FROM PREVIOUS VERSIONS" section below.
-
-
-
-# %description -l pl
-# TODO
-
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
@@ -65,8 +75,9 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
+
 %{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-mv $RPM_BUILD_ROOT%{perl_vendorarch}/Net/example.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+mv $RPM_BUILD_ROOT%{perl_vendorarch}/Net/example.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -75,9 +86,10 @@
 %defattr(644,root,root,755)
 %doc Changes README
 %{perl_vendorarch}/Net/*.pm
+%dir %{perl_vendorarch}/Net/CDP
+%{perl_vendorarch}/Net/CDP/*.pm
 %dir %{perl_vendorarch}/auto/Net/CDP
 %{perl_vendorarch}/auto/Net/CDP/*.bs
-%{perl_vendorarch}/Net/CDP/*.pm
 %attr(755,root,root) %{perl_vendorarch}/auto/Net/CDP/*.so
 %{_examplesdir}/%{name}-%{version}
 %{_mandir}/man3/*
@@ -88,6 +100,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/03/16 08:28:53  qboosh
+- pl, generic URL, missing dir
+
 Revision 1.1  2007/03/05 13:28:35  agaran
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Net-CDP.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list