Search
j0ke.net Open Build Service
>
Projects
>
devel
:
perl
>
perl-Net-Ping-External
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
perl-Net-Ping-External.spec
@@ -0,0 +1,48 @@ +Name: perl-Net-Ping-External +Version: 0.13 +Release: 1 +License: GPL +Group: Development/Libraries/Perl +Summary: Perl module Net::Ping::External +URL: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/ +Source0: Net-Ping-External-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: glibc-devel libgcc gcc gcc-c++ perl + +%if 0%{?fedora_version} >= 7 +BuildRequires: perl-ExtUtils-MakeMaker +%endif + +%description +Cross-platform interface to ICMP "ping" utilities. + +%prep +%setup -q -n Net-Ping-External-%{version} + +%build +CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}" +%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" + +%install +%__make DESTDIR=%{buildroot} install + +### Clean up buildroot +%{__rm} -rf %{buildroot}%{perl_archlib} \ + %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist + +%clean +rm -rf $RPM_BUILD_ROOT/* +rm -rf $RPM_BUILD_DIR/%{name}* + + +%files +%defattr(-,root,root) +%doc README +%dir %{perl_vendorlib}/Net +%dir %{perl_vendorlib}/Net/Ping +%{perl_vendorlib}/Net/Ping/External.pm +%{_mandir}/man3/Net::Ping::External.3pm* + +%changelog +* Sun May 31 2009 Carsten Schoene <cs@linux-administrator.com> - 0.13 +- initial build.
Added
Net-Ping-External-0.13.tar.gz
^