|
|
71fa8d |
%global tag_version release-39
|
|
|
71fa8d |
#%%global is_official 0%%(echo %%{tag_version} | egrep -q 'alpha|beta|final'; echo $?)
|
|
|
71fa8d |
#%%global is_official 0
|
|
|
71fa8d |
%global is_official 0
|
|
|
71fa8d |
|
|
|
71fa8d |
Name: cldr-emoji-annotation
|
|
|
71fa8d |
Version: 39
|
|
|
71fa8d |
Release: 2%{?dist}
|
|
|
71fa8d |
%if 0%{?fedora:1}%{?rhel:0}
|
|
|
71fa8d |
Epoch: 1
|
|
|
71fa8d |
%endif
|
|
|
71fa8d |
# Annotation files are in Unicode license
|
|
|
71fa8d |
Summary: Emoji annotation files in CLDR
|
|
|
71fa8d |
License: Unicode
|
|
|
71fa8d |
URL: https://unicode.org/cldr
|
|
|
71fa8d |
%if %is_official
|
|
|
71fa8d |
Source0: https://github.com/unicode-org/cldr/releases/download/%{tag_version}/cldr-common-%{version}.zip
|
|
|
71fa8d |
Source1: https://raw.githubusercontent.com/unicode-org/cldr/%{tag_version}/README.md#/cldr-README.md
|
|
|
71fa8d |
%else
|
|
|
71fa8d |
Source0: https://github.com/unicode-org/cldr/archive/%{tag_version}.zip#/cldr-%{tag_version}.zip
|
|
|
71fa8d |
%endif
|
|
|
71fa8d |
#Patch0: %%{name}-HEAD.patch
|
|
|
71fa8d |
BuildRequires: autoconf
|
|
|
71fa8d |
BuildRequires: automake
|
|
|
71fa8d |
BuildArch: noarch
|
|
|
71fa8d |
Requires: %{name}-dtd
|
|
|
71fa8d |
|
|
|
71fa8d |
%description
|
|
|
71fa8d |
This package provides the emoji annotation file by language in CLDR.
|
|
|
71fa8d |
|
|
|
71fa8d |
%package dtd
|
|
|
71fa8d |
Summary: DTD files of CLDR common
|
|
|
71fa8d |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
71fa8d |
BuildArch: noarch
|
|
|
71fa8d |
|
|
|
71fa8d |
%description dtd
|
|
|
71fa8d |
This package contains DTD files of CLDR common which are required by
|
|
|
71fa8d |
cldr-emoji-annotations.
|
|
|
71fa8d |
|
|
|
71fa8d |
%package devel
|
|
|
71fa8d |
Summary: Files for development using cldr-annotations
|
|
|
71fa8d |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
71fa8d |
Requires: pkgconfig
|
|
|
71fa8d |
BuildArch: noarch
|
|
|
71fa8d |
|
|
|
71fa8d |
%description devel
|
|
|
71fa8d |
This package contains the pkg-config files for development
|
|
|
71fa8d |
when building programs that use cldr-emoji-annotations.
|
|
|
71fa8d |
|
|
|
71fa8d |
|
|
|
71fa8d |
%prep
|
|
|
71fa8d |
%if %is_official
|
|
|
71fa8d |
%autosetup -c -n cldr-%{tag_version}
|
|
|
71fa8d |
cp %SOURCE1 README.md
|
|
|
71fa8d |
%else
|
|
|
71fa8d |
%autosetup -n cldr-%{tag_version}
|
|
|
71fa8d |
%endif
|
|
|
71fa8d |
|
|
|
71fa8d |
|
|
|
71fa8d |
%install
|
|
|
71fa8d |
pushd $PWD
|
|
|
71fa8d |
ANNOTATION_DIR=common/annotations
|
|
|
71fa8d |
CLDR_DIR=%{_datadir}/unicode/cldr/$ANNOTATION_DIR
|
|
|
71fa8d |
pushd $ANNOTATION_DIR
|
|
|
71fa8d |
for xml in *.xml ; do
|
|
|
71fa8d |
install -pm 644 -D $xml $RPM_BUILD_ROOT$CLDR_DIR/$xml
|
|
|
71fa8d |
done
|
|
|
71fa8d |
popd
|
|
|
71fa8d |
|
|
|
71fa8d |
ANNOTATION_DIR=common/annotationsDerived
|
|
|
71fa8d |
CLDR_DIR=%{_datadir}/unicode/cldr/$ANNOTATION_DIR
|
|
|
71fa8d |
pushd $ANNOTATION_DIR
|
|
|
71fa8d |
for xml in *.xml ; do
|
|
|
71fa8d |
install -pm 644 -D $xml $RPM_BUILD_ROOT$CLDR_DIR/$xml
|
|
|
71fa8d |
done
|
|
|
71fa8d |
popd
|
|
|
71fa8d |
|
|
|
71fa8d |
DTD_DIR=common/dtd
|
|
|
71fa8d |
CLDR_DIR=%{_datadir}/unicode/cldr/$DTD_DIR
|
|
|
71fa8d |
pushd $DTD_DIR
|
|
|
71fa8d |
for dtd in *.dtd ; do
|
|
|
71fa8d |
install -pm 644 -D $dtd $RPM_BUILD_ROOT$CLDR_DIR/$dtd
|
|
|
71fa8d |
done
|
|
|
71fa8d |
popd
|
|
|
71fa8d |
|
|
|
71fa8d |
install -pm 755 -d $RPM_BUILD_ROOT%{_datadir}/pkgconfig
|
|
|
71fa8d |
cat >> $RPM_BUILD_ROOT%{_datadir}/pkgconfig/%{name}.pc <<_EOF
|
|
|
71fa8d |
prefix=/usr
|
|
|
71fa8d |
|
|
|
71fa8d |
Name: cldr-emoji-annotations
|
|
|
71fa8d |
Description: annotation files in CLDR
|
|
|
71fa8d |
Version: %{version}
|
|
|
71fa8d |
_EOF
|
|
|
71fa8d |
|
|
|
71fa8d |
|
|
|
71fa8d |
%check
|
|
|
71fa8d |
ANNOTATION_DIR=common/annotations
|
|
|
71fa8d |
CLDR_DIR=%{_datadir}/unicode/cldr/$ANNOTATION_DIR
|
|
|
71fa8d |
for xml in $ANNOTATION_DIR/*.xml ; do
|
|
|
71fa8d |
xmllint --noout --valid --postvalid $xml
|
|
|
71fa8d |
done
|
|
|
71fa8d |
|
|
|
71fa8d |
ANNOTATION_DIR=common/annotationsDerived
|
|
|
71fa8d |
CLDR_DIR=%{_datadir}/unicode/cldr/$ANNOTATION_DIR
|
|
|
71fa8d |
for xml in $ANNOTATION_DIR/*.xml ; do
|
|
|
71fa8d |
xmllint --noout --valid --postvalid $xml
|
|
|
71fa8d |
done
|
|
|
71fa8d |
|
|
|
71fa8d |
|
|
|
71fa8d |
%files
|
|
|
71fa8d |
%doc README.md readme.html
|
|
|
71fa8d |
%license unicode-license.txt
|
|
|
71fa8d |
%{_datadir}/unicode/cldr/common/annotations
|
|
|
71fa8d |
%{_datadir}/unicode/cldr/common/annotationsDerived
|
|
|
71fa8d |
|
|
|
71fa8d |
%files dtd
|
|
|
71fa8d |
%dir %{_datadir}/unicode
|
|
|
71fa8d |
%dir %{_datadir}/unicode/cldr
|
|
|
71fa8d |
%dir %{_datadir}/unicode/cldr/common
|
|
|
71fa8d |
%{_datadir}/unicode/cldr/common/dtd
|
|
|
71fa8d |
|
|
|
71fa8d |
%files devel
|
|
|
71fa8d |
%{_datadir}/pkgconfig/*.pc
|
|
|
71fa8d |
|
|
|
71fa8d |
%changelog
|
|
|
71fa8d |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 39-2
|
|
|
71fa8d |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
71fa8d |
Related: rhbz#1991688
|
|
|
71fa8d |
|
|
|
71fa8d |
* Mon May 24 2021 Takao Fujiwara <tfujiwar@gmail.com> - 39-1
|
|
|
71fa8d |
- Bump to release-39. Related: rhbz#1963078
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 39~beta-2
|
|
|
71fa8d |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Mar 25 2021 Takao Fujiwara <tfujiwar@gmail.com> - 1:39~beta-1
|
|
|
71fa8d |
- Bump to release-39-beta
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Mar 03 2021 Takao Fujiwara <tfujiwar@gmail.com> - 1:39~alpha4-1
|
|
|
71fa8d |
- Bump to release-39-alpha4
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Feb 17 2021 Takao Fujiwara <tfujiwar@gmail.com> - 1:39~alpha1-1
|
|
|
71fa8d |
- Bump to release-39-alpha1
|
|
|
71fa8d |
|
|
|
71fa8d |
* Mon Feb 08 2021 Takao Fujiwara <tfujiwar@gmail.com> - 1:39~alpha0-1
|
|
|
71fa8d |
- Bump release-39-alpha0
|
|
|
71fa8d |
|
|
|
71fa8d |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:38-2.1
|
|
|
71fa8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
71fa8d |
|
|
|
71fa8d |
* Fri Dec 18 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38-1.1
|
|
|
71fa8d |
- Bump to release-38-1
|
|
|
71fa8d |
|
|
|
71fa8d |
* Sun Nov 01 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38-1
|
|
|
71fa8d |
- Bump release-38
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Oct 22 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta3-1
|
|
|
71fa8d |
- Bump release-38-beta3
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Oct 14 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta2-1
|
|
|
71fa8d |
- Bump release-38-beta2
|
|
|
71fa8d |
|
|
|
71fa8d |
* Mon Sep 28 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta-3
|
|
|
71fa8d |
- Fix #1882930 - Add Epoch in Requires
|
|
|
71fa8d |
|
|
|
71fa8d |
* Fri Sep 25 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta-2
|
|
|
71fa8d |
- Fix typo in cldr-emoji-annotation.pc
|
|
|
71fa8d |
|
|
|
71fa8d |
* Fri Sep 25 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta-1
|
|
|
71fa8d |
- Dump release-38-beta
|
|
|
71fa8d |
- Move source URL from github.com/fujiwarat/cldr-emoji-annotation
|
|
|
71fa8d |
to https://github.com/unicode-org/cldr
|
|
|
71fa8d |
|
|
|
71fa8d |
* Fri Sep 11 2020 Takao Fujiwara <tfujiwar@gmail.com> - 38.0_13.0_0_1~alpha1-1
|
|
|
71fa8d |
- Dump release-38-alpha1
|
|
|
71fa8d |
|
|
|
71fa8d |
* Sat Aug 01 2020 Takao Fujiwara <tfujiwar@gmail.com> - 37.0_13.0_0_2-1
|
|
|
71fa8d |
- Add cldr-emoji-annotation-dtd sub package and make check
|
|
|
71fa8d |
|
|
|
71fa8d |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 37.0_13.0_0_1-2
|
|
|
71fa8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
71fa8d |
|
|
|
71fa8d |
* Fri Jun 26 2020 Takao Fujiwara <tfujiwar@gmail.com> - 37.0_13.0_0_1-1
|
|
|
71fa8d |
- Integrated Emoji 13.0 CLDR 37.0
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Apr 22 2020 Takao Fujiwara <tfujiwar@gmail.com> - 36.12.120200305_0-1
|
|
|
71fa8d |
- Integrated Emoji 12.1 CLDR 36.1
|
|
|
71fa8d |
|
|
|
71fa8d |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 36.12.120191002_0-2
|
|
|
71fa8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
71fa8d |
|
|
|
71fa8d |
* Fri Oct 25 2019 Takao Fujiwara <tfujiwar@gmail.com> - 36.12.120191002_0-1
|
|
|
71fa8d |
- Integrated Emoji 12.1 CLDR 36
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 35.12.14971_0-2
|
|
|
71fa8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Apr 04 2019 Takao Fujiwara <tfujiwar@gmail.com> - 35.12.14971_0-1
|
|
|
71fa8d |
- Integrated release-35
|
|
|
71fa8d |
|
|
|
71fa8d |
* Tue Feb 26 2019 Takao Fujiwara <tfujiwar@gmail.com> - 34.12.14891_0-1
|
|
|
71fa8d |
- Integrated release-35-alpha2
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 33.1.0_0-3
|
|
|
71fa8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 33.1.0_0-2
|
|
|
71fa8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Jul 05 2018 Takao Fujiwara <tfujiwar@gmail.com> - 33.1.0_0-1
|
|
|
71fa8d |
- Integrated release 33-1
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Jun 20 2018 Takao Fujiwara <tfujiwar@gmail.com> - 33.0.0_2-1
|
|
|
71fa8d |
- Changed COPYING
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Apr 12 2018 Takao Fujiwara <tfujiwar@gmail.com> - 33.0.0_1-1
|
|
|
71fa8d |
- Integrated release 33
|
|
|
71fa8d |
|
|
|
71fa8d |
* Fri Mar 09 2018 Takao Fujiwara <tfujiwar@gmail.com> - 32.90.0_1-2
|
|
|
71fa8d |
- Removed gcc dependency
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Mar 07 2018 Takao Fujiwara <tfujiwar@gmail.com> - 32.90.0_1-1
|
|
|
71fa8d |
- Integrated release-33-alpha
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 32.0.0_1-2
|
|
|
71fa8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Nov 30 2017 Takao Fujiwara <tfujiwar@gmail.com> - 32.0.0_1-1
|
|
|
71fa8d |
- Integrated release 32
|
|
|
71fa8d |
|
|
|
71fa8d |
* Thu Sep 28 2017 Takao Fujiwara <tfujiwar@gmail.com> - 31.90.0_1-1
|
|
|
71fa8d |
- Integrated release-32-alpha
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 31.0.1_1-2
|
|
|
71fa8d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
71fa8d |
|
|
|
71fa8d |
* Fri Apr 21 2017 Takao Fujiwara <tfujiwar@gmail.com> - 31.0.1_1-1
|
|
|
71fa8d |
- Integrated release-31.0.1
|
|
|
71fa8d |
|
|
|
71fa8d |
* Wed Mar 22 2017 Takao Fujiwara <tfujiwar@gmail.com> - 31.0.0_1-1
|
|
|
71fa8d |
- Integrated release-31
|
|
|
71fa8d |
|
|
|
71fa8d |
* Mon Mar 06 2017 Takao Fujiwara <tfujiwar@gmail.com> - 30.0.3_2-1
|
|
|
71fa8d |
- Initial implementation
|