From 64bd1da30489903127e8af52c18f9a4d953dc4ba Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Aug 31 2023 05:59:53 +0000 Subject: add license.txt --- diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..11f2842 --- /dev/null +++ b/license.txt @@ -0,0 +1,39 @@ +UNICODE LICENSE V3 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 1991-2023 Unicode, Inc. + +NOTICE TO USER: Carefully read the following legal agreement. BY +DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR +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. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of data files and any associated documentation (the "Data Files") or +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. diff --git a/unicode-ucd.spec b/unicode-ucd.spec index a778592..8a2cef2 100644 --- a/unicode-ucd.spec +++ b/unicode-ucd.spec @@ -4,17 +4,18 @@ Name: unicode-ucd Version: 15.1.0 -Release: 0.1%{?dist} +Release: 0.2%{?dist} Summary: Unicode Character Database -# current https://www.unicode.org/license.txt is similar to -# https://web.archive.org/web/20210830183830/https://www.unicode.org/license.html # http://www.unicode.org/terms_of_use.html in ReadMe.txt redirects to: # http://www.unicode.org/copyright.html +# which links to https://www.unicode.org/license.txt License: Unicode-DFS-2016 AND Unicode-TOU URL: http://www.unicode.org/ucd/ +# update with fbrnch update-version -f Source0: http://www.unicode.org/Public/zipped/%{version}/UCD.zip Source1: http://www.unicode.org/Public/zipped/%{version}/Unihan.zip +Source2: https://www.unicode.org/license.txt BuildArch: noarch %description @@ -47,9 +48,11 @@ grep -q "%{version}" ReadMe.txt || (echo "zip file seems not %{version}" ; exit mkdir -p %{buildroot}%{ucddir} cp -ar . %{buildroot}%{ucddir} cp -p %{SOURCE1} %{buildroot}%{ucddir} +cp %{SOURCE2} . %files +%license license.txt %dir %{unicodedir} %{ucddir} %exclude %{ucddir}/Unihan.zip @@ -59,6 +62,9 @@ cp -p %{SOURCE1} %{buildroot}%{ucddir} %changelog +* Thu Aug 31 2023 Jens Petersen - 15.1.0-0.2 +- add license.txt + * Thu Aug 31 2023 Jens Petersen - 15.1.0-0.1 - update to draft 15.1.0: https://unicode.org/versions/Unicode15.1.0/ - do not add copyright.html file from website