File perl-MogileFS-Client.spec of Package perl-MogileFS-Client
#
# spec file for package perl-MogileFS-Client (Version 1.08)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define tarname MogileFS-Client
Name: perl-%{tarname}
Version: 1.08
Release: 0
Requires: perl = %{perl_version}
Group: Development/Libraries/Perl
License: Artistic License; GPL v2 or later
URL: http://www.danga.com/mogilefs/
Summary: Client library for the MogileFS distributed file system.
Source: %{tarname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl(IO::WrapTie) >= 2.102
BuildRequires: perl(LWP::Simple)
BuildRequires: perl(fields)
BuildRequires: perl(Test::More)
# Solve IO::WrapTie alternatives
BuildRequires: perl-IO-stringy
BuildRequires: perl-libwww-perl
Requires: perl(IO::WrapTie) >= 2.102
Requires: perl(LWP::Simple)
Requires: perl(fields)
Requires: perl(Test::More)
# Solve IO::WrapTie alternatives
Requires: perl-IO-stringy
Requires: perl-libwww-perl
%description
This module is a client library for the MogileFS distributed file system. The class method 'new' creates a client object against a particular mogilefs tracker and domain. This object may then be used to store and retrieve content easily from MogileFS.
Authors:
--------
Brad Fitzpatrick <brad@danga.com>
Brad Whitaker <whitaker@danga.com>
Mark Smith <marksmith@danga.com>
%prep
%setup -q -n %{tarname}-%{version}
%build
perl Makefile.PL
make
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc TODO
%doc %{_mandir}/man?/*
%{perl_vendorlib}/MogileFS
%{perl_vendorarch}/auto/MogileFS
/var/adm/perl-modules/*
%changelog
* Sun Aug 3 2008 pzb@novell.com
- New package