ppisar pushed to perl-Iterator-Simple (master). "Import"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Aug 25 11:25:46 UTC 2015


From e9ac4e080ca55b4049fadefc131c20bcdc13890e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Tue, 25 Aug 2015 13:25:04 +0200
Subject: Import


diff --git a/.gitignore b/.gitignore
index e69de29..f986eac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Iterator-Simple-0.06.tar.gz
diff --git a/perl-Iterator-Simple.spec b/perl-Iterator-Simple.spec
new file mode 100644
index 0000000..cbe0ae7
--- /dev/null
+++ b/perl-Iterator-Simple.spec
@@ -0,0 +1,61 @@
+Name:           perl-Iterator-Simple
+Version:        0.06
+Release:        1%{?dist}
+Summary:        Simple iterator and utilities
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Iterator-Simple/
+Source0:        http://www.cpan.org/authors/id/M/MI/MICHAEL/Iterator-Simple-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  sed
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Tests:
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+Iterator::Simple is a collection of Perl general-purpose iterator subroutines.
+
+%prep
+%setup -q -n Iterator-Simple-%{version}
+# Remove bundled modules
+rm -rf ./inc
+sed -i -e '/^inc\//d' MANIFEST
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Aug 05 2015 Petr Pisar <ppisar at redhat.com> 0.06-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..d525c8a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b849f09d985ccfc6761bbdc20e35a711  Iterator-Simple-0.06.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Iterator-Simple.git/commit/?h=master&id=e9ac4e080ca55b4049fadefc131c20bcdc13890e


More information about the perl-devel mailing list