Sophie

Sophie

distrib > Fedora > 13 > x86_64 > by-pkgid > 04dce9595c9fc8ef68cf7432bb123134 > files > 2

perl-Git-PurePerl-0.46-2.fc13.src.rpm

Name:           perl-Git-PurePerl
Version:        0.46
Release:        2%{?dist}
Summary:        Pure Perl interface to Git repositories
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Git-PurePerl/
Source0:        http://www.cpan.org/authors/id/B/BO/BOBTFISH/Git-PurePerl-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  perl(Archive::Extract)
BuildRequires:  perl(Archive::Tar)
BuildRequires:  perl(Compress::Raw::Zlib)
BuildRequires:  perl(Compress::Zlib)
BuildRequires:  perl(Config::GitLike)
BuildRequires:  perl(Data::Stream::Bulk)
BuildRequires:  perl(DateTime)
BuildRequires:  perl(Digest::SHA1)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(File::Find::Rule)
BuildRequires:  perl(IO::Digest)
BuildRequires:  perl(Moose)
BuildRequires:  perl(MooseX::StrictConstructor)
BuildRequires:  perl(MooseX::Types::Path::Class)
BuildRequires:  perl(namespace::autoclean)
BuildRequires:  perl(Test::More) >= 0.88
BuildRequires:  perl(Test::utf8) >= 0.02
Requires:       perl(Config::GitLike)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%{?perl_default_filter}

%description
This module is a Pure Perl interface to Git repositories.

%prep
%setup -q -n Git-PurePerl-%{version}

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

%install
make pure_install DESTDIR=$RPM_BUILD_ROOT

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

%{_fixperms} $RPM_BUILD_ROOT/*

%check
# live tests don't work in koji
%{?!_with_live_tests: rm t/protocol*.t}
make test

%files
%defattr(-,root,root,-)
%doc CHANGES README test-encoding.tgz test-project-packs2.tgz test-project-packs.tgz test-project.tgz
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon Jul 19 2010 Iain Arnell <iarnell@gmail.com> 0.46-2
- update spec for modern rpmbuild

* Wed Jun 23 2010 Iain Arnell 0.46-1
- Specfile autogenerated by cpanspec 1.78.