The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Name:           perl-perfSONAR_PS-Client-Topology-XMLDB
Version:        0.09
Release:        1%{?dist}
Summary:        perfSONAR_PS::Client::Topology::XMLDB Perl module
License:        distributable, see LICENSE
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/perfSONAR_PS-Client-Topology-XMLDB/
Source0:        http://www.cpan.org/modules/by-module/perfSONAR_PS/perfSONAR_PS-Client-Topology-XMLDB-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       perl(Log::Log4perl) >= 1
Requires:       perl(perfSONAR_PS::Common) >= 0.09
Requires:       perl(perfSONAR_PS::DB::XMLDB) >= 0.09
Requires:       perl(perfSONAR_PS::Topology::Common) >= 0.09
Requires:       perl(perfSONAR_PS::Topology::ID) >= 0.09
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
perfSONAR_PS::Client::Topology::MA is a module that provides an OO
interface for performing queries against and storing data for a
perfSONAR_PS Topology Measurement Archive that is stored in a local
Sleepycat XMLDB. This client is meant to provide a similar API to the
perfSONAR_PS::Client::Topology::MA module so that clients can easily be
written that support local or remote access.

%prep
%setup -q -n perfSONAR_PS-Client-Topology-XMLDB-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
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 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 Changes LICENSE README perl-perfSONAR_PS-Client-Topology-XMLDB.spec
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Thu Mar 27 2008 aaron@internet2.edu 0.09-1
- Specfile autogenerated.