perl-DateTime-TimeZone/perl-DateTime-TimeZone.spec

186 lines
6.3 KiB
RPMSpec
Raw Normal View History

2011-08-18 15:15:09 +00:00
Name: perl-DateTime-TimeZone
Version: 1.60
Release: 1%{?dist}
2011-08-18 15:15:09 +00:00
Summary: Time zone object base class and factory
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/DateTime-TimeZone/
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-%{version}.tar.gz
BuildArch: noarch
2013-06-26 10:14:36 +00:00
BuildRequires: perl
2012-11-15 12:36:09 +00:00
BuildRequires: perl(base)
BuildRequires: perl(lib)
2011-08-18 15:15:09 +00:00
BuildRequires: perl(Class::Load)
BuildRequires: perl(Class::Singleton) >= 1.03
BuildRequires: perl(constant)
BuildRequires: perl(Cwd) >= 3
BuildRequires: perl(ExtUtils::MakeMaker)
2013-06-26 10:14:36 +00:00
BuildRequires: perl(File::Basename)
2011-08-18 15:15:09 +00:00
BuildRequires: perl(File::Compare)
2013-06-26 10:14:36 +00:00
BuildRequires: perl(File::Copy)
2011-08-18 15:15:09 +00:00
BuildRequires: perl(File::Spec)
BuildRequires: perl(List::Util)
2013-06-26 10:14:36 +00:00
BuildRequires: perl(overload)
2011-08-18 15:15:09 +00:00
BuildRequires: perl(Params::Validate) >= 0.72
BuildRequires: perl(parent)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Output)
2012-11-15 12:36:09 +00:00
BuildRequires: perl(Storable)
2013-06-26 10:14:36 +00:00
BuildRequires: perl(strict)
BuildRequires: perl(Sys::Hostname)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
2011-08-18 15:15:09 +00:00
# not automatically detected
Requires: perl(File::Compare)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?filter_setup:
%filter_from_requires /^perl(Win32/d
%if 0%{?perl_bootstrap}
%filter_from_requires /^perl(DateTime\(::Duration\)?)/d
%endif
%?perl_default_filter}
2012-11-15 12:36:09 +00:00
%global __requires_exclude %{__requires_exclude}|perl\\(Params::Validate\\)$|perl\\(Class::Singleton\\)$
2011-08-18 15:15:09 +00:00
%if 0%{?perl_bootstrap}
# avoid circular dependencies - DateTime strictly requires DateTime::TimeZone
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DateTime\\)
%global __requires_exclude %{__requires_exclude}|perl\\(DateTime::Duration\\)
# perl-DateTime-TimeZone used to be bundled with perl-DateTime
# when bootstrapping, we can't require the unbundled version, so
# need to conflict with the old package
Conflicts: perl-DateTime <= 1:0.7000-3.fc16
%else
# explicitly require the unbundled perl-DateTime to avoid implicit conflicts
Requires: perl-DateTime >= 2:0.70-1
# and BR perl(DateTime) to enable testing
BuildRequires: perl(DateTime)
2013-06-26 10:14:36 +00:00
BuildRequires: perl(DateTime::Duration)
2011-08-18 15:15:09 +00:00
%endif
%description
This class is the base class for all time zone objects. A time zone is
represented internally as a set of observances, each of which describes the
offset from GMT for a given time period.
%prep
%setup -q -n DateTime-TimeZone-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes LICENSE README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Aug 10 2013 Iain Arnell <iarnell@gmail.com> 1.60-1
- update to latest upstream version - Olson 2013d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.59-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-30 04:33:38 +00:00
* Tue Jul 30 2013 Petr Pisar <ppisar@redhat.com> - 1.59-3
- Perl 5.18 rebuild
2013-06-26 10:14:36 +00:00
* Wed Jun 26 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.59-2
- Specify all dependencies
2013-04-22 11:40:49 +00:00
* Mon Apr 22 2013 Iain Arnell <iarnell@gmail.com> 1.59-1
- update to latest upstream version - Olson 2013c
2013-03-20 11:10:10 +00:00
* Wed Mar 20 2013 Iain Arnell <iarnell@gmail.com> 1.58-1
- update to latest upstream version - Olson 2013b
2013-03-03 15:12:05 +00:00
* Sun Mar 03 2013 Iain Arnell <iarnell@gmail.com> 1.57-1
- update to latest upstream version - Olson 2013a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.56-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-12-03 11:57:22 +00:00
* Mon Dec 03 2012 Iain Arnell <iarnell@gmail.com> 1.56-1
- update to latest upstream version - still Olson 2012j
2012-11-15 12:36:09 +00:00
* Thu Nov 15 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.54-2
- add BR, filter duplicated requires
* Tue Nov 13 2012 Petr Pisar <ppisar@redhat.com> - 1.54-1
- update to latest upstream version - Olson 2012j
* Fri Nov 02 2012 Iain Arnell <iarnell@gmail.com> 1.52-1
- update to latest upstream version - Olson 2012h
2012-10-18 08:59:37 +00:00
* Thu Oct 18 2012 Petr Pisar <ppisar@redhat.com> - 1.51-1
- update to latest upstream version - Olson 2012g
2012-09-15 14:05:46 +00:00
* Sat Sep 15 2012 Iain Arnell <iarnell@gmail.com> 1.49-1
- update to latest upstream version - Olson 2012f
2012-08-03 15:43:35 +00:00
* Fri Aug 03 2012 Iain Arnell <iarnell@gmail.com> 1.48-1
- update to latest upstream version - Olson 2012e
2012-07-21 15:51:07 +00:00
* Sat Jul 21 2012 Iain Arnell <iarnell@gmail.com> 1.47-1
- update to latest upstream version - Olson 2012d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.46-3
- Perl 5.16 re-rebuild of bootstrapped packages
2012-06-20 02:16:13 +00:00
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.46-2
- Perl 5.16 rebuild
2012-04-03 11:15:30 +00:00
* Tue Apr 03 2012 Iain Arnell <iarnell@gmail.com> 1.46-1
- update to latest upstream - Olson 2012c
2012-03-04 18:03:44 +00:00
* Sun Mar 04 2012 Iain Arnell <iarnell@gmail.com> 1.45-1
- update to latest upstream version
2012-03-02 21:49:45 +00:00
* Fri Mar 02 2012 Iain Arnell <iarnell@gmail.com> 1.44-1
- update to latest upstream version - Olson 2012b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-11-09 04:01:25 +00:00
* Wed Nov 09 2011 Iain Arnell <iarnell@gmail.com> 1.42-1
- update to latest upstream - Olson 2011n
2011-10-25 03:11:17 +00:00
* Tue Oct 25 2011 Iain Arnell <iarnell@gmail.com> 1.41-1
- update to latest upstream - Olson 2011m
2011-10-11 03:46:09 +00:00
* Tue Oct 11 2011 Iain Arnell <iarnell@gmail.com> 1.40-1
- update to latest upstream - Olson 2011l
2011-09-27 04:15:00 +00:00
* Tue Sep 27 2011 Iain Arnell <iarnell@gmail.com> 1.39-1
- update to latest upstream - Olson 2011k
2011-09-14 03:00:33 +00:00
* Wed Sep 14 2011 Iain Arnell <iarnell@gmail.com> 1.37-1
- update to latest upstream - Olson 2011j
2011-08-30 15:20:23 +00:00
* Tue Aug 30 2011 Iain Arnell <iarnell@gmail.com> 1.36-1
- update to latest upstream - Olson 2011i
2011-08-18 15:42:37 +00:00
* Thu Aug 18 2011 Iain Arnell <iarnell@gmail.com> 1.35-3
- rebuild against unbunled perl-DateTime
2011-08-18 15:15:09 +00:00
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 1.35-2
- additional explicit (build)requires for core modules
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 1.35-1
- Specfile autogenerated by cpanspec 1.78.
- Add bootstrapping logic