SHA256
10
0
forked from pool/lua-cldr

- Update to 0.3.0:

* Refresh data based on Unicode CLDR 42
 * Tarball now has a copy of the Unicode license covering bundled data

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-cldr?expand=0&rev=3
This commit is contained in:
Gordon Leung
2022-12-06 18:46:39 +00:00
committed by Git OBS Bridge
parent 737dcf9910
commit 04cc70125b
6 changed files with 17 additions and 57 deletions

View File

@@ -3,7 +3,7 @@
<param name="url">https://github.com/alerque/cldr-lua</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">51e4760838c0a83ef1a76d0a0fb2e9f964069a50</param>
<param name="revision">4602a7859535ca198ddfaba73a02f9bce3e81025</param>
<param name="versionrewrite-pattern">v(\d+.\d+.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
</service>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc850519d5b853c045bc775f3be28158d3d69109e975050e1d67813f73d4f7d3
size 7768

3
cldr-lua-0.3.0.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e87ddf1bf309ef79e0fc87e473603ef7fac40c41c77ace3c7aeb12c1212c58b
size 8544

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Dec 6 18:45:04 UTC 2022 - Gordon Leung <pirateclip@protonmail.com>
- Update to 0.3.0:
* Refresh data based on Unicode CLDR 42
* Tarball now has a copy of the Unicode license covering bundled data
-------------------------------------------------------------------
Thu Aug 25 02:27:13 UTC 2022 - Gordon Leung <pirateclip@protonmail.com>

View File

@@ -20,18 +20,15 @@
%define mod_name cldr
%define rock_version dev-0
Version: 0.2.0
Version: 0.3.0
Release: 0
Summary: Unicode CLDR data and Lua interface
License: MIT AND Unicode-TOU
Group: Development/Languages/Other
URL: https://github.com/alerque/cldr-lua
Source0: %{mod_name}-lua-%{version}.tar.xz
# License for data from CLDR 41
# https://github.com/unicode-org/cldr/blob/180629dd13d7cc11ac5e5b930206ac4b8d2d49cd/unicode-license.txt
Source1: unicode-license.txt
BuildRequires: %{flavor}-luarocks
BuildRequires: %{flavor}-devel
BuildRequires: %{flavor}-luarocks
BuildRequires: %{flavor}-penlight
%lua_provides
Requires: %{flavor}
@@ -49,17 +46,19 @@ Unicode CLDR (Common Locale Data Repository) data and Lua interface.
The Unicode CLDR provides key building blocks for software to support
the world's languages, with the largest and most extensive standard
repository of locale data available.
%prep
%autosetup -n %{mod_name}-lua-%{version}
cp %{SOURCE1} .
%build
%luarocks_build "%{mod_name}-%{rock_version}.rockspec"
%install
%luarocks_install *.rock
%files
%license %{luarocks_treedir}/%{mod_name}/%{rock_version}/doc/LICENSE
%license unicode-license.txt
%license %{luarocks_treedir}/%{mod_name}/%{rock_version}/doc/LICENSE-Unicode
%docdir %{luarocks_treedir}/%{mod_name}/%{rock_version}/doc
%{lua_noarchdir}/%{mod_name}
%{luarocks_treedir}/%{mod_name}

View File

@@ -1,46 +0,0 @@
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
See Terms of Use for definitions of Unicode Inc.'s
Data Files and Software.
NOTICE TO USER: Carefully read the following legal agreement.
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
TERMS AND CONDITIONS OF THIS AGREEMENT.
IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
THE DATA FILES OR SOFTWARE.
COPYRIGHT AND PERMISSION NOTICE
Copyright © 1991-2022 Unicode, Inc. All rights reserved.
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Unicode data files and any associated documentation
(the "Data Files") or Unicode software and any associated documentation
(the "Software") to deal in the Data Files or Software
without restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, and/or sell copies of
the Data Files or Software, and to permit persons to whom the Data Files
or Software are furnished to do so, provided that either
(a) this copyright and permission notice appear with all copies
of the Data Files or Software, or
(b) this copyright and permission notice appear in associated
Documentation.
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT OF THIRD PARTY RIGHTS.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THE DATA FILES OR SOFTWARE.
Except as contained in this notice, the name of a copyright holder
shall not be used in advertising or otherwise to promote the sale,
use or other dealings in these Data Files or Software without prior
written authorization of the copyright holder.