Name: perl-Git-Repository Version: 1.25 Release: 1%{?dist} Summary: Perl interface to Git repositories License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Git-Repository/ Source0: http://www.cpan.org/authors/id/B/BO/BOOK/Git-Repository-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Cwd) BuildRequires: perl(File::Spec) BuildRequires: perl(List::Util) BuildRequires: perl(Module::Build) BuildRequires: perl(Scalar::Util) BuildRequires: perl(System::Command) >= 1.01 BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: /usr/bin/git Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: /usr/bin/git %description Git::Repository is a Perl interface to Git, for scripted interactions with repositories. It's a low-level interface that allows calling any Git command, whether porcelain or plumbing, including bidirectional commands such as git commit-tree. %package -n perl-Test-Git Summary: Helper functions for test scripts using Git %description -n perl-Test-Git Test::Git provides a number of helpful functions when running test scripts that require the creation and management of a Git repository. %prep %setup -q -n Git-Repository-%{version} iconv -f iso8859-1 -t utf-8 Changes >Changes.conv \ && touch -r Changes Changes.conv \ && mv -f Changes.conv Changes %build %{__perl} Build.PL installdirs=vendor ./Build %install ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check ./Build test %files %doc Changes README %{perl_vendorlib}/Git %{_mandir}/man3/* %files -n perl-Test-Git %{perl_vendorlib}/Test %changelog * Fri Jan 13 2012 Iain Arnell 1.25-1 - Specfile autogenerated by cpanspec 1.78. - Separate sub-package for Test::Git