Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 54c2ae4e694649f7874950b5c138906f > files > 2

perl-Net-OpenDHT-0.33-2mdv2008.0.src.rpm

%define module	Net-OpenDHT
%define name	perl-%{module}
%define version 0.33
%define release %mkrel 2

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:    	Module to access the Open Distributed Hash Table (Open DHT)
License:	GPL or Artistic
Group:		Development/Perl
Url:		http://search.cpan.org/dist/%{module}/
Source:		http://www.cpan.org/modules/by-module/Net/%{module}-%{version}.tar.bz2
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:  perl(App::Cache)
BuildRequires:  perl(Class::Accessor::Chained)
BuildRequires:  perl(XML::LibXML)
BuildRequires:	perl(Test::Pod)
BuildRequires:	perl(Test::Pod::Coverage)
BuildRequires:	perl(Test::Exception)
BuildArch:      noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
The Net::OpenDHT module provides a simple interface to the Open DHT service. 
Open DHT is a publicly accessible distributed hash table (DHT) service. In 
contrast to the usual DHT model, clients of Open DHT do not need to run a 
DHT node in order to use the service. Instead, they can issue put and get 
operations to any DHT node, which processes the operations on their behalf. No
credentials or accounts are required to use the service, and the available 
storage is fairly shared across all active clients.

This service model of DHT usage greatly simplifies deploying client 
applications. By using Open DHT as a highly-available naming and storage 
service, clients can ignore the complexities of deploying and maintaining 
a DHT and instead concentrate on developing more sophisticated distributed 
applications.

What this essentially gives you as a Perl author is robust storage for a small 
amount of data. This can be used as a distributed cache or data store.

Read the following for full semantics about the Open DHT:

  http://opendht.org/users-guide.html


%prep
%setup -q -n %{module}-%{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
%{_mandir}/man3/*



%changelog
* Sun Sep 16 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.33-2mdv2008.0
+ Revision: 88411
- rebuild


* Wed May 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.33-1mdv2007.0
- New release 0.33
- spec cleanup

* Fri Jan 06 2006 Michael Scherer <misc@mandriva.org> 0.32-4mdk
- fix missing BuildRequires

* Wed Jan 04 2006 Michael Scherer <misc@mandriva.org> 0.32-3mdk
- Do not ship empty dir

* Mon Oct 10 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.32-2mdk
- Fix BuildRequires

* Wed Sep 21 2005 Michael Scherer <misc@mandriva.org> 0.32-1mdk
- First mandriva package