From a07aebe7665c40b5ba2152ba581744460ad374b977b72f86e13217f4aa73ef25 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 20 Apr 2010 00:44:41 +0000 Subject: [PATCH] Accepting request 37708 from devel:languages:perl Copy from devel:languages:perl/perl-DateTime-TimeZone based on submit request 37708 from user computersalat OBS-URL: https://build.opensuse.org/request/show/37708 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-TimeZone?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + DateTime-TimeZone-1.17.tar.bz2 | 3 + perl-DateTime-TimeZone.changes | 118 +++++++++++++++++++++++++++++++++ perl-DateTime-TimeZone.spec | 92 +++++++++++++++++++++++++ 5 files changed, 237 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 DateTime-TimeZone-1.17.tar.bz2 create mode 100644 perl-DateTime-TimeZone.changes create mode 100644 perl-DateTime-TimeZone.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/DateTime-TimeZone-1.17.tar.bz2 b/DateTime-TimeZone-1.17.tar.bz2 new file mode 100644 index 0000000..c2f911f --- /dev/null +++ b/DateTime-TimeZone-1.17.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6da0e5f4678483853cfba552172efdc55f2d385a6a402f82465f0a77d41fe67a +size 270341 diff --git a/perl-DateTime-TimeZone.changes b/perl-DateTime-TimeZone.changes new file mode 100644 index 0000000..38e6e92 --- /dev/null +++ b/perl-DateTime-TimeZone.changes @@ -0,0 +1,118 @@ +------------------------------------------------------------------- +Sun Apr 11 21:42:25 UTC 2010 - chris@computersalat.de + +- update to 1.17 + - Updated Win32 to Olson name translation mapping. Patch by David + Pinkowitz. RT #56445. +- 1.16 2010-04-05 + - This release is based on version 2010h of the Olson database. This release + includes changes for Tunisia and Pakistan. +- 1.15 2010-03-29 + - This release is based on version 2010g of the Olson database. This release + includes changes for Bangladesh, Palestine, and Russia. +- 1.14 2010-03-22 + - This release is based on version 2010f of the Olson database. This release + includes changes for Antartica, Syria, and Samoa. + - Moved code to my hg repo at http://hg.urth.org/hg/DateTime-TimeZone. +- 1.13 2010-03-08 + - This release is based on version 2010e of the Olson database. This release + fixes a bug in the Bangladesh zone introduced in 2010d. +- 1.12 2010-03-08 + - This release is based on version 2010d of the Olson database. This release + has changes for Bangladesh, Fiji, Samoa, and Chile. +- other changes please see Changes file +- removed .packlist, perllocal.pod files + > noarch package +- cleanup spec + o removed useless comments + o fixed Header + o update License, Url, description + o fixed deps + - perl-macros < 1120 + - perl(Cwd) >= 3 + - perl(Test::Output) + o moved changelog to changes file + o macro usage + o Makefile.PL > Build.PL + o changelog to changes file + +------------------------------------------------------------------- +Sat Jul 25 19:36:49 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Wed Jun 24 13:08:35 CEST 2009 - chris@computersalat.de + +- update to 0.91 + - 0.91 2009-05-26 + - This release is based on version 2009h of the Olson database. This + release has no user-visible changes, but I like to follow along + anyway. + - 0.90 2009-04-27 + - This release is based on version 2009g of the Olson database. This + release has changes for Egypt. + - 0.89 2009-04-13 + - This release is based on version 2009f of the Olson database. This + release has changes for Pakistan. + - 0.88 2009-04-06 + - This release is based on version 2009e of the Olson database. This + release has changes for Jordan and Palestine. + - 0.87 2009-04-05 + - The DateTime::TimeZone::Local module will now try to load a subclass + of the form DateTime::TimeZone::Local::$^O before falling back to + the Unix subclass. This allows you to provide a new subclass on + systems where the existing subclasses (Unix, Win32, and VMS) don't + get the right answer. Based on a patch from Olivier Mengué. + - 0.86 2009-03-23 + - This release is based on version 2009d of the Olson database. This + release has changes for Morocco, Tunisia, Syria, and Argentina. + - 0.85 2009-03-16 + - This release is based on version 2009c of the Olson database. The + only changes in this release are for Cuba. + - Fixes for Win32 with Microsoft's December time zone update. This + updated added a zone for Mauritius that wasn't accounted for in the + DateTime::TimeZone::Local::Win32 module. Reported by David + Pinkowitz. RT #43535. + - Added a hack to fix some brokenness with Module::Build::Compat that + causes the compatibility Makefile.PL to fail on really old + ExtUtils::MakeMaker versions (6.17 and older). RT #43605. + - 0.84 2009-01-21 + - This release is based on version 2009a of the Olson + database. Changes include spelling "Katmandu" as "Kathmandu" (with a + link for the old spelling), fixes for historical rules in + Switzerland, and changes to America/Resolute and Cuba for the past + few years (but not present). + - If DateTime::TimeZone::Local could not load its OS-specific subclass + because of a missing dependency, it would silently fall back on + loading the Unix subclass, rather than throwing an error. RT #41305. + - Fixed a bug where the short names for some time zones were + wrong. This mostly (exclusively?) manifested in time zone rules for + the first half of the 20th century or so. + - 0.8301 2008-11-07 + - Test fixes only. The 19local-win32 tried to skip tests when they're + run without write access to the registry, but this was done in a + very broken way. + - 0.83 2008-10-27 + - This release is based on version 2008i of the Olson database. The + major changes in this release are for Argentina. + - Updated the docs on how the local time zone is determined for + various platforms. +- added perl-macros + o autogen filelist with perl_gen_filelist +- spec mods + o added header + o fixed desc, deps + +------------------------------------------------------------------- +Sun Oct 26 13:34:44 UTC 2008 - gerrit.beine@gmx.de + +- update to 0.82 + +------------------------------------------------------------------- +Sun Jun 8 15:27:16 UTC 2008 - gerrit.beine@gmx.de + +- first release 0.7701 + diff --git a/perl-DateTime-TimeZone.spec b/perl-DateTime-TimeZone.spec new file mode 100644 index 0000000..fb8adef --- /dev/null +++ b/perl-DateTime-TimeZone.spec @@ -0,0 +1,92 @@ +# +# spec file for package perl-DateTime-TimeZone (Version 1.17) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +# only needed for testsuite +%define with_DateTime 0 + +Name: perl-DateTime-TimeZone +%define cpan_name DateTime-TimeZone +Summary: Time zone object base class and factory +Version: 1.17 +Release: 1 +License: GPL v1 or later, Artistic License +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/DateTime-Timezone/ +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +BuildRequires: perl(Module::Build) +BuildRequires: perl(Cwd) >= 3 +BuildRequires: perl(Class::Singleton) >= 1.03 +BuildRequires: perl(Params::Validate) >= 0.72 +BuildRequires: perl(Test::Output) +# only needed for testsuite +%if 0%{?with_DateTime} == 1 +BuildRequires: perl(DateTime) >= 0.16 +%endif +# +Requires: perl = %{perl_version} +Requires: perl(Cwd) >= 3 +Requires: perl(Class::Singleton) >= 1.03 +Requires: perl(Params::Validate) >= 0.72 +Requires: perl(Pod::Man) >= 1.14 + +%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. + +Note that without the DateTime.pm module, this module does not do much. +It's primary interface is through a DateTime object, and most users will +not need to directly use DateTime::TimeZone methods. + + Authors: Dave Rolsky + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor +./Build + +%check +./Build test + +%install +./Build install +# do not perl_process_packlist (noarch) +# remove .packlist file +%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch +# remove perllocal.pod file +%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_gen_filelist + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files -f %{name}.files +# normally you only need to check for doc files +%defattr(-,root,root) +%doc Changes LICENSE README SIGNATURE + +%changelog