[perl-Date-Extract] Initial import.
corsepiu
corsepiu at fedoraproject.org
Thu Dec 26 14:51:24 UTC 2013
commit fe765b96a057edde39af599fbc63cf41e095d743
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Thu Dec 26 15:50:32 2013 +0100
Initial import.
.gitignore | 1 +
perl-Date-Extract.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9fd1959 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Date-Extract-0.04.tar.gz
diff --git a/perl-Date-Extract.spec b/perl-Date-Extract.spec
new file mode 100644
index 0000000..0b34118
--- /dev/null
+++ b/perl-Date-Extract.spec
@@ -0,0 +1,52 @@
+Name: perl-Date-Extract
+Version: 0.04
+Release: 1%{?dist}
+Summary: Date::Extract Perl module
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Date-Extract/
+Source0: http://www.cpan.org/authors/id/S/SA/SARTAK/Date-Extract-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Carp)
+BuildRequires: perl(Class::Data::Inheritable)
+BuildRequires: perl(DateTime::Format::Natural) >= 0.60
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(List::Util)
+BuildRequires: perl(parent)
+BuildRequires: perl(warnings)
+BuildRequires: perl(Test::MockTime)
+BuildRequires: perl(Test::More)
+
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Search a string for something that looks like a date string, and build a
+DateTime object out of it.
+
+%prep
+%setup -q -n Date-Extract-%{version}
+
+%build
+# --skipdeps causes ExtUtils::AutoInstall not to try auto-installing
+%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
+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 Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Dec 19 2013 Ralf Corsépius <corsepiu at fedoraproject.org> 0.04-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..65f77fe 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+da567c4c45ea1456eee6f1d05b9f9f06 Date-Extract-0.04.tar.gz
More information about the perl-devel
mailing list