Compare commits
31 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96a40fa57a | ||
|
|
d9ff1bc8d1 | ||
|
|
d81355c478 | ||
|
|
b400d270a8 | ||
|
|
129ec51c4d | ||
|
|
82cd33d3b9 | ||
|
|
970dec8377 | ||
|
|
09a66ef77e | ||
|
|
a91737b434 | ||
|
|
f8489573f4 | ||
|
|
64bd1da304 | ||
|
|
b2e1da1b3f | ||
|
|
75adb9f71d |
||
|
|
157c0e4ee6 | ||
|
|
51c0fc16e4 | ||
|
|
07a4d4dc9e | ||
|
|
40f38d6d0d | ||
|
|
f0778bc3f3 | ||
|
|
cc9528ecb7 | ||
|
|
ea4b49cc15 | ||
|
|
07736c5c11 | ||
|
|
43dff570b8 | ||
|
|
129c848f34 | ||
|
|
8b12a76436 | ||
|
|
39ef12ef31 | ||
|
|
4c08c1bace | ||
|
|
8f659f99f3 | ||
|
|
100b9cc03e | ||
|
|
1e19f799b4 | ||
|
|
1b756bd2eb | ||
|
|
012fc1444e |
9 changed files with 173 additions and 352 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
4
Makefile
Normal file
4
Makefile
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
update-sources:
|
||||
spectool -g -S -f unicode-ucd.spec
|
||||
dos2unix copyright.html
|
||||
fedpkg new-sources UCD.zip Unihan.zip
|
||||
339
copyright.html
339
copyright.html
|
|
@ -1,339 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta name="VI60_defaultClientScript" content="JavaScript">
|
||||
<meta name="GENERATOR" content="Microsoft FrontPage 12.0">
|
||||
<meta name="keywords" content="Unicode Standard, copyright">
|
||||
<meta name="ProgId" content="FrontPage.Editor.Document">
|
||||
<title>Unicode Terms of Use</title>
|
||||
<link rel="stylesheet" type="text/css" href="copyright_files/standard_styles.css">
|
||||
|
||||
<style type="text/css">
|
||||
pre {
|
||||
FONT-FAMILY: Arial, Geneva, sans-serif;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body text="#330000">
|
||||
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody><tr>
|
||||
<td colspan="2">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody><tr>
|
||||
|
||||
<td class="icon"><a href="http://www.unicode.org/"><img src="copyright_files/logo60s2.gif" alt="[Unicode]" width="34" height="33" border="0" align="middle"></a> <a class="bar" href="http://www.unicode.org/copyright.html"><font size="3">Terms of
|
||||
Use</font></a></td>
|
||||
<td class="bar"><a href="http://www.unicode.org/" class="bar">Home</a>
|
||||
| <a href="http://www.unicode.org/sitemap/" class="bar">Site Map</a> |
|
||||
<a href="http://www.unicode.org/search" class="bar">Search </a></td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="gray"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navCol" width="25%" valign="top">
|
||||
<table class="navColTable" width="100%" cellspacing="4" cellpadding="0" border="0">
|
||||
<tbody><tr>
|
||||
<td class="navColTitle">Contents</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top"><a href="#1">Unicode Copyright</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top"><a href="#2">Restricted Rights
|
||||
Legend</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top"><a href="#3">Warranties &
|
||||
Disclaimers</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top"><a href="#4">Waiver of Damages</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top"><a href="#5">Trademarks & Logos</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top"><a href="#7">Miscellaneous</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top"><a href="#License">Data Files and
|
||||
Software License Agreement (Exhibit 1)</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top"> </td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<table class="navColTable" width="100%" cellspacing="4" cellpadding="0" border="0">
|
||||
<tbody><tr>
|
||||
<td class="navColTitle">Related Links</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top">
|
||||
<a href="http://www.unicode.org/policies/logo_policy.html">Trademark Policy</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top">
|
||||
<a href="http://www.unicode.org/policies/policies.html">Unicode
|
||||
Policies</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="navColCell" valign="top"></td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
|
||||
<!-- BEGIN CONTENTS -->
|
||||
|
||||
</td><td>
|
||||
|
||||
<blockquote>
|
||||
<h1>Unicode® Terms of Use</h1>
|
||||
|
||||
<p>For the general privacy policy governing access to this site, see
|
||||
the
|
||||
<a href="http://www.unicode.org/policies/privacy_policy.html">
|
||||
Unicode Privacy Policy</a>. For trademark usage, see
|
||||
<a href="http://www.unicode.org/policies/logo_policy.html">the
|
||||
Unicode® Consortium Name and Trademark Usage Policy</a>.</p>
|
||||
|
||||
<table class="sidebar" id="table1" width="50%" align="right">
|
||||
<tbody><tr>
|
||||
<td class="sidebarTitle">Notice to End User: Terms of Use</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="sidebar">Carefully read the following legal agreement
|
||||
("Agreement"). Use or copying of the software and/or codes
|
||||
provided with this agreement (The "Software") constitutes your
|
||||
acceptance of these terms. If you have any questions about these terms of use, please <a href="http://www.unicode.org/contacts.html">contact the Unicode Consortium</a>.</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<ol type="A">
|
||||
<li><u><a name="1"></a>Unicode Copyright.</u>
|
||||
<ol>
|
||||
<li>Copyright © 1991-2018 Unicode, Inc. All rights reserved.</li>
|
||||
<li>Certain documents and files on this website contain a legend
|
||||
indicating that "Modification is permitted." Any person is
|
||||
hereby authorized, without fee, to modify such documents and
|
||||
files to create derivative works conforming to the Unicode®
|
||||
Standard, subject to Terms and Conditions herein.</li>
|
||||
<li>Any person is hereby authorized, without fee, to view, use,
|
||||
reproduce, and distribute all documents and files, subject to the Terms and Conditions
|
||||
herein.</li>
|
||||
<li>Further specifications of rights and restrictions pertaining
|
||||
to the use of the particular set of data files known as the
|
||||
"Unicode Character Database" can be found in the
|
||||
<a href="#License">License</a>.</li>
|
||||
<li>Each version of the Unicode Standard has further
|
||||
specifications of rights and restrictions of use. For the book
|
||||
editions (Unicode 5.0 and earlier), these are found on the back
|
||||
of the
|
||||
<a href="http://www.unicode.org/versions/Unicode5.0.0/Title.pdf">title page</a>.
|
||||
|
||||
The online code charts carry specific restrictions. All
|
||||
other files, including online documentation of the core specification
|
||||
for Unicode 6.0 and later, are covered under these general Terms of
|
||||
Use.</li>
|
||||
<li>No license is granted to "mirror" the Unicode website where
|
||||
a fee is charged for access to the "mirror" site.</li>
|
||||
<li>Modification is not permitted with respect to this document.
|
||||
All copies of this document must be verbatim.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li><u><a name="2"></a>Restricted Rights Legend</u>. Any technical
|
||||
data or software which is licensed to the United States of
|
||||
America, its agencies and/or instrumentalities under this
|
||||
Agreement is commercial technical data or commercial computer
|
||||
software developed exclusively at private expense as defined in
|
||||
FAR 2.101, or DFARS 252.227-7014 (June 1995), as applicable. For
|
||||
technical data, use, duplication, or disclosure by the Government
|
||||
is subject to restrictions as set forth in DFARS 202.227-7015
|
||||
Technical Data, Commercial and Items (Nov 1995) and this
|
||||
Agreement. For Software, in accordance with FAR 12-212 or DFARS
|
||||
227-7202, as applicable, use, duplication or disclosure by the
|
||||
Government is subject to the restrictions set forth in this
|
||||
Agreement.</li>
|
||||
<li><u><a name="3"></a>Warranties and Disclaimers</u>.
|
||||
<ol>
|
||||
<li>This publication and/or website may include technical or
|
||||
typographical errors or other inaccuracies . Changes are
|
||||
periodically added to the information herein; these changes will
|
||||
be incorporated in new editions of the publication and/or
|
||||
website. Unicode may make improvements and/or changes in the
|
||||
product(s) and/or program(s) described in this publication
|
||||
and/or website at any time.</li>
|
||||
<li>If this file has been purchased on magnetic or optical media
|
||||
from Unicode, Inc. the sole and exclusive remedy for any claim
|
||||
will be exchange of the defective media within ninety (90) days
|
||||
of original purchase.</li>
|
||||
<li>EXCEPT AS PROVIDED IN SECTION C.2, THIS PUBLICATION AND/OR
|
||||
SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER
|
||||
EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO,
|
||||
ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, OR NON-INFRINGEMENT. UNICODE AND ITS LICENSORS ASSUME
|
||||
NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS PUBLICATION
|
||||
AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR
|
||||
LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li><u><a name="4"></a>Waiver of Damages.</u> In no event shall
|
||||
Unicode or its licensors be liable for any special, incidental,
|
||||
indirect or consequential damages of any kind, or any damages
|
||||
whatsoever, whether or not Unicode was advised of the possibility
|
||||
of the damage, including, without limitation, those resulting from
|
||||
the following: loss of use, data or profits, in connection with
|
||||
the use, modification or distribution of this information or its
|
||||
derivatives.</li>
|
||||
<li><u><a name="5"></a>Trademarks & Logos.</u>
|
||||
<ol>
|
||||
<li>The Unicode Word Mark and the Unicode Logo are
|
||||
trademarks of Unicode, Inc. “The Unicode Consortium” and “Unicode,
|
||||
Inc.” are trade names of Unicode, Inc. Use of the information and
|
||||
materials found on this website indicates your acknowledgement of
|
||||
Unicode, Inc.’s exclusive worldwide rights in the Unicode Word Mark, the
|
||||
Unicode Logo, and the Unicode trade names.</li>
|
||||
<li><a href="http://www.unicode.org/policies/logo_policy.html">The Unicode Consortium Name and Trademark Usage Policy</a>
|
||||
(“Trademark Policy”) are incorporated herein by reference and you agree
|
||||
to abide by the provisions of the Trademark Policy, which may be
|
||||
changed from time to time in the sole discretion of Unicode, Inc.</li>
|
||||
<li>All third party trademarks referenced herein are the property of their respective owners.
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
|
||||
<li><u><a name="7"></a>Miscellaneous</u>.
|
||||
<ol>
|
||||
<li><u>Jurisdiction and Venue</u>. This server is operated from
|
||||
a location in the State of California, United States of America.
|
||||
Unicode makes no representation that the materials are
|
||||
appropriate for use in other locations. If you access this
|
||||
server from other locations, you are responsible for compliance
|
||||
with local laws. This Agreement, all use of this site and any
|
||||
claims and damages resulting from use of this site are governed
|
||||
solely by the laws of the State of California without regard to
|
||||
any principles which would apply the laws of a different
|
||||
jurisdiction. The user agrees that any disputes regarding this
|
||||
site shall be resolved solely in the courts located in Santa
|
||||
Clara County, California. The user agrees said courts have
|
||||
personal jurisdiction and agree to waive any right to transfer
|
||||
the dispute to any other forum. </li>
|
||||
<li><u>Modification by Unicode </u>Unicode shall have the right
|
||||
to modify this Agreement at any time by posting it to this site.
|
||||
The user may not assign any part of this Agreement without
|
||||
Unicode’s prior written consent.</li>
|
||||
<li><u>Taxes.</u> The user agrees to pay any taxes arising from
|
||||
access to this website or use of the information herein, except
|
||||
for those based on Unicode’s net income.</li>
|
||||
<li><u>Severability</u>. If any provision of this
|
||||
Agreement is declared invalid or unenforceable, the remaining
|
||||
provisions of this Agreement shall remain in effect.</li>
|
||||
<li><u>Entire Agreement</u>. This Agreement constitutes the
|
||||
entire agreement between the parties. </li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
</blockquote>
|
||||
<hr width="95%">
|
||||
|
||||
<blockquote>
|
||||
<h3 align="center"><a name="Exhibit1">EXHIBIT 1</a><br>
|
||||
<a name="License">UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE</a></h3>
|
||||
|
||||
<pre>Unicode Data Files include all data files under the directories
|
||||
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
||||
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
|
||||
http://www.unicode.org/utility/trac/browser/.
|
||||
|
||||
Unicode Data Files do not include PDF online code charts under the
|
||||
directory http://www.unicode.org/Public/.
|
||||
|
||||
Software includes any source code published in the Unicode Standard
|
||||
or under the directories
|
||||
http://www.unicode.org/Public/, http://www.unicode.org/reports/,
|
||||
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/, and
|
||||
http://www.unicode.org/utility/trac/browser/.
|
||||
|
||||
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-2018 Unicode, Inc. All rights reserved.
|
||||
Distributed under the Terms of Use in http://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.
|
||||
</pre>
|
||||
|
||||
</blockquote>
|
||||
|
||||
|
||||
<hr width="50%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table id="table2" cellspacing="0" cellpadding="0" border="0">
|
||||
<tbody><tr>
|
||||
<td><a href="http://www.unicode.org/copyright.html">
|
||||
<img src="copyright_files/hb_notice.gif" alt="Access to Copyright and terms of use" width="216" height="50" border="0"></a></td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
<script language="Javascript" type="text/javascript" src="copyright_files/lastModified.js">
|
||||
</script><font size="-3">Last updated:
|
||||
- 2018/1/6 5:55:11
|
||||
- <a href="http://www.unicode.org/contacts.html">Contact Us</a>
|
||||
</font>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</tbody></table>
|
||||
|
||||
|
||||
</body></html>
|
||||
39
license.txt
Normal file
39
license.txt
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
UNICODE LICENSE V3
|
||||
|
||||
COPYRIGHT AND PERMISSION NOTICE
|
||||
|
||||
Copyright © 1991-2024 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.
|
||||
5
plans/parse.fmf
Normal file
5
plans/parse.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (UCD.zip) = 954a499ff072727c8778e711fb1753834adf09277c9e9a2592c02b59971860f9a407c7e9985ed1e6bdda7a3cf3b1cd6316599c4bffe8b0625413f874486830c1
|
||||
SHA512 (Unihan.zip) = a045e79545f1ec3529a8556d41c73b20809979e002f98314068c6f91daa79abb2ab3ab383090651b55fb55e343d8fcf67bea822d93d6e3221a206d58ef9e3a7b
|
||||
SHA512 (UCD.zip) = 34bf4f3760b72f34d31b9135820458a92efc01be4e068446031849ba8e36b9e30adecb2b7721239441cc026e70a33ad780a753464a6a635cea222c34767755d6
|
||||
SHA512 (Unihan.zip) = 8b0d117fed39600c62864dd0c955b2fe0a52cfc975288fcf58cb770aaf476355f52b2a603e11330184a07d89c705c0fea55eeb9a044c8f1ba3ba79f5f32d0b33
|
||||
|
|
|
|||
6
tests/parse/main.fmf
Normal file
6
tests/parse/main.fmf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
summary: parse unicode data
|
||||
require:
|
||||
- unicode-ucd
|
||||
- python3
|
||||
test: python3 test.py
|
||||
framework: shell
|
||||
16
tests/parse/test.py
Normal file
16
tests/parse/test.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
codepoints = 0
|
||||
|
||||
file = '/usr/share/unicode/ucd/UnicodeData.txt'
|
||||
|
||||
with open(file, mode='rt', encoding='ascii') as unicode_data:
|
||||
for line in unicode_data.readlines():
|
||||
codepoint_string, name, category = line.split(';')[:3]
|
||||
codepoint = int(codepoint_string, 16)
|
||||
char = chr(codepoint)
|
||||
codepoints = codepoints + 1
|
||||
|
||||
print(codepoints)
|
||||
# Unicode 17
|
||||
assert(codepoints == 40575)
|
||||
111
unicode-ucd.spec
111
unicode-ucd.spec
|
|
@ -3,17 +3,20 @@
|
|||
%global ucddir %{unicodedir}/ucd
|
||||
|
||||
Name: unicode-ucd
|
||||
Version: 11.0.0
|
||||
Version: 17.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Unicode Character Database
|
||||
|
||||
# https://fedoraproject.org/wiki/Licensing/MIT#Modern_Style_without_sublicense_.28Unicode.29
|
||||
License: MIT
|
||||
# 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
|
||||
# https://github.com/spdx/license-list-XML/issues/2105
|
||||
License: Unicode-3.0
|
||||
URL: http://www.unicode.org/ucd/
|
||||
Source0: http://www.unicode.org/Public/zipped/%{version}/UCD.zip
|
||||
# http://www.unicode.org/terms_of_use.html referenced in ReadMe.txt redirects to:
|
||||
Source1: http://www.unicode.org/copyright.html
|
||||
Source2: http://www.unicode.org/Public/zipped/%{version}/Unihan.zip
|
||||
# update with "fbrnch update-sources -f"
|
||||
Source0: https://www.unicode.org/Public/%{version}/ucd/UCD.zip
|
||||
Source1: https://www.unicode.org/Public/%{version}/ucd/Unihan.zip
|
||||
Source2: https://www.unicode.org/license.txt
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
|
@ -45,13 +48,12 @@ grep -q "%{version}" ReadMe.txt || (echo "zip file seems not %{version}" ; exit
|
|||
%install
|
||||
mkdir -p %{buildroot}%{ucddir}
|
||||
cp -ar . %{buildroot}%{ucddir}
|
||||
cp -p %{SOURCE2} %{buildroot}%{ucddir}
|
||||
|
||||
cp -p %{SOURCE1} .
|
||||
cp -p %{SOURCE1} %{buildroot}%{ucddir}
|
||||
cp %{SOURCE2} .
|
||||
|
||||
|
||||
%files
|
||||
%doc copyright.html
|
||||
%license license.txt
|
||||
%dir %{unicodedir}
|
||||
%{ucddir}
|
||||
%exclude %{ucddir}/Unihan.zip
|
||||
|
|
@ -61,6 +63,93 @@ cp -p %{SOURCE1} .
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Sep 10 2025 Jens Petersen <petersen@redhat.com> - 17.0.0-1
|
||||
- https://www.unicode.org/versions/Unicode17.0.0/
|
||||
- https://blog.unicode.org/2025/09/unicode-170-release-announcement.html
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Sep 19 2024 Jens Petersen <petersen@redhat.com> - 16.0.0-1
|
||||
- update for https://unicode.org/versions/Unicode16.0.0/
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 15.1.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon Jul 15 2024 Parag Nemade <pnemade AT redhat DOT com> - 15.1.0-3
|
||||
- Update the license tag to Unicode-3.0
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 15.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Sep 16 2023 Jens Petersen <petersen@redhat.com> - 15.1.0-1
|
||||
- Unicode 15.1 released
|
||||
|
||||
* Thu Aug 31 2023 Jens Petersen <petersen@redhat.com> - 15.1.0-0.2
|
||||
- add license.txt
|
||||
|
||||
* Thu Aug 31 2023 Jens Petersen <petersen@redhat.com> - 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
|
||||
- add missing Unicode-TOU license tag
|
||||
|
||||
* Mon Aug 21 2023 Parag Nemade <pnemade AT fedoraproject DOT org> - 15.0.0-4
|
||||
- Migrate to SPDX license expression
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Sep 14 2022 Jens Petersen <petersen@redhat.com> - 15.0.0-1
|
||||
- https://www.unicode.org/versions/Unicode15.0.0/ (#2126234)
|
||||
- http://blog.unicode.org/2022/09/announcing-unicode-standard-version-150.html
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Mon Sep 20 2021 Jens Petersen <petersen@redhat.com> - 14.0.0-1
|
||||
- update to Unicode 14
|
||||
- https://www.unicode.org/versions/Unicode14.0.0/
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Mar 11 2020 Jens Petersen <petersen@redhat.com> - 13.0.0-1
|
||||
- update to Unicode 13
|
||||
- https://www.unicode.org/versions/Unicode13.0.0/
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 10 2019 fedora-toolbox <petersen@redhat.com> - 12.1.0-1
|
||||
- update to Unicode 12.1
|
||||
|
||||
* Fri Mar 8 2019 Jens Petersen <petersen@redhat.com> - 12.0.0-1
|
||||
- update to Unicode 12
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 21 2018 Jens Petersen <petersen@redhat.com> - 11.0.0-1
|
||||
- update to Unicode 11
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue