[perl-Git-Repository] initial import (rhbz#789332)

Iain Arnell iarnell at fedoraproject.org
Fri Feb 10 15:31:05 UTC 2012


commit 07454bbebff2709e68606f35d442e9c8970db6ae
Author: Iain Arnell <iarnell at gmail.com>
Date:   Fri Feb 10 16:29:56 2012 +0100

    initial import (rhbz#789332)

 .gitignore               |    1 +
 perl-Git-Repository.spec |   67 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4551ebf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Git-Repository-1.25.tar.gz
diff --git a/perl-Git-Repository.spec b/perl-Git-Repository.spec
new file mode 100644
index 0000000..7cf310b
--- /dev/null
+++ b/perl-Git-Repository.spec
@@ -0,0 +1,67 @@
+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 <iarnell at gmail.com> 1.25-1
+- Specfile autogenerated by cpanspec 1.78.
+- Separate sub-package for Test::Git
diff --git a/sources b/sources
index e69de29..724d9e8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b0a9d52caa4c2d6ca4c7f173a7f07664  Git-Repository-1.25.tar.gz


More information about the scm-commits mailing list