[perl-Archive-Peek] Initial import (perl-Archive-Peek-0.35-2)

Paul Howarth pghmcfc at fedoraproject.org
Fri Oct 18 13:35:50 UTC 2013


commit a8dec917ec54a575277f0a2b6392472d53051014
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Oct 18 14:34:51 2013 +0100

    Initial import (perl-Archive-Peek-0.35-2)
    
    This module lets you peek into archives without extracting them.
    It currently supports tar files and zip files.

 .gitignore             |    1 +
 perl-Archive-Peek.spec |   57 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..04c542e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Archive-Peek-[0-9.]*.tar.gz
diff --git a/perl-Archive-Peek.spec b/perl-Archive-Peek.spec
new file mode 100644
index 0000000..e118613
--- /dev/null
+++ b/perl-Archive-Peek.spec
@@ -0,0 +1,57 @@
+Name:		perl-Archive-Peek
+Version:	0.35
+Release:	2%{?dist}
+Summary:	Peek into archives without extracting them
+Group:		Development/Libraries
+License:	GPL+ or Artistic
+URL:		http://search.cpan.org/dist/Archive-Peek/
+Source0:	http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/Archive-Peek-%{version}.tar.gz
+BuildArch:	noarch
+# Module Build
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
+# Module Runtime
+BuildRequires:	perl(Archive::Tar)
+BuildRequires:	perl(Archive::Zip)
+BuildRequires:	perl(Archive::Zip::MemberRead)
+BuildRequires:	perl(IO::Uncompress::Bunzip2)
+BuildRequires:	perl(Moose)
+BuildRequires:	perl(MooseX::Types::Path::Class)
+# Test Suite
+BuildRequires:	perl(Test::More) >= 0.88
+BuildRequires:	perl(Test::Pod) >= 1.14
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:	perl(IO::Uncompress::Bunzip2)
+
+%description
+This module lets you peek into archives without extracting them. It currently
+supports tar files and zip files.
+
+%prep
+%setup -q -n Archive-Peek-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%files
+%doc CHANGES README
+%{perl_vendorlib}/Archive/
+%{_mandir}/man3/Archive::Peek.3pm*
+
+%changelog
+* Fri Oct 18 2013 Paul Howarth <paul at city-fan.org> - 0.35-2
+- Clean up spec file for modern rpmbuild (EL-5 doesn't have needed deps)
+
+* Thu Oct 17 2013 Paul Howarth <paul at city-fan.org> - 0.35-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..0129af6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c6e12a48e77dd0303b97e9696b7d1e9f  Archive-Peek-0.35.tar.gz


More information about the scm-commits mailing list