Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > c071f3213b0bdda6a33e1b26710b40a2 > files > 2

perl-Tree-BPTree-1.07-1mdk.src.rpm

%define real_name Tree-BPTree

Summary:	Tree::BPTree - Perl implementation of B+ trees
Name:		perl-%{real_name}
Version:	1.07
Release:	1mdk
License:	GPL or Artistic
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{real_name}
Source0:	http://search.cpan.org/CPAN/authors/id/H/HA/HANENKAMP/Tree-BPTree/%{real_name}-%{version}.tar.bz2
BuildRequires:	perl-devel
Buildrequires:	perl-Module-Build
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
This is a Perl implementation of B+ trees. I have based this
implementation on a couple of sources. See the documentation of
Tree::BPTree for those details. A B+ tree is essentially an order
map from keys to values. Keys are multivalued so that there may be
more than one value per key. This implementation will enforce
uniqueness of keys, if requested.


%prep
%setup -q -n %{real_name}-%{version} 

%build
%{__perl} Build.PL installdirs=vendor
./Build
./Build test

%install
rm -rf %{buildroot}
./Build install destdir=%{buildroot}

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/Tree/*.pm
%{_mandir}/*/*

%changelog
* Tue Aug 23 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.07-1mdk
- New release 1.07
- use Module::Build instead of MakeMaker

* Thu Jul 14 2005 Oden Eriksson <oeriksson@mandriva.com> 1.06-1mdk
- initial Mandriva package