8
0
Pascal Bleser
2010-06-19 00:08:43 +00:00
committed by Git OBS Bridge
commit a1fe509650
5 changed files with 103 additions and 0 deletions

71
perl-Git-Repository.spec Normal file
View File

@@ -0,0 +1,71 @@
# norootforbuild
Name: perl-Git-Repository
Version: 1.03
Release: 0
Summary: Perl Interface to Git Repositories
Source: http://www.cpan.org/modules/by-module/Git/Git-Repository-%{version}.tar.gz
URL: http://search.cpan.org/dist/Git-Repository/
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl = %{perl_version}
Requires: git-core
Requires: perl(List::Util)
Requires: perl(File::Spec)
Requires: perl(File::Path)
Requires: perl(IPC::Open3)
Requires: perl(Cwd)
BuildRequires: make perl
BuildRequires: git-core
BuildRequires: perl(List::Util)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Path)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Cwd)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
%description
Git::Repository is a Perl interface to Git, allowing scripted interactions with
one or more repositories. It's a low-level interface, allowing to call any Git
command, either porcelain or plumbing, including bidirectional commands such
as git commit-tree.
Since it is a low-level interface, it doesn't provide any fancy way to call Git
commands. It is up to the programmer to setup any environment variables that
the underlying Git command may need and use.
%prep
%setup -q -n "Git-Repository-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%install
%perl_make_install
%perl_process_packlist
%check
%__make test
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/Git
%{perl_vendorlib}/Git/Repository.pm
%{perl_vendorlib}/Git/Repository
%dir %{perl_vendorarch}/auto/Git
%{perl_vendorarch}/auto/Git/Repository
%doc %{perl_man3dir}/Git::Repository.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Git::Repository::*.%{perl_man3ext}%{ext_man}
/var/adm/perl-modules/%{name}
%changelog
# vim: set sw=4 ts=4 et nu: