[perl-Class-Iterator] Import

Petr Pisar ppisar at fedoraproject.org
Thu May 3 13:38:39 UTC 2012


commit 3af194ab94a8828568438b1b23e7b43eae29fb49
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu May 3 15:38:25 2012 +0200

    Import

 .gitignore               |    1 +
 perl-Class-Iterator.spec |   45 +++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f084b1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Class-Iterator-0.3.tar.gz
diff --git a/perl-Class-Iterator.spec b/perl-Class-Iterator.spec
new file mode 100644
index 0000000..3cd22e4
--- /dev/null
+++ b/perl-Class-Iterator.spec
@@ -0,0 +1,45 @@
+Name:           perl-Class-Iterator
+Version:        0.3
+Release:        1%{?dist}
+Summary:        Iterator class
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Class-Iterator/
+Source0:        http://www.cpan.org/authors/id/T/TE/TEXMEC/Class-Iterator-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+# Tests:
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Class::Iterator is a generic iterator object class. It uses a closure that
+wraps into an object interface.
+
+%prep
+%setup -q -n Class-Iterator-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Apr 25 2012 Petr Pisar <ppisar at redhat.com> 0.3-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..445bdc6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+18de134490e589e8b42fee48c9e97045  Class-Iterator-0.3.tar.gz


More information about the scm-commits mailing list