[perl-File-Finder] New package

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

 



commit 61e9dbb544e0f81b95ebd3b1d8bb83c4e20e2fcb
Author: Ruediger Landmann <r.landmann@xxxxxxxxxx>
Date:   Tue Mar 8 09:32:21 2011 +1000

    New package

 .gitignore            |    1 +
 perl-File-Finder.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f48afbb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/File-Finder-0.53.tar.gz
diff --git a/perl-File-Finder.spec b/perl-File-Finder.spec
new file mode 100644
index 0000000..21aa6e4
--- /dev/null
+++ b/perl-File-Finder.spec
@@ -0,0 +1,55 @@
+Name:           perl-File-Finder
+Version:        0.53
+Release:        2%{?dist}
+Summary:        Nice wrapper for File::Find ala find(1)
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/File-Finder/
+Source0:        http://search.cpan.org/CPAN/authors/id/M/ME/MERLYN/File-Finder-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Find::Rule)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Distribution)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(Text::Glob)
+Requires:       perl(Text::Glob)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+File::Find is great, but constructing the wanted routine can sometimes be a
+pain. This module provides a wanted-writer, using syntax that is directly
+mappable to the find command's syntax.
+
+%prep
+%setup -q -n File-Finder-%{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 TEST_VERBOSE=1
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jan 18 2011 RÃdiger Landmann <r.landmann@xxxxxxxxxx> 0.53-2
+- Correct BuildRequires
+- Change Source0 to point to author URL instead of by-module
+
+* Tue Jan 18 2011 RÃdiger Landmann <r.landmann@xxxxxxxxxx> 0.53-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..9251e6a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+92898b39fc36e4a8c82e8c0484e29271  File-Finder-0.53.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