Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
perl-DateTime
perl-DateTime.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-DateTime.spec of Package perl-DateTime
# # spec file for package perl-DateTime # # Copyright (c) 2012 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/ # %bcond_with pod Name: perl-DateTime Version: 0.72 Release: 0 %define cpan_name DateTime Summary: A date and time object License: Artistic-2.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/DateTime/ Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz Patch: %{cpan_name}-0.72-Build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Build) %if %{with pod} BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.08 %endif BuildRequires: perl(Pod::Man) >= 1.14 BuildRequires: perl(Test::Exception) %if 0%{?suse_version} >= 1130 BuildRequires: perl(Test::More) >= 0.88 %endif BuildRequires: perl(DateTime::Locale) >= 0.41 BuildRequires: perl(DateTime::TimeZone) >= 1.09 BuildRequires: perl(Math::Round) BuildRequires: perl(Params::Validate) >= 0.76 BuildRequires: perl(Scalar::Util) # Requires: perl(DateTime::Locale) >= 0.41 Requires: perl(DateTime::TimeZone) >= 1.09 Requires: perl(Math::Round) Requires: perl(Params::Validate) >= 0.76 Requires: perl(Scalar::Util) Requires: perl(Time::Local) >= 1.04 %description DateTime is a class for the representation of date/time combinations, and is part of the Perl DateTime project. For details on this project please see the http://datetime.perl.org/ manpage. The DateTime site has a FAQ which may help answer many "how do I do X?" questions. The FAQ is at the http://datetime.perl.org/wiki/datetime/page/FAQ manpage. It represents the Gregorian calendar, extended backwards in time before its creation (in 1582). This is sometimes known as the "proleptic Gregorian calendar". In this calendar, the first day of the calendar (the epoch), is the first day of year 1, which corresponds to the date which was (incorrectly) believed to be the birth of Jesus Christ. The calendar represented does have a year 0, and in that way differs from how dates are often written using "BCE/CE" or "BC/AD". For infinite datetimes, please see the DateTime::Infinite module. %prep %setup -q -n %{cpan_name}-%{version} %if 0%{?suse_version} <= 1120 %patch %endif %{__chmod} 0644 tools/leap_seconds_header.pl %build %{__perl} Build.PL installdirs=vendor optimize="%{optflags}" ./Build build flags=%{?_smp_mflags} %if 0%{?suse_version} >= 1130 %check ./Build test %endif %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files -f %{name}.files %defattr(644,root,root,755) %doc Changes CREDITS LICENSE README TODO tools %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor