Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 654e7b77c4bf75271407619625408d0a > files > 2

perl-MogileFS-Utils-2.19-1.fc15.src.rpm

%global libname MogileFS-Utils

Name:           perl-%{libname}
Version:        2.19
Release:        1%{?dist}
Summary:        Utilities for MogileFS
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/%{libname}/
Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/%{libname}-%{version}.tar.gz
BuildArch:      noarch

BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(MogileFS::Client)
BuildRequires:  perl(Compress::Zlib)
BuildRequires:  perl(LWP::Simple)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Utilities for the MogileFS distributed storage system

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

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
make test

%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/MogileFS
%{_bindir}/mogadm
%{_bindir}/mogdelete
%{_bindir}/mogfetch
%{_bindir}/mogfiledebug
%{_bindir}/mogfileinfo
%{_bindir}/moglistfids
%{_bindir}/moglistkeys
%{_bindir}/mogstats
%{_bindir}/mogtool
%{_bindir}/mogupload
%{_mandir}/man1/mogadm.1.gz
%{_mandir}/man1/mogdelete.1.gz
%{_mandir}/man1/mogfetch.1.gz
%{_mandir}/man1/mogfiledebug.1.gz
%{_mandir}/man1/mogfileinfo.1.gz
%{_mandir}/man1/moglistfids.1.gz
%{_mandir}/man1/moglistkeys.1.gz
%{_mandir}/man1/mogstats.1.gz
%{_mandir}/man1/mogtool.1.gz
%{_mandir}/man1/mogupload.1.gz
%{_mandir}/man3/MogileFS::Utils.3pm.gz

%changelog
* Wed Feb 09 2011 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.19-1
- Upstream released new version

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.16-2
- 661697 rebuild for fixing problems with vendorach/lib

* Fri Jun 25 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.16-1
- Upstream released new version

* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.12-6
- Mass rebuild with perl-5.12.0

* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 2.12-5
- rebuild against perl 5.10.1

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.12-2
Rebuild for new perl

* Thu Aug 09 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.12-1
- Upstream released new version
* Wed Jun 20 2007 Ruben Kerkhof <ruben@rubenkerkhof.com> 2.11-1
- Initial import