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 (Version 0.537)
# Copyright (c) 2011 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.537
Release:        1
License:        GPL+ or Artistic
%define cpan_name Rose-DateTime
Summary:        DateTime helper functions and objects.
Url:            http://search.cpan.org/dist/Rose-DateTime/
Group:          Development/Libraries/Perl
Source:         http://www.cpan.org/authors/id/J/JS/JSIRACUSA/%{cpan_name}-%{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

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}
find . -type f -print0 | xargs -0 chmod 644

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

%{__make} test


%{__rm} -rf %{buildroot}

%files -f %{name}.files
%doc Changes