SPECS: perl-Net-TcpDumpLog.spec (NEW) - new from Tomasz Kuc tomalo...
zbyniu
zbyniu at pld-linux.org
Mon Jan 8 14:04:25 CET 2007
Author: zbyniu Date: Mon Jan 8 13:04:25 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new from Tomasz Kuc tomalo at wp.pl
---- Files affected:
SPECS:
perl-Net-TcpDumpLog.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Net-TcpDumpLog.spec
diff -u /dev/null SPECS/perl-Net-TcpDumpLog.spec:1.1
--- /dev/null Mon Jan 8 14:04:25 2007
+++ SPECS/perl-Net-TcpDumpLog.spec Mon Jan 8 14:04:20 2007
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.perl
+%define pdir Net
+%define pnam TcpDumpLog
+Summary: Net::TcpDumpLog perl module
+Summary(pl): Moduł perla NET::TcpDumpLog
+Name: perl-Net-TcpDumpLog
+Version: 0.11
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDGREGG/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Net::TcpDumpLog - Module for read the data and headers from tcpdump
+logs.
+
+%description -l pl
+Net::TcpDumpLog - Moduł do odczytu danych i nagłówków z logów
+tcpdump-a.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install example0* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_examplesdir}/%{name}-%{version}
+%{perl_vendorlib}/Net/TcpDumpLog.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/01/08 13:04:20 zbyniu
+- new from Tomasz Kuc tomalo at wp.pl
+
================================================================
More information about the pld-cvs-commit
mailing list