[perl-Archive-Any-Lite] Initial import (perl-Archive-Any-Lite-0.07-2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 95c6deb023f6580c9a8733dc1d97e6ba78dcb75b
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue Sep 10 13:09:57 2013 +0100

    Initial import (perl-Archive-Any-Lite-0.07-2)
    
    This is a fork of Archive::Any by Michael Schwern and Clint Moore. The main
    difference is that this works properly even when you fork(), and may require
    less memory to extract a tarball. On the other hand, this isn't pluggable
    (it only supports file formats used in the CPAN toolchains), and it doesn't
    check MIME types.

 .gitignore                 |    1 +
 perl-Archive-Any-Lite.spec |   81 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..99fa891 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Archive-Any-Lite-[0-9.]*.tar.gz
diff --git a/perl-Archive-Any-Lite.spec b/perl-Archive-Any-Lite.spec
new file mode 100644
index 0000000..cef07e2
--- /dev/null
+++ b/perl-Archive-Any-Lite.spec
@@ -0,0 +1,81 @@
+Name:		perl-Archive-Any-Lite
+Version:	0.07
+Release:	2%{?dist}
+Summary:	Simple CPAN package extractor 
+License:	GPL+ or Artistic
+Group:		Development/Libraries
+URL:		https://metacpan.org/release/Archive-Any-Lite
+Source0:	http://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/Archive-Any-Lite-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+BuildArch:	noarch
+# Build
+BuildRequires:	perl(ExtUtils::MakeMaker)
+# Module
+BuildRequires:	perl(Archive::Tar)
+BuildRequires:	perl(Archive::Zip)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(IO::Uncompress::Bunzip2)
+BuildRequires:	perl(IO::Zlib)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(warnings)
+# Test Suite
+BuildRequires:	perl(File::Path)
+BuildRequires:	perl(File::Spec::Functions)
+BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(FindBin)
+BuildRequires:	perl(Test::More) >= 0.47
+BuildRequires:	perl(Test::UseAllModules) >= 0.10
+# Optional Tests
+%if 0%{?fedora} > 14 || 0%{?rhel} > 5
+# Needs 0.7.6 for data structure retrieval
+BuildRequires:	perl(Parallel::ForkManager) >= 0.7.6
+%endif
+BuildRequires:	perl(Test::Pod) >= 1.18
+BuildRequires:	perl(Test::Pod::Coverage) >= 1.04
+# Runtime
+Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:	perl(IO::Uncompress::Bunzip2)
+Requires:	perl(IO::Zlib)
+
+%description
+This is a fork of Archive::Any by Michael Schwern and Clint Moore. The main
+difference is that this works properly even when you fork(), and may require
+less memory to extract a tarball. On the other hand, this isn't pluggable
+(it only supports file formats used in the CPAN toolchains), and it doesn't
+check MIME types.
+
+%prep
+%setup -q -n Archive-Any-Lite-%{version}
+
+# Test::More->note() requires Test::More ≥ 0.82
+%if %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.82) ? 1 : 0);' 2>/dev/null || echo 0)
+sed -i -e '/ note /d' t/30_fork.t
+%endif
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} %{buildroot}
+
+%check
+make test TEST_POD=1
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%doc Changes README
+%{perl_vendorlib}/Archive/
+%{_mandir}/man3/Archive::Any::Lite.3pm*
+
+%changelog
+* Sat Aug  3 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.07-2
+- Sanitize for Fedora submission
+
+* Fri Aug  2 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.07-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..f545f97 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ef7556aab1fc789a737c27f06d9c3c2d  Archive-Any-Lite-0.07.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux