Группа :: Разработка/Perl
Пакет: perl-DateTime
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%def_without bootstrap
%define dist DateTime
Name: perl-%dist
Version: 1.59
Release: alt1
Summary: DateTime base objects
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{dist}-%{version}.tar.gz
Patch: DateTime-1.42-alt-syntax-check.patch
# break dependency loop
Requires: perl-DateTime-TimeZone
BuildRequires: perl-DateTime-Locale perl-Math-Round perl-Module-Build perl-Test-Exception perl-Test-Warn perl-Test-Fatal perl(Test/Warnings.pm) perl(CPAN/Meta/Check.pm) perl(Test/Without/Module.pm)
%if_with bootstrap
%define _without_test 1
%add_findreq_skiplist %perl_vendor_archlib/DateTime*
%else
BuildRequires: perl-DateTime-TimeZone
# test depandency
BuildRequires: perl(Params/Validate.pm)
%endif
%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 http://datetime.perl.org. The DateTime site has a FAQ which
may help answer many "how do I do X?" questions. The FAQ is at
http://datetime.perl.org/faq.html.
%prep
%setup -q -n %{dist}-%{version}
%patch -p0
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README.md CONTRIBUTING.md CREDITS leaptab.txt
%perl_vendor_archlib/DateTime*
%perl_vendor_autolib/DateTime*
%changelog
…
Полный changelog можно просмотреть здесь
%def_without bootstrap
%define dist DateTime
Name: perl-%dist
Version: 1.59
Release: alt1
Summary: DateTime base objects
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{dist}-%{version}.tar.gz
Patch: DateTime-1.42-alt-syntax-check.patch
# break dependency loop
Requires: perl-DateTime-TimeZone
BuildRequires: perl-DateTime-Locale perl-Math-Round perl-Module-Build perl-Test-Exception perl-Test-Warn perl-Test-Fatal perl(Test/Warnings.pm) perl(CPAN/Meta/Check.pm) perl(Test/Without/Module.pm)
%if_with bootstrap
%define _without_test 1
%add_findreq_skiplist %perl_vendor_archlib/DateTime*
%else
BuildRequires: perl-DateTime-TimeZone
# test depandency
BuildRequires: perl(Params/Validate.pm)
%endif
%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 http://datetime.perl.org. The DateTime site has a FAQ which
may help answer many "how do I do X?" questions. The FAQ is at
http://datetime.perl.org/faq.html.
%prep
%setup -q -n %{dist}-%{version}
%patch -p0
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README.md CONTRIBUTING.md CREDITS leaptab.txt
%perl_vendor_archlib/DateTime*
%perl_vendor_autolib/DateTime*
%changelog
…
Полный changelog можно просмотреть здесь