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 0.005-1 - Specfile autogenerated by cpanspec 1.78.