72e986
# for other future directories from http://www.unicode.org/Public
72e986
%global unicodedir %{_datadir}/unicode
72e986
%global ucddir %{unicodedir}/ucd
72e986
72e986
Name:           unicode-ucd
72e986
Version:        13.0.0
72e986
Release:        5%{?dist}
72e986
Summary:        Unicode Character Database
72e986
72e986
# https://fedoraproject.org/wiki/Licensing/MIT#Modern_Style_without_sublicense_.28Unicode.29
72e986
License:        MIT
72e986
URL:            http://www.unicode.org/ucd/
72e986
Source0:        http://www.unicode.org/Public/zipped/%{version}/UCD.zip
72e986
# http://www.unicode.org/terms_of_use.html referenced in ReadMe.txt redirects to:
72e986
# curl http://www.unicode.org/copyright.html | dos2unix > copyright.html
72e986
Source1:        http://www.unicode.org/copyright.html
72e986
Source2:        http://www.unicode.org/Public/zipped/%{version}/Unihan.zip
72e986
BuildArch:      noarch
72e986
72e986
%description
72e986
The Unicode Character Database (UCD) consists of a number of data files listing
72e986
Unicode character properties and related data. It also includes data files
72e986
containing test data for conformance to several important Unicode algorithms.
72e986
72e986
72e986
%package unihan
72e986
Summary:        Unicode Han Database
72e986
# for the license and dirs
72e986
Requires:       %{name} = %{version}-%{release}
72e986
72e986
%description unihan
72e986
This package contains Unihan.zip which contains the data files for the Unified
72e986
Han database of Hanzi/Kanji/Hanja Chinese characters.
72e986
72e986
72e986
%prep
72e986
%setup -q -c
72e986
72e986
grep -q "%{version}" ReadMe.txt || (echo "zip file seems not %{version}" ; exit 1)
72e986
72e986
72e986
%build
72e986
%{nil}
72e986
72e986
72e986
%install
72e986
mkdir -p %{buildroot}%{ucddir}
72e986
cp -ar . %{buildroot}%{ucddir}
72e986
cp -p %{SOURCE2} %{buildroot}%{ucddir}
72e986
72e986
cp -p %{SOURCE1} .
72e986
72e986
72e986
%files
72e986
%doc copyright.html
72e986
%dir %{unicodedir}
72e986
%{ucddir}
72e986
%exclude %{ucddir}/Unihan.zip
72e986
72e986
%files unihan
72e986
%{ucddir}/Unihan.zip
72e986
72e986
72e986
%changelog
72e986
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 13.0.0-5
72e986
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
72e986
  Related: rhbz#1991688
72e986
72e986
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 13.0.0-4
72e986
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
72e986
72e986
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-3
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
72e986
72e986
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-2
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
72e986
72e986
* Wed Mar 11 2020 Jens Petersen <petersen@redhat.com> - 13.0.0-1
72e986
- update to Unicode 13
72e986
- https://www.unicode.org/versions/Unicode13.0.0/
72e986
72e986
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-3
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
72e986
72e986
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-2
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
72e986
72e986
* Fri May 10 2019 fedora-toolbox <petersen@redhat.com> - 12.1.0-1
72e986
- update to Unicode 12.1
72e986
72e986
* Fri Mar  8 2019 Jens Petersen <petersen@redhat.com> - 12.0.0-1
72e986
- update to Unicode 12
72e986
72e986
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-3
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
72e986
72e986
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-2
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
72e986
72e986
* Thu Jun 21 2018 Jens Petersen <petersen@redhat.com> - 11.0.0-1
72e986
- update to Unicode 11
72e986
72e986
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-3
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
72e986
72e986
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-2
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
72e986
72e986
* Tue Jun 20 2017 Jens Petersen <petersen@redhat.com> - 10.0.0-1
72e986
- update to Unicode 10 (#1463030)
72e986
72e986
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-3
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
72e986
72e986
* Tue Jul 26 2016 Jens Petersen <petersen@redhat.com> - 9.0.0-2
72e986
- add unihan subpackage (#1357769)
72e986
72e986
* Tue Jun 21 2016 Jens Petersen <petersen@redhat.com> - 9.0.0-1
72e986
- update to Unicode 9.0
72e986
72e986
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-2
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
72e986
72e986
* Thu Jun 18 2015 Jens Petersen <petersen@redhat.com> - 8.0.0-1
72e986
- version 8.0
72e986
72e986
* Wed Jun 18 2014 Jens Petersen <petersen@redhat.com> - 7.0.0-1
72e986
- update to 7.0
72e986
72e986
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-3
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
72e986
72e986
* Fri Jan 24 2014 Jens Petersen <petersen@redhat.com> - 6.3.0-2
72e986
- only install one copy of copyright.html
72e986
- update to latest 2014 copyright.html from website
72e986
72e986
* Tue Oct  1 2013 Jens Petersen <petersen@redhat.com>
72e986
- add a version check to prevent packaging a version mismatch
72e986
72e986
* Mon Sep 30 2013 Jens Petersen <petersen@redhat.com> - 6.3.0-1
72e986
- update to 6.3
72e986
72e986
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-5
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
72e986
72e986
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-4
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
72e986
72e986
* Wed Oct 24 2012 Jens Petersen <petersen@redhat.com> - 6.2.0-3
72e986
- do not use macro in comment
72e986
72e986
* Wed Oct 24 2012 Jens Petersen <petersen@redhat.com> - 6.2.0-2
72e986
- update to latest copyright file from the website
72e986
72e986
* Wed Sep 26 2012 Jens Petersen <petersen@redhat.com> - 6.2.0-1
72e986
- update to Unicode 6.2
72e986
72e986
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.0-2
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
72e986
72e986
* Fri Mar  2 2012 Jens Petersen <petersen@redhat.com> - 6.1.0-1
72e986
- update to Unicode 6.1
72e986
72e986
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.0-4
72e986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
72e986
72e986
* Wed Nov 30 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-3
72e986
- do not duplicate ReadMe.txt in doc files
72e986
72e986
* Tue Nov 29 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-2
72e986
- fix duplicate copyright file (#757290)
72e986
- drop superfluous BR on unzip
72e986
72e986
* Sat Nov 26 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-1
72e986
- package Unicode 6.0 UCD
72e986
- MIT license