SPECS: perl-Net-Arping.spec (NEW) - spec created by pldcpan.pl - r...

paszczus paszczus at pld-linux.org
Sat Mar 29 13:43:01 CET 2008


Author: paszczus                     Date: Sat Mar 29 12:43:01 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- spec created by pldcpan.pl
- release 0.1, failed on make
- this spec is required by arping.pl script from nagios-contrib

---- Files affected:
SPECS:
   perl-Net-Arping.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Net-Arping.spec
diff -u /dev/null SPECS/perl-Net-Arping.spec:1.1
--- /dev/null	Sat Mar 29 13:43:01 2008
+++ SPECS/perl-Net-Arping.spec	Sat Mar 29 13:42:55 2008
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Net
+%define	pnam	Arping
+Summary:	Net::Arping - Ping remote host by ARP packets
+Summary(pl.UTF-8):	Net::Arping - Pingowanie zdalnego hosta poprzez pakiety ARP
+Name:		perl-Net-Arping
+Version:	0.02
+Release:	0.1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	c4d60bb746995f5c4ec827f6fc865ed8
+URL:		http://search.cpan.org/dist/Net-Arping/Arping.pm
+BuildRequires:	libnet-devel
+BuildRequires:	libpcap-devel
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The module contains function for testing remote host reachability by
+sending ARP packets.
+
+The program must be run as root or be setuid to root.
+
+# %description -l pl.UTF-8 # TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/Net/*.pm
+%dir %{perl_vendorarch}/auto/Net/Arping
+%{perl_vendorarch}/auto/Net/Arping/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Net/Arping/*.so
+%{_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  2008-03-29 12:42:55  paszczus
+- spec created by pldcpan.pl
+- release 0.1, failed on make
+- this spec is required by arping.pl script from nagios-contrib
+
================================================================


More information about the pld-cvs-commit mailing list