Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
perl-Net-Patricia
> perl-Net-Patricia.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Net-Patricia.spec of Package perl-Net-Patricia (Revision 3)
Currently displaying revision
3
,
show latest
Name: perl-Net-Patricia Version: 1.014 Release: 1 License: GPL Group: Development/Libraries/Perl Summary: Perl module Net::Patricia Summary(de): Perlmodul Net::Patricia URL: http://search.cpan.org/~plonka/ Source0: Net-Patricia-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Packager: Carsten Schoene <cs@linux-administrator.com> Vendor: linux-administrator.com BuildRequires: glibc-devel libgcc gcc gcc-c++ perl %if 0%{?fedora_version} >= 7 BuildRequires: perl-ExtUtils-MakeMaker %endif %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} perl Makefile.PL %__make %makeinstall DESTDIR=$RPM_BUILD_ROOT %if 0%{?suse_version} %perl_process_packlist %else find $RPM_BUILD_ROOT -name perllocal.pod -exec rm {} \; >/dev/null %endif cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* %if 0%{?suse_version} %files %defattr(-,root,root) %doc Changes /var/adm/perl-modules/perl-Net-Patricia %ifarch %ix86 %{perl_sitelib}/i586-linux-thread-multi %endif %ifarch x86_64 %{perl_sitelib}/x86_64-linux-thread-multi %endif /usr/share/man/man3/* %else %files -f ../file.list.%{name} %endif %changelog * Fri Feb 23 2007 Carsten Schoene <cs@linux-administrator.com> - initial build of Net::Patricia perl package which is required for flowscan