Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:L2G:Fedora-loc-update
perl-DateTime
perl-DateTime.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-DateTime.spec of Package perl-DateTime
%define DT_version 0.55 %define DTLocale_version 0.44 %define DTTimeZone_version 1.15 Name: perl-DateTime Version: %{DT_version} Release: L2G%{?dist}.<CI_CNT>.<B_CNT> Epoch: 2 Summary: Date and time objects License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{DT_version}.tar.bz2 Source1: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-%{DTTimeZone_version}.tar.bz2 Source2: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-%{DTLocale_version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) BuildRequires: perl(Class::ISA) BuildRequires: perl(Cwd) >= 3 BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(File::Find::Rule) BuildRequires: perl(Module::Build) BuildRequires: perl(Pod::Man) >= 1.14 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Output) BuildRequires: perl(Test::Pod) >= 1.14 BuildRequires: perl(Test::Pod::Coverage) >= 1.08 BuildRequires: perl(Time::Local) >= 1.04 # DateTime wants version 0.34 BuildRequires: perl(Test::More) >= 0.34 # DateTime wants List::MoreUtils and version 0.91 of Params::Validate BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Params::Validate) >= 0.91 # DateTime::TimeZone needs Class::Singleton BuildRequires: perl(Class::Singleton) >= 1.03 # Creates a build dependency loop. #BuildRequires: perl(DateTime::Format::ICal) #BuildRequires: perl(DateTime::Format::Strptime) Requires: perl(Class::ISA) Requires: perl(Class::Singleton) >= 1.03 Requires: perl(Cwd) >= 3 Requires: perl(Params::Validate) >= 0.91 Requires: perl(Scalar::Util) Requires: perl(Time::Local) >= 1.04 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Provides: perl-DateTime-TimeZone = %{DTTimeZone_version} Provides: perl-DateTime-Locale = %{DTLocale_version} Provides: perl(DateTime::TimeZoneCatalog) Provides: perl(DateTimePP) Provides: perl(DateTimePPExtra) # Some loose Perl style in OlsonDB.pm apparently triggers a very subtle bug # that makes tests fail in Fedora <= 9 Patch0: OlsonDB.pm.patch Source98: DateTime-filter-requires.sh %global real_perl_requires %{__perl_requires} %define __perl_requires %{_tmppath}/%{name}-%{version}-%(%{__id_u} -n)-filter-requires Source99: DateTime-filter-provides.sh %global real_perl_provides %{__perl_provides} %define __perl_provides %{_tmppath}/%{name}-%{version}-%(%{__id_u} -n)-filter-provides %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. %prep %setup -q -T -c -n DateTimeBundle -a 0 %setup -q -T -D -n DateTimeBundle -a 1 %setup -q -T -D -n DateTimeBundle -a 2 cd DateTime-TimeZone-%{DTTimeZone_version} %patch0 -p1 cd - sed -e 's,@@PERL_REQ@@,%{real_perl_requires},' %{SOURCE98} > %{__perl_requires} chmod +x %{__perl_requires} sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides} chmod +x %{__perl_provides} %build cd DateTime-Locale-%{DTLocale_version} %{__perl} Build.PL installdirs=vendor ./Build cd - cd DateTime-TimeZone-%{DTTimeZone_version} %{__perl} Build.PL installdirs=vendor ./Build cd - cd DateTime-%{DT_version} PERLLIB=../DateTime-Locale-%{DTLocale_version}/blib/lib PERLLIB=$PERLLIB:../DateTime-TimeZone-%{DTTimeZone_version}/blib/lib export PERLLIB %{__perl} Build.PL installdirs=vendor OPTIMIZE="$RPM_OPT_FLAGS" ./Build cd - %install rm -rf $RPM_BUILD_ROOT cd DateTime-Locale-%{DTLocale_version} ./Build install destdir=$RPM_BUILD_ROOT cd - cd DateTime-TimeZone-%{DTTimeZone_version} ./Build install destdir=$RPM_BUILD_ROOT cd - cd DateTime-%{DT_version} ./Build install destdir=$RPM_BUILD_ROOT cd - find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* # Move documentation into bundle area mkdir DT::Locale DT::TimeZone mv DateTime-%{DT_version}/{CREDITS,Changes,LICENSE,README,TODO} . mv DateTime-Locale-%{DTLocale_version}/{Changes,LICENSE.cldr} DT::Locale mv DateTime-TimeZone-%{DTTimeZone_version}/{Changes,README} DT::TimeZone %check # Have to use PERL5LIB rather than PERLLIB here because the test scripts # clobber PERLLIB PERL5LIB=$(pwd)/DateTime-%{DT_version}/blib/arch:$(pwd)/DateTime-%{DT_version}/blib/lib PERL5LIB=$PERL5LIB:$(pwd)/DateTime-Locale-%{DTLocale_version}/blib/lib PERL5LIB=$PERL5LIB:$(pwd)/DateTime-TimeZone-%{DTTimeZone_version}/blib/lib export PERL5LIB # Run pod-related tests. IS_MAINTAINER=1 export IS_MAINTAINER cd DateTime-Locale-%{DTLocale_version} ./Build test cd - cd DateTime-TimeZone-%{DTTimeZone_version} ./Build test cd - cd DateTime-%{DT_version} ./Build test cd - %clean rm -rf $RPM_BUILD_ROOT %{__perl_requires} %{__perl_provides} %files %defattr(-,root,root,0755) %doc CREDITS Changes LICENSE README TODO DT::Locale DT::TimeZone %{_mandir}/man3/* # DateTime::TimeZone and DateTime::Locale modules are arch-independent %{perl_vendorlib}/DateTime/ # DateTime module is arch-specific %{perl_vendorarch}/auto/* %{perl_vendorarch}/DateTime/ %{perl_vendorarch}/DateTime*.pm %changelog * Fri Apr 2 2010 Larry Gilbert <lgilbert@digium.com> - 2:0.55-L2G - New versions of DateTime (0.55) and DateTime::TimeZone (1.15) - All tarballs are bz2 now * Wed Jan 27 2010 Larry Gilbert <lgilbert@digium.com> - 2:0.53-L2G.6 - Update required versions of Test::More and Test::Pod * Mon Jan 25 2010 Larry Gilbert <lgilbert@digium.com> - 2:0.53-L2G.3 - New upstrem release of DateTime-TimeZone (1.10) * Mon Dec 28 2009 Larry Gilbert <lgilbert@digium.com> - 2:0.53-L2G - New upstream releases of DateTime (0.53) and DateTime-TimeZone (1.08) - Removed obsolete doc patch - Added new patch to fix code that breaks tests in Fedora <= 9 - Updated all dependencies - Simplified RPM spec by removing a macro * Mon Nov 16 2009 Larry Gilbert <lgilbert@digium.com> - 2:0.51-3 - Latest upstream release of DateTime-TimeZone (1.05). * Mon Nov 2 2009 Larry Gilbert <lgilbert@digium.com> - 2:0.51-1 - New upstream releases of DateTime (0.51) and DateTime-TimeZone (1.03). * Mon Oct 19 2009 Larry Gilbert <lgilbert@digium.com> - 2:0.50-51 - New upstream release of DateTime-TimeZone (1.01). * Fri Oct 09 2009 Larry Gilbert <lgilbert@digium.com> - 2:0.50-1 - Clean up the automatic "provides" and "requires" with better filters - Oh, and the epoch should have been bumped the moment we went from 0.4501 to 0.50 * Mon Sep 28 2009 Larry Gilbert <lgilbert@digium.com> - 1:0.50-? - New upstream release of DateTime-TimeZone (0.99). * Mon Sep 14 2009 Larry Gilbert <lgilbert@digium.com> - 1:0.50-? - New upstream release of DateTime-Locale (0.44). * Tue Sep 8 2009 Larry Gilbert <lgilbert@digium.com> - 1:0.50-? - New upstream release of DateTime-TimeZone (0.97). * Tue Aug 18 2009 Larry Gilbert <lgilbert@digium.com> - 1:0.50-? - Upstream release DateTime-TimeZone 0.96. Still muddling through getting openSUSE Build Service to work. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Dec 09 2008 Steven Pritchard <steve@kspei.com> 1:0.4501-1 - Update to DateTime 0.4501. * Mon Nov 10 2008 Steven Pritchard <steve@kspei.com> 1:0.4401-1 - Update to DateTime 0.4401. - Update to DateTime::Locale 0.42. - Update to DateTime::TimeZone 0.8301. * Mon Sep 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-2 - Update to DateTime::TimeZone 0.7904. * Tue Jul 15 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-1 - Update to DateTime 0.4304. - Update to DateTime::TimeZone 0.78. - Update to DateTime::Locale 0.41. * Tue Jul 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-2 - Update to DateTime::TimeZone 0.7701. * Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-1 - Update to DateTime 0.4302. - Update to DateTime::TimeZone 0.77. - Update to DateTime::Locale 0.4001. - BR List::MoreUtils. - Define IS_MAINTAINER so we run the pod tests. * Thu May 15 2008 Steven Pritchard <steve@kspei.com> 1:0.42-1 - Update to DateTime 0.42. - Update to DateTime::TimeZone 0.75. - Update FAQ URL in description. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.41-5 - Rebuild for perl 5.10 (again) * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.41-4 - Autorebuild for GCC 4.3 * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0.41-3 - rebuild for new perl * Tue Dec 11 2007 Steven Pritchard <steve@kspei.com> 1:0.41-2 - Update License tag. - Update to DateTime::TimeZone 0.70. * Mon Sep 17 2007 Steven Pritchard <steve@kspei.com> 1:0.41-1 - Update to DateTime 0.41. - Update to DateTime::Locale 0.35. - Update to DateTime::TimeZone 0.67. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1:0.39-2 - Rebuild for selinux ppc32 issue. * Sun Jul 22 2007 Steven Pritchard <steve@kspei.com> 1:0.39-1 - Update to DateTime 0.39. - Update to DateTime::TimeZone 0.6603. * Thu Jul 05 2007 Steven Pritchard <steve@kspei.com> 1:0.38-2 - BR Test::Output. * Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 1:0.38-1 - Update to DateTime 0.38. - Update to DateTime::TimeZone 0.6602. - BR Test::Pod::Coverage. * Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-3 - Drop BR DateTime::Format::* to avoid circular build deps. * Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-2 - Filter Win32::TieRegistry dependency. - Do the provides filter like we do in cpanspec. - Drop some macro usage. * Sat Mar 31 2007 Steven Pritchard <steve@kspei.com> 1:0.37-1 - Update to DateTime 0.37. - Update to DateTime::TimeZone 0.63. * Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 1:0.36-2 - Update to DateTime::Locale 0.34. - Update to DateTime::TimeZone 0.62. * Mon Jan 22 2007 Steven Pritchard <steve@kspei.com> 1:0.36-1 - Update to Date::Time 0.36. - Update to DateTime::Locale 0.33. - Update to DateTime::TimeZone 0.59. * Fri Nov 03 2006 Steven Pritchard <steve@kspei.com> 1:0.35-1 - Update to DateTime 0.35. - Update to DateTime::Locale 0.3101. - LICENSE.icu seems to have been renamed LICENSE.cldr. - Update to DateTime::TimeZone 0.54. - Use fixperms macro instead of our own chmod incantation. - Convert DateTime::LeapSecond to UTF-8 to avoid a rpmlint warning. * Tue Aug 29 2006 Steven Pritchard <steve@kspei.com> 1:0.34-3 - Update to DateTime::TimeZone 0.48. * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 1:0.34-2 - Update to DateTime::TimeZone 0.47. * Mon Aug 14 2006 Steven Pritchard <steve@kspei.com> 1:0.34-1 - Update to DateTime 0.34. * Fri Jul 28 2006 Steven Pritchard <steve@kspei.com> 1:0.32-1 - Update to DateTime 0.32. - Improve Summary, description, and source URLs. - Fix find option order. * Thu Jul 13 2006 Steven Pritchard <steve@kspei.com> 1:0.31-2 - BR DateTime::Format::ICal and DateTime::Format::Strptime for better test coverage. * Wed May 24 2006 Steven Pritchard <steve@kspei.com> 1:0.31-1 - Update DateTime to 0.31. - Update DateTime::TimeZone to 0.46. * Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 1:0.30-3 - Bump Epoch (argh, 0.2901 > 0.30 to rpm) - Update DateTime::TimeZone to 0.42 * Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.30-2 - Update DateTime::TimeZone to 0.41 * Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 0.30-1 - Update DateTime to 0.30 - Update DateTime::TimeZone to 0.40 * Fri Sep 16 2005 Paul Howarth <paul@city-fan.org> 0.2901-2 - Unpack each tarball only once - Use Module::Build's build script where available - Help each module find the others when needed - Clean up files list - Include additional documentation from DT::Locale & DT::TimeZone - Add BR: perl(File::Find::Rule) & perl(Test::Pod) to improve test coverage - Remove unversioned provides of perl(DateTime) & perl(DateTime::TimeZone) * Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 0.2901-1 - Specfile autogenerated.
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