Changes of Revision 2
[-] | Added | perl-Net-Ping-External.spec |
x 1
2 +Name: perl-Net-Ping-External 3 +Version: 0.13 4 +Release: 1 5 +License: GPL 6 +Group: Development/Libraries/Perl 7 +Summary: Perl module Net::Ping::External 8 +URL: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/ 9 +Source0: Net-Ping-External-%{version}.tar.gz 10 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 11 +BuildRequires: glibc-devel libgcc gcc gcc-c++ perl 12 + 13 +%if 0%{?fedora_version} >= 7 14 +BuildRequires: perl-ExtUtils-MakeMaker 15 +%endif 16 + 17 +%description 18 +Cross-platform interface to ICMP "ping" utilities. 19 + 20 +%prep 21 +%setup -q -n Net-Ping-External-%{version} 22 + 23 +%build 24 +CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}" 25 +%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" 26 + 27 +%install 28 +%__make DESTDIR=%{buildroot} install 29 + 30 +### Clean up buildroot 31 +%{__rm} -rf %{buildroot}%{perl_archlib} \ 32 + %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist 33 + 34 +%clean 35 +rm -rf $RPM_BUILD_ROOT/* 36 +rm -rf $RPM_BUILD_DIR/%{name}* 37 + 38 + 39 +%files 40 +%defattr(-,root,root) 41 +%doc README 42 +%dir %{perl_vendorlib}/Net 43 +%dir %{perl_vendorlib}/Net/Ping 44 +%{perl_vendorlib}/Net/Ping/External.pm 45 +%{_mandir}/man3/Net::Ping::External.3pm* 46 + 47 +%changelog 48 +* Sun May 31 2009 Carsten Schoene <cs@linux-administrator.com> - 0.13 49 +- initial build. 50 |
||
Added | Net-Ping-External-0.13.tar.gz ^ |