File MogileFS-Utils.spec of Package MogileFS-Utils

#
# spec file for package MogileFS-Utils (Version 2.12)
#
# 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

Name:           MogileFS-Utils
Version:        2.12
Release:        0
Requires:       perl = %{perl_version}
Group:          Development/Libraries/Perl
License:        Artistic License; GPL v2 or later
URL:            http://www.danga.com/mogilefs/
Summary:        Command line utilities for the MogileFS distributed file system. 
Source:         %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  perl(MogileFS::Client) >= 1.08
BuildRequires:  perl(LWP::Simple)
BuildRequires:  perl(Compress::Zlib)
Requires:  perl(MogileFS::Client) >= 1.08
Requires:  perl(LWP::Simple)
Requires:  perl(Compress::Zlib)

%description
Command line utilities for the MogileFS distributed file system. 

%prep
%setup -q

%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 Changes
%doc %{_mandir}/man?/*
%{_bindir}/*
%{perl_vendorarch}/auto/*
%{perl_vendorlib}/MogileFS/*
/var/adm/perl-modules/*

%changelog
* Sun Aug  3 2008 pzb@novell.com
- New package

openSUSE Build Service is sponsored by