[perl-Date-ISO8601] initial import (rhbz#730040)

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

 



commit 6483dfcaa4086301fb6fccf6f261650de2c73269
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Tue Aug 16 17:21:51 2011 +0200

    initial import (rhbz#730040)

 .gitignore             |    1 +
 perl-Date-ISO8601.spec |   63 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fb1377e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Date-ISO8601-0.004.tar.gz
diff --git a/perl-Date-ISO8601.spec b/perl-Date-ISO8601.spec
new file mode 100644
index 0000000..3e00bd4
--- /dev/null
+++ b/perl-Date-ISO8601.spec
@@ -0,0 +1,63 @@
+Name:           perl-Date-ISO8601
+Version:        0.004
+Release:        1%{?dist}
+Summary:        Three ISO 8601 numerical calendars
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Date-ISO8601/
+Source0:        http://www.cpan.org/modules/by-module/Date/Date-ISO8601-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl >= 0:5.006
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(integer)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(parent)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(warnings)
+Requires:       perl(Exporter)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+The international standard ISO 8601 "Data elements and interchange formats
+- Information interchange - Representation of dates and times" defines
+three distinct calendars by which days can be labeled. It also defines
+textual formats for the representation of dates in these calendars. This
+module provides functions to convert dates between these three calendars
+and Chronological Julian Day Numbers, which is a suitable format to do
+arithmetic with. It also supplies functions that describe the shape of
+these calendars, to assist in calendrical calculations. It also supplies
+functions to represent dates textually in the ISO 8601 formats. ISO 8601
+also covers time of day and time periods, but this module does nothing
+relating to those parts of the standard; this is only about labeling days.
+
+%prep
+%setup -q -n Date-ISO8601-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Aug 11 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.004-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..bd00b70 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e8efa8355310f95605f8f7f399ecb5e0  Date-ISO8601-0.004.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