[perl-File-Find-Iterator] Import

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

 



commit 1293e0875a4b8dce0830f246d3b00aa02583765a
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu May 3 15:43:29 2012 +0200

    Import

 .gitignore                   |    1 +
 perl-File-Find-Iterator.spec |   55 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..22cc765 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/File-Find-Iterator-0.4.tar.gz
diff --git a/perl-File-Find-Iterator.spec b/perl-File-Find-Iterator.spec
new file mode 100644
index 0000000..c88848e
--- /dev/null
+++ b/perl-File-Find-Iterator.spec
@@ -0,0 +1,55 @@
+Name:           perl-File-Find-Iterator
+Version:        0.4
+Release:        1%{?dist}
+Summary:        Iterator interface for search files
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/File-Find-Iterator/
+Source0:        http://www.cpan.org/authors/id/T/TE/TEXMEC/File-Find-Iterator-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Iterator) >= 0.1
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(IO::Dir)
+BuildRequires:  perl(Storable) >= 2.04
+# Tests:
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Class::Iterator) >= 0.1
+Requires:       perl(Storable) >= 2.04
+
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Class::Iterator|Storable)\\)$
+
+%description
+Find::File::Iterator is an iterator object for searching through directory
+trees. You can easily run filter on each file name. You can easily save
+the search state when you want to stop the search and continue the same
+search later.
+
+%prep
+%setup -q -n File-Find-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@xxxxxxxxxx> 0.4-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..4165918 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0a96487b67f15d5a08c379bedee46287  File-Find-Iterator-0.4.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