Update to 43.1

This commit is contained in:
wu-leilei 2023-10-18 18:19:10 +08:00
parent 927ac39b5c
commit 5b26bf559c
2 changed files with 38 additions and 11 deletions

View File

@ -1,10 +1,10 @@
Name: cldr-emoji-annotation
Version: 36.12.120200305_0
Version: 43.1
Release: 1
Summary: Emoji annotation files in CLDR
License: LGPLv2+ and Unicode
URL: https://github.com/fujiwarat/cldr-emoji-annotation
Source0: https://github.com/fujiwarat/cldr-emoji-annotation/releases/download/%{version}/%{name}-%{version}.tar.gz
URL: https://github.com/unicode-org/cldr
Source0: https://github.com/unicode-org/cldr/archive/refs/tags/release-43-1.zip#/cldr-release-43-1.zip
BuildRequires: autoconf automake
@ -24,19 +24,43 @@ Files for development of cldr-emoji-annotation
%package_help
%prep
%autosetup -p1
%autosetup -n cldr-release-43-1
%build
autoreconf -v -i
%configure
%make_build
%install
%make_install
pushd $PWD
ANNOTATION_DIR=common/annotations
CLDR_DIR=%{_datadir}/unicode/cldr/$ANNOTATION_DIR
pushd $ANNOTATION_DIR
for xml in *.xml ; do
install -pm 644 -D $xml $RPM_BUILD_ROOT$CLDR_DIR/$xml
done
popd
ANNOTATION_DIR=common/annotationsDerived
CLDR_DIR=%{_datadir}/unicode/cldr/$ANNOTATION_DIR
pushd $ANNOTATION_DIR
for xml in *.xml ; do
install -pm 644 -D $xml $RPM_BUILD_ROOT$CLDR_DIR/$xml
done
popd
DTD_DIR=common/dtd
CLDR_DIR=%{_datadir}/unicode/cldr/$DTD_DIR
pushd $DTD_DIR
for dtd in *.dtd ; do
install -pm 644 -D $dtd $RPM_BUILD_ROOT$CLDR_DIR/$dtd
done
popd
install -pm 755 -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig
cat >> $RPM_BUILD_ROOT%{_datadir}/pkgconfig/%{name}.pc <<_EOF
prefix=/usr
%files
%defattr(-,root,root)
%doc AUTHORS
%doc README.md
%license unicode-license.txt
%{_datadir}/unicode/
@ -46,9 +70,12 @@ autoreconf -v -i
%files help
%defattr(-,root,root)
%doc README
%doc README.md
%changelog
* Wed Oct 18 2023 wulei <wu_lei@hoperun.com> - 43.1-1
- Update to 43.1
* Wed Jun 10 2020 zhujunhao <zhujunhao8@huawei.com> - 36.12.120200305_0-1
- update to 36.12.120200305_0

BIN
cldr-release-43-1.zip Normal file

Binary file not shown.