SPECS: perl-POE-Component-Pcap.spec - descs, pl, cleaned up the mess
qboosh
qboosh at pld-linux.org
Sun Aug 20 13:31:16 CEST 2006
Author: qboosh Date: Sun Aug 20 11:31:16 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- descs, pl, cleaned up the mess
---- Files affected:
SPECS:
perl-POE-Component-Pcap.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/perl-POE-Component-Pcap.spec
diff -u SPECS/perl-POE-Component-Pcap.spec:1.1 SPECS/perl-POE-Component-Pcap.spec:1.2
--- SPECS/perl-POE-Component-Pcap.spec:1.1 Mon Aug 7 00:00:22 2006
+++ SPECS/perl-POE-Component-Pcap.spec Sun Aug 20 13:31:11 2006
@@ -2,40 +2,42 @@
#
# Conditional build:
%bcond_without autodeps # don't BR packages needed only for resolving deps
-%bcond_without tests # do not perform "make test"
+%bcond_without tests # do not perform "make test"
#
%include /usr/lib/rpm/macros.perl
%define pdir POE
%define pnam Component-Pcap
-Summary: perl(POE::Component::Pcap)
+Summary: POE::Component::Pcap - POE interface to Net::Pcap
+Summary(pl): POE::Component::Pcap - interfejs POE do Net::Pcap
Name: perl-POE-Component-Pcap
Version: 0.04
Release: 0.1
-# note if it is "same as perl"
-License: (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+# 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-md5: 11c6e6babcb8ee0b6a3c247c04059dc1
-#Patch0: %{name}
-# most of CPAN modules have generic URL (substitute pdir and pnam here)
-#URL: http://search.cpan.org/dist/%{pdir}-%{pnam}
+URL: http://search.cpan.org/dist/POE-Component-Pcap/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-#BuildRequires: -
%if %{with autodeps} || %{with tests}
-BuildRequires: perl-NetPacket > 0.01
-#BuildRequires: perl-
+BuildRequires: perl-Net-Pcap >= 0.04
+BuildRequires: perl-NetPacket >= 0.01
+BuildRequires: perl-POE >= 0.26
%endif
-#Requires: -
-#Provides: -
-#Obsoletes: -
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _noautoreq 'perl(anything_fake_or_conditional)'
-
%description
-#
+POE::Component::Pcap provides a wrapper for using the Net::Pcap module
+from POE programs. The component creates a separate session which
+posts events to a specified session and state when packets are
+available.
+
+%description -l pl
+POE::Component::Pcap dostarcza wrapper do używania modułu Net::Pcap z
+poziomu programów POE. Komponent ten tworzy oddzielną sesję wysyłającą
+zdarzenia do określonej sesji i stanu, kiedy pakiety są dostępne.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -54,8 +56,8 @@
%{__make} pure_install \
DESTDIR=$RPM_BUILD_ROOT
-%{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-%{__install} eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -74,6 +76,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/08/20 11:31:11 qboosh
+- descs, pl, cleaned up the mess
+
Revision 1.1 2006/08/06 22:00:22 agaran
- initial, version 0.04, rel 0.1, builds here, tests are broken (require uid0)
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/perl-POE-Component-Pcap.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list