[perl-DateTime-Format-RFC3339] Initial import (#1121302).

David Dick ddick at fedoraproject.org
Mon Jul 21 21:22:20 UTC 2014


commit ed26481b3da8b256f9f7218a1c407ac4b51b6f4c
Author: David Dick <ddick at cpan.org>
Date:   Tue Jul 22 07:22:00 2014 +1000

    Initial import (#1121302).

 .gitignore                        |    1 +
 perl-DateTime-Format-RFC3339.spec |   49 +++++++++++++++++++++++++++++++++++++
 sources                           |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a6fb6aa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DateTime-Format-RFC3339-v1.0.5.tar.gz
diff --git a/perl-DateTime-Format-RFC3339.spec b/perl-DateTime-Format-RFC3339.spec
new file mode 100644
index 0000000..27b2307
--- /dev/null
+++ b/perl-DateTime-Format-RFC3339.spec
@@ -0,0 +1,49 @@
+Name:           perl-DateTime-Format-RFC3339
+Version:        1.0.5
+Release:        1%{?dist}
+Summary:        Parse and format RFC3339 datetime strings
+License:        CC0
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/DateTime-Format-RFC3339/
+Source0:        http://www.cpan.org/modules/by-module/DateTime/DateTime-Format-RFC3339-v%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(DateTime)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(version)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module understands the RFC3339 date/time format, an ISO 8601 profile,
+defined at http://tools.ietf.org/html/rfc3339.
+
+%prep
+%setup -q -n DateTime-Format-RFC3339-v%{version}
+
+%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.txt LICENSE.txt README.txt
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Jul 19 2014 David Dick <ddick at cpan.org> - 1.0.5-1
+- Initial release
diff --git a/sources b/sources
index e69de29..2bb008a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3337273f23af2943c09c5d0d8dee15bc  DateTime-Format-RFC3339-v1.0.5.tar.gz


More information about the scm-commits mailing list