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