rpms/perl-Net-Patricia/devel perl-Net-Patricia.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Mon Oct 24 15:11:42 UTC 2005


Author: orion

Update of /cvs/extras/rpms/perl-Net-Patricia/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20444/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Net-Patricia.spec 
Log Message:
auto-import perl-Net-Patricia-1.010-1 on branch devel from perl-Net-Patricia-1.010-1.src.rpm


--- NEW FILE perl-Net-Patricia.spec ---
Name:           perl-Net-Patricia
Version:        1.010
Release:        1%{?dist}
Summary:        Patricia Trie perl module for fast IP address lookups
License:        GPL
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Net-Patricia/
Source0:        http://www.cpan.org/modules/by-module/Net/Net-Patricia-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module uses a Patricia Trie data structure to quickly perform IP
address prefix matching for applications such as IP subnet, network or
routing table lookups.  The data structure is based on a radix tree using a
radix of two, so sometimes you see patricia implementations called "radix"
as well.  The term "Trie" is derived from the word "retrieval" but is
pronounced like "try".  Patricia stands for "Practical Algorithm to
Retrieve Information Coded as Alphanumeric", and was first suggested for
routing table lookups by Van Jacobsen.  Patricia Trie performance
characteristics are well-known as it has been employed for routing table
lookups within the BSD kernel since the 4.3 Reno release.

%prep
%setup -q -n Net-Patricia-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
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 -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;

chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYING Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Net*
%{_mandir}/man3/*

%changelog
* Tue Oct 11 2005 Orion Poplawski 1.010-1
- Initial Fedora Extras release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-Patricia/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	24 Oct 2005 15:10:55 -0000	1.1
+++ .cvsignore	24 Oct 2005 15:11:40 -0000	1.2
@@ -0,0 +1 @@
+Net-Patricia-1.010.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-Patricia/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Oct 2005 15:10:55 -0000	1.1
+++ sources	24 Oct 2005 15:11:40 -0000	1.2
@@ -0,0 +1 @@
+19f0c6944769daba64694ee3c72cf286  Net-Patricia-1.010.tar.gz




More information about the scm-commits mailing list