LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File perl-Rose-DateTime.spec of Package perl-Rose-DateTime (Project spins:invis)

# spec file for package perl-Rose-DateTime
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           perl-Rose-DateTime
Version:        0.540
Release:        0
%define cpan_name Rose-DateTime
Summary:        Rose::DateTime Perl module
License:        GPL-1.0+ or Artistic-1.0
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/Rose-DateTime/
#Source:        http://www.cpan.org/authors/id/J/JS/JSIRACUSA/Rose-DateTime-%{version}.tar.gz
Source:         Rose-DateTime-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(DateTime)
BuildRequires:  perl(DateTime::Infinite)
BuildRequires:  perl(Rose::Object) >= 0.82
BuildRequires:  perl(Rose::Object::MakeMethods::Generic)
Requires:       perl(DateTime)
Requires:       perl(Rose::Object) >= 0.82

Rose::DateTime Perl module
The 'Rose::DateTime::*' modules provide a few convenience functions and
objects for use with 'DateTime' dates.

the Rose::DateTime::Util manpage contains a simple date parser and a
slightly customized date formatter.

the Rose::DateTime::Parser manpage encapsulates a date parser with an
associated default time zone.

This module ('Rose::DateTime') exists mostly to provide a version number
for CPAN. See the individual modules for some actual documentation.

%setup -q -n %{cpan_name}-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%{__make} test


%files -f %{name}.files