%define real_name Net-BGP Summary: Net-BGP module for perl Name: perl-%{real_name} Version: 0.08 Release: %mkrel 4 License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Net/%{real_name}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRequires: perl(Test::Pod) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description This module is an implementation of the BGP-4 inter-domain routing protocol. It encapsulates all of the functionality needed to establish and maintain a BGP peering session and exchange routing update information with the peer. %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Net/BGP %{perl_vendorlib}/Net/BGP.pm %{_mandir}/*/* %changelog * Wed May 09 2007 Oden Eriksson <oeriksson@mandriva.com> 0.08-4mdv2008.0 + Revision: 25448 - rebuild * Tue May 08 2007 Olivier Thauvin <nanardon@mandriva.org> 0.08-3mdv2008.0 + Revision: 25293 - rebuild * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.08-2mdk - Fix SPEC according to Perl Policy - BuildRequires - Source URL - use mkrel * Wed Jul 13 2005 Oden Eriksson <oeriksson@mandriva.com> 0.08-1mdk - initial Mandriva package