From 090daa8347735536959cfa23edd529639ec8d9dd Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 7 Dec 2015 09:19:55 +0100 Subject: [PATCH] Initial import --- .gitignore | 1 + perl-SVN-Look.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+) create mode 100644 perl-SVN-Look.spec diff --git a/.gitignore b/.gitignore index e69de29..13a6f96 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/SVN-Look-0.41.tar.gz diff --git a/perl-SVN-Look.spec b/perl-SVN-Look.spec new file mode 100644 index 0000000..c2459d7 --- /dev/null +++ b/perl-SVN-Look.spec @@ -0,0 +1,66 @@ +Name: perl-SVN-Look +Version: 0.41 +Release: 1%{?dist} +Summary: Caching wrapper around the svnlook command +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/SVN-Look/ +Source0: http://www.cpan.org/authors/id/G/GN/GNUSTAVO/SVN-Look-%{version}.tar.gz +BuildArch: noarch +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(Carp) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(List::MoreUtils) +BuildRequires: perl(XML::Simple) +BuildRequires: subversion +# Tests +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Path) +BuildRequires: perl(lib) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::More) +BuildRequires: perl(URI::file) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Temp) +Requires: perl(MIME::Base64) +Requires: perl(XML::Simple) +Requires: subversion + +%description +The svnlook command is the workhorse of Subversion hook scripts, being used +to gather all sorts of information about a repository, its revisions, and +its transactions. This module provides a simple object oriented interface +to a specific svnlook invocation, to make it easier to hook writers to get +and use the information they need. Moreover, all the information gathered +by calling the svnlook command is cached in the object, avoiding +repetitious calls. + +%prep +%setup -q -n SVN-Look-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Nov 30 2015 Jitka Plesnikova - 0.41-1 +- Initial release diff --git a/sources b/sources index e69de29..538f3ef 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2b51270445a774c30ba5a94086201809 SVN-Look-0.41.tar.gz