[perl-Date-JD] initial import (rhbz#730041)

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

 



commit 2f985673277fe18e98a7c9b6f4559ef4b82e3c89
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Tue Aug 16 17:30:06 2011 +0200

    initial import (rhbz#730041)

 .gitignore        |    1 +
 perl-Date-JD.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..48658c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Date-JD-0.005.tar.gz
diff --git a/perl-Date-JD.spec b/perl-Date-JD.spec
new file mode 100644
index 0000000..5be92b1
--- /dev/null
+++ b/perl-Date-JD.spec
@@ -0,0 +1,59 @@
+Name:           perl-Date-JD
+Version:        0.005
+Release:        1%{?dist}
+Summary:        Conversion between flavors of Julian Date
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Date-JD/
+Source0:        http://www.cpan.org/modules/by-module/Date/Date-JD-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl >= 0:5.006
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
+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
+For date and time calculations it is convenient to represent dates by a
+simple linear count of days, rather than in a particular calendar. This is
+such a good idea that it has been invented several times. If there were a
+single such linear count then it would be the obvious data interchange
+format between calendar modules. With several versions, calendar modules
+can use such sensible data formats and still have interoperability
+problems. This module tackles that problem, by performing conversions
+between different flavors of day count. These day count systems are
+generically known as "Julian Dates", after the most venerable of them.
+
+%prep
+%setup -q -n Date-JD-%{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.005-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..93e5496 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bdfe53aaa6c119dd3cfae0f477458e24  Date-JD-0.005.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