rpms/perl-Net-Ping-External/F-9 perl-Net-Ping-External.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: mitr

Update of /cvs/pkgs/rpms/perl-Net-Ping-External/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11356

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Net-Ping-External.spec 
Log Message:
Import perl-Net-Ping-External-0.12-1.



--- NEW FILE perl-Net-Ping-External.spec ---
Name:           perl-Net-Ping-External
Version:        0.12
Release:        1%{?dist}
Summary:        Cross-platform interface to ICMP "ping" utilities
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Net-Ping-External/
Source0:        http://www.cpan.org/modules/by-module/Net/Net-Ping-External-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Net::Ping::External is a module which interfaces with the "ping" command on
many systems. It presently provides a single function, ping(), that takes
in a hostname and (optionally) a timeout and returns true if the host is
alive, and false otherwise. Unless you have the ability (and willingness)
to run your scripts as the superuser on your system, this module will
probably provide more accurate results than Net::Ping will.

%prep
%setup -q -n Net-Ping-External-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

for i in Changes README ToDo; do
    sed -i 's/\r//' "$i"
done

%check
%{?_with_network_tests: make test }

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README ToDo
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed Jul 30 2008 Miloslav TrmaÄ? <mitr@xxxxxxxxxx> 0.12-1
- Initial package.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-Ping-External/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Aug 2008 17:40:40 -0000	1.1
+++ .cvsignore	6 Aug 2008 22:46:03 -0000	1.2
@@ -0,0 +1 @@
+Net-Ping-External-0.12.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-Ping-External/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Aug 2008 17:40:40 -0000	1.1
+++ sources	6 Aug 2008 22:46:03 -0000	1.2
@@ -0,0 +1 @@
+29c6cd74081861f4bffe1f83943f5792  Net-Ping-External-0.12.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux