2011-08-18 15:13:22 +00:00
|
|
|
Name: perl-DateTime-Locale
|
2015-05-28 09:19:59 +00:00
|
|
|
Version: 0.46
|
2015-06-18 02:37:49 +00:00
|
|
|
Release: 3%{?dist}
|
2011-08-18 15:13:22 +00:00
|
|
|
Summary: Localization support for DateTime.pm
|
|
|
|
# package itself is 'same terms as Perl'
|
|
|
|
# modules under DateTime/Locale/ are generated from data provided by the CLDR project
|
|
|
|
# tools/t/test-data contains CLDR data files under MIT license
|
|
|
|
License: (GPL+ or Artistic) and MIT
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/DateTime-Locale/
|
|
|
|
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
2015-01-13 08:38:49 +00:00
|
|
|
BuildRequires: glibc-common
|
2015-05-28 09:19:59 +00:00
|
|
|
# Build
|
2015-01-13 08:38:49 +00:00
|
|
|
BuildRequires: perl
|
2015-05-28 09:19:59 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Runtime
|
2012-11-13 14:34:58 +00:00
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Carp)
|
2015-05-28 09:19:59 +00:00
|
|
|
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
|
2011-08-18 15:13:22 +00:00
|
|
|
BuildRequires: perl(List::MoreUtils)
|
|
|
|
BuildRequires: perl(Params::Validate) >= 0.91
|
2015-01-13 08:38:49 +00:00
|
|
|
BuildRequires: perl(utf8)
|
2015-05-28 09:19:59 +00:00
|
|
|
# Tests only
|
2015-01-13 08:38:49 +00:00
|
|
|
BuildRequires: perl(File::Spec)
|
2015-05-28 09:19:59 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
2015-01-13 08:38:49 +00:00
|
|
|
# Optional tests:
|
2015-05-28 09:19:59 +00:00
|
|
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
|
BuildRequires: perl(CPAN::Meta::Prereqs)
|
|
|
|
# XXX: BuildRequires: perl(IO::Handle)
|
|
|
|
# XXX: BuildRequires: perl(IPC::Open3)
|
|
|
|
# XXX: BuildRequires: perl(Pod::Wordlist)
|
2015-01-13 08:38:49 +00:00
|
|
|
BuildRequires: perl(Storable)
|
2015-05-28 09:19:59 +00:00
|
|
|
# XXX: BuildRequires: perl(Test::CPAN::Changes)
|
|
|
|
# XXX: BuildRequires perl(Test::EOL)
|
|
|
|
# XXX: BuildRequires: perl(Test::NoTabs)
|
2011-08-18 15:13:22 +00:00
|
|
|
BuildRequires: perl(Test::Output)
|
2015-05-28 09:19:59 +00:00
|
|
|
# XXX: BuildRequires: perl(Test::Pod) >= 1.41
|
|
|
|
# XXX: BuildRequires: perl(Test::Spelling) >= 0.12
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
Requires: perl(Dist::CheckConflicts) >= 0.02
|
2015-01-13 08:38:49 +00:00
|
|
|
Requires: perl(Params::Validate) >= 0.91
|
2011-08-18 15:13:22 +00:00
|
|
|
# perl-DateTime-Locale used to be bundled with perl-DateTime
|
|
|
|
# ideally, this would be resolved with
|
|
|
|
# Requires: perl-DateTime >= 2:0.70-1
|
|
|
|
# but DateTime::Locale doesn't strictly require DateTime
|
|
|
|
# and this would introduce circular build dependencies
|
2012-11-13 14:34:58 +00:00
|
|
|
Conflicts: perl-DateTime <= 1:0.7000-3.fc16
|
2011-08-18 15:13:22 +00:00
|
|
|
|
2015-05-28 09:19:59 +00:00
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Dist::CheckConflicts\\)$
|
2015-01-13 08:38:49 +00:00
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Validate\\)$
|
2011-08-18 15:13:22 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
DateTime::Locale is primarily a factory for the various locale sub-classes.
|
|
|
|
It also provides some functions for getting information on all the
|
|
|
|
available locales.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n DateTime-Locale-%{version}
|
|
|
|
iconv -f iso-8859-1 -t utf-8 Changes >Changes.iconv \
|
|
|
|
&& touch -r Changes Changes.iconv \
|
|
|
|
&& mv -f Changes.iconv Changes
|
|
|
|
|
|
|
|
%build
|
2015-05-28 09:19:59 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
2015-01-13 08:38:49 +00:00
|
|
|
make %{?_smp_mflags}
|
2011-08-18 15:13:22 +00:00
|
|
|
|
|
|
|
%install
|
2015-05-28 09:19:59 +00:00
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}/*
|
2011-08-18 15:13:22 +00:00
|
|
|
|
|
|
|
%check
|
2015-01-13 08:38:49 +00:00
|
|
|
make test
|
2011-08-18 15:13:22 +00:00
|
|
|
|
|
|
|
%files
|
2015-05-28 09:19:59 +00:00
|
|
|
%license LICENSE LICENSE.cldr
|
|
|
|
%doc Changes README
|
2011-08-18 15:13:22 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2015-06-18 02:37:49 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.46-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-06 17:57:39 +00:00
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-05-28 09:19:59 +00:00
|
|
|
* Wed May 27 2015 Petr Šabata <contyk@redhat.com> - 0.46-1
|
|
|
|
- 0.46 bump
|
|
|
|
|
2015-01-13 08:38:49 +00:00
|
|
|
* Tue Jan 13 2015 Petr Pisar <ppisar@redhat.com> - 0.45-11
|
|
|
|
- Modernize spec file
|
|
|
|
|
2014-08-29 10:34:14 +00:00
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.45-10
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 03:15:35 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 19:52:16 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-26 19:26:24 +00:00
|
|
|
* Fri Jul 26 2013 Petr Pisar <ppisar@redhat.com> - 0.45-7
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 11:53:24 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-13 14:34:58 +00:00
|
|
|
* Tue Nov 13 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.45-5
|
|
|
|
- Add BR, fix whitespaces
|
|
|
|
|
2012-07-20 14:37:41 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-19 08:21:38 +00:00
|
|
|
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.45-3
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 13:26:16 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.45-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-08-18 15:13:22 +00:00
|
|
|
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 0.45-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|