123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- Name: perl-DateTime-TimeZone
- Version: 1.45
- Release: 2%{?_dist_release}
- 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
- BuildRequires: perl(Class::Load)
- BuildRequires: perl(Class::Singleton) >= 1.03
- BuildRequires: perl(constant)
- BuildRequires: perl(Cwd) >= 3
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(File::Compare)
- BuildRequires: perl(File::Spec)
- BuildRequires: perl(List::Util)
- BuildRequires: perl(Params::Validate) >= 0.72
- BuildRequires: perl(parent)
- BuildRequires: perl(Pod::Man) >= 1.14
- BuildRequires: perl(Test::More) >= 0.88
- BuildRequires: perl(Test::Output)
- # not automatically detected
- Requires: perl(Cwd) >= 3
- 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}
- %if 0%{?perl_bootstrap}
- # 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
- %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)
- %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}
- %if "%{_dist_release}" > "vl6"
- %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Win32
- %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\\)
- %endif
- %else
- cat << \EOF > %{name}-req
- #!/bin/sh
- %{__perl_requires} $* |\
- sed -e '/perl(Win32/d' |\
- EOF
- %if 0%{?perl_bootstrap}
- cat << \EOF >> %{name}-req
- sed -e '/perl(DateTime)/d' |\
- sed -e '/perl(DateTime::Duration)/d'
- EOF
- %endif
- %global __perl_requires %{_builddir}/DateTime-TimeZone-%{version}/%{name}-req
- chmod +x %{__perl_requires}
- %endif
- %build
- %{__perl} Makefile.PL INSTALLDIRS=vendor
- make %{?_smp_mflags}
- %install
- make pure_install DESTDIR=%{buildroot}
- find %{buildroot} -type f -name .packlist -exec rm -f {} \;
- find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
- %{_fixperms} %{buildroot}/*
- %check
- make test
- %files
- %doc Changes LICENSE README
- %{perl_vendorlib}/*
- %{_mandir}/man3/*
- %changelog
- * Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.45-2
- - now without bootstrapping
- * Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.45-1
- - initial build for Vine Linux (bootstrap)
- * Sun Mar 04 2012 Iain Arnell <iarnell@gmail.com> 1.45-1
- - update to latest upstream version
- * 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
- * Wed Nov 09 2011 Iain Arnell <iarnell@gmail.com> 1.42-1
- - update to latest upstream - Olson 2011n
- * Tue Oct 25 2011 Iain Arnell <iarnell@gmail.com> 1.41-1
- - update to latest upstream - Olson 2011m
- * Tue Oct 11 2011 Iain Arnell <iarnell@gmail.com> 1.40-1
- - update to latest upstream - Olson 2011l
- * Tue Sep 27 2011 Iain Arnell <iarnell@gmail.com> 1.39-1
- - update to latest upstream - Olson 2011k
- * Wed Sep 14 2011 Iain Arnell <iarnell@gmail.com> 1.37-1
- - update to latest upstream - Olson 2011j
- * Tue Aug 30 2011 Iain Arnell <iarnell@gmail.com> 1.36-1
- - update to latest upstream - Olson 2011i
- * Thu Aug 18 2011 Iain Arnell <iarnell@gmail.com> 1.35-3
- - rebuild against unbunled perl-DateTime
- * 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
|