Accepting request 37707 from devel:languages:perl
Copy from devel:languages:perl/perl-DateTime-Locale based on submit request 37707 from user computersalat OBS-URL: https://build.opensuse.org/request/show/37707 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Locale?expand=0&rev=1
This commit is contained in:
commit
fec9f1dc98
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
DateTime-Locale-0.45.tar.bz2
Normal file
3
DateTime-Locale-0.45.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:19bd59280f4bb02a7c37ec9c0fde8cdf4673be45948010993a4b8b6a6e3b2ea1
|
||||||
|
size 525058
|
80
perl-DateTime-Locale.changes
Normal file
80
perl-DateTime-Locale.changes
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 11 18:39:41 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 0.45
|
||||||
|
- Installing this release will cause older versions of
|
||||||
|
DateTime::Format::Strptime to warn like crazy. Please update
|
||||||
|
DateTime::Format::Strptime if you install this release.
|
||||||
|
- This is an interim release still based on CLDR 1.7.1 pending the release of
|
||||||
|
Locale::CLDR, which will happen real soon now, for some definition of soon.
|
||||||
|
- Removed dependency on Class::ISA and just copied what we need from said
|
||||||
|
module directly. Class::ISA warns as deprecated if used with Perl 5.11.0,
|
||||||
|
even though it works just fine (doh). RT #53940.
|
||||||
|
- All methods deprecated in the last release now warn when called.
|
||||||
|
- Added methods to return per-locale strftime formats from the glibc
|
||||||
|
data. These methods are not yet documented. They are just there for now to
|
||||||
|
allow me to update DateTime::Format::Strptime.
|
||||||
|
- 0.44 2009-09-12
|
||||||
|
- All methods which return strftime-style patterns are officially deprecated
|
||||||
|
(and have been a little broken for some time, regardless). This includes all
|
||||||
|
date and time format methods ending in "_format".
|
||||||
|
- Other deprecated methods include:
|
||||||
|
date_parts_order, date_before_time
|
||||||
|
era, eras
|
||||||
|
month_name, month_abbreviation, month_narrow
|
||||||
|
month_names, month_abbreviations, month_narrows
|
||||||
|
day_name, day_abbreviation, day_narrow
|
||||||
|
day_names, day_abbreviations, day_narrows
|
||||||
|
quarter_name, quarter_abbreviation, quarter_narrow
|
||||||
|
quarter_names, quarter_abbreviations
|
||||||
|
am_pm, am_pms
|
||||||
|
era_name, era_abbreviation
|
||||||
|
era_narrow, era_names, era_abbreviations
|
||||||
|
- All of these deprecated methods will eventually be removed. If you are using
|
||||||
|
them directly, please change your code.
|
||||||
|
- Converted data files in tools/t/test-data to Unix line endings. This works
|
||||||
|
around a bug in Module::Signature. Reported by Zefram. RT #49085.
|
||||||
|
- Require Params::Validate 0.91, since 0.89 caused test failures for
|
||||||
|
someone. Reported by Jeremy Hetzler. RT #41365.
|
||||||
|
- Moved code to my hg repo at http://hg.urth.org/hg/DateTime-Locale.
|
||||||
|
- 0.43 2009-06-30
|
||||||
|
- Based on CLDR 1.7.1, which includes support for several new
|
||||||
|
languages, as well as lots of changes.
|
||||||
|
- removed .packlist, perllocal.pod files
|
||||||
|
> noarch package
|
||||||
|
- cleanup spec
|
||||||
|
o removed useless comments
|
||||||
|
o fixed Header
|
||||||
|
o fixed License
|
||||||
|
o fixed deps
|
||||||
|
- perl-macros < 1120
|
||||||
|
- perl(Params::Validate) >= 0.91
|
||||||
|
o fixed description
|
||||||
|
o moved changelog to changes file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 25 19:36:45 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- spec mods
|
||||||
|
* removed ^----------
|
||||||
|
* removed ^#---------
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 21 19:48:49 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- added perl-macros
|
||||||
|
o autogen filelist with perl_gen_filelist
|
||||||
|
- spec mods
|
||||||
|
o added header
|
||||||
|
o fixed deps
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 26 10:17:25 UTC 2008 - gerrit.beine@gmx.de
|
||||||
|
|
||||||
|
- update to 0.42
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 8 14:33:16 UTC 2008 - gerrit.beine@gmx.de
|
||||||
|
|
||||||
|
- first release 0.4001
|
||||||
|
|
89
perl-DateTime-Locale.spec
Normal file
89
perl-DateTime-Locale.spec
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-DateTime-Locale (Version 0.45)
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
||||||
|
Name: perl-DateTime-Locale
|
||||||
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
|
Summary: Localization support for DateTime.pm
|
||||||
|
Version: 0.45
|
||||||
|
Release: 1
|
||||||
|
License: GPL Version 2, Artistic License
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/DateTime-Locale
|
||||||
|
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(Class::ISA)
|
||||||
|
# other not perl || perl-base
|
||||||
|
#BuildRequires: perl(Test::Pod)
|
||||||
|
#BuildRequires: perl(Test::Pod::Coverage)
|
||||||
|
BuildRequires: perl(Test::Output)
|
||||||
|
BuildRequires: perl(List::MoreUtils)
|
||||||
|
BuildRequires: perl(Params::Validate) >= 0.91
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
Requires: perl(Class::ISA)
|
||||||
|
# other not perl || perl-base
|
||||||
|
Requires: perl(List::MoreUtils)
|
||||||
|
Requires: perl(Params::Validate) >= 0.91
|
||||||
|
|
||||||
|
%description
|
||||||
|
DateTime::Locale is primarily a factory for the various locale subclasses.
|
||||||
|
It also provides some functions for getting information on all
|
||||||
|
the available locales.
|
||||||
|
|
||||||
|
If you want to know what methods are available for locale objects,
|
||||||
|
then please read the DateTime::Locale::Base documentation.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
Richard Evans <rich@ridas.com>
|
||||||
|
Dave Rolsky <autarch@urth.org>
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
Loading…
Reference in New Issue
Block a user