2020-12-18 11:23:55 +00:00
|
|
|
%global tag_version release-38-1
|
|
|
|
#%%global is_official 0%%(echo %%{tag_version} | egrep -q 'alpha|beta|final'; echo $?)
|
|
|
|
%global is_official 0
|
2020-09-11 08:22:23 +00:00
|
|
|
|
2017-03-06 16:46:08 +00:00
|
|
|
Name: cldr-emoji-annotation
|
2020-11-04 07:59:34 +00:00
|
|
|
Version: 38
|
2021-01-26 02:04:19 +00:00
|
|
|
Release: 2.1%{?dist}
|
2020-10-22 09:42:25 +00:00
|
|
|
%if 0%{?fedora:1}%{?rhel:0}
|
2020-09-25 11:32:49 +00:00
|
|
|
Epoch: 1
|
2020-10-22 09:42:25 +00:00
|
|
|
%endif
|
2017-03-06 16:46:08 +00:00
|
|
|
# Annotation files are in Unicode license
|
|
|
|
Summary: Emoji annotation files in CLDR
|
2020-09-25 11:32:49 +00:00
|
|
|
License: Unicode
|
|
|
|
URL: https://unicode.org/cldr
|
2020-11-04 07:59:34 +00:00
|
|
|
%if %is_official
|
2020-12-18 11:23:55 +00:00
|
|
|
Source0: https://github.com/unicode-org/cldr/releases/download/%{tag_version}/cldr-common-%{version}.zip
|
|
|
|
Source1: https://raw.githubusercontent.com/unicode-org/cldr/%{tag_version}/README.md#/cldr-README.md
|
2020-11-04 07:59:34 +00:00
|
|
|
%else
|
2020-12-18 11:23:55 +00:00
|
|
|
Source0: https://github.com/unicode-org/cldr/archive/%{tag_version}.zip#/cldr-%{tag_version}.zip
|
2020-11-04 07:59:34 +00:00
|
|
|
%endif
|
2018-03-09 11:31:37 +00:00
|
|
|
#Patch0: %%{name}-HEAD.patch
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2017-03-06 16:46:08 +00:00
|
|
|
BuildArch: noarch
|
2020-08-01 01:22:47 +00:00
|
|
|
Requires: %{name}-dtd
|
2017-03-06 16:46:08 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides the emoji annotation file by language in CLDR.
|
|
|
|
|
2020-08-01 01:22:47 +00:00
|
|
|
%package dtd
|
|
|
|
Summary: DTD files of CLDR common
|
2020-10-22 09:42:25 +00:00
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2020-08-01 01:22:47 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description dtd
|
|
|
|
This package contains DTD files of CLDR common which are required by
|
|
|
|
cldr-emoji-annotations.
|
|
|
|
|
2017-03-06 16:46:08 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Files for development using cldr-annotations
|
2020-10-22 09:42:25 +00:00
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2017-03-06 16:46:08 +00:00
|
|
|
Requires: pkgconfig
|
2017-04-21 07:22:51 +00:00
|
|
|
BuildArch: noarch
|
2017-03-06 16:46:08 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the pkg-config files for development
|
2020-08-01 01:22:47 +00:00
|
|
|
when building programs that use cldr-emoji-annotations.
|
2017-03-06 16:46:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2020-11-04 07:59:34 +00:00
|
|
|
%if %is_official
|
2020-12-18 11:23:55 +00:00
|
|
|
%autosetup -c -n cldr-%{tag_version}
|
2020-11-04 07:59:34 +00:00
|
|
|
cp %SOURCE1 README.md
|
|
|
|
%else
|
2020-12-18 11:23:55 +00:00
|
|
|
%autosetup -n cldr-%{tag_version}
|
2020-11-04 07:59:34 +00:00
|
|
|
%endif
|
2017-03-06 16:46:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2020-09-25 11:32:49 +00:00
|
|
|
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
|
|
|
|
|
2020-09-25 11:39:27 +00:00
|
|
|
Name: cldr-emoji-annotations
|
2020-09-25 11:32:49 +00:00
|
|
|
Description: annotation files in CLDR
|
|
|
|
Version: %{version}
|
|
|
|
_EOF
|
|
|
|
|
2017-03-06 16:46:08 +00:00
|
|
|
|
2020-08-01 01:22:47 +00:00
|
|
|
%check
|
2020-09-25 11:32:49 +00:00
|
|
|
ANNOTATION_DIR=common/annotations
|
|
|
|
CLDR_DIR=%{_datadir}/unicode/cldr/$ANNOTATION_DIR
|
|
|
|
for xml in $ANNOTATION_DIR/*.xml ; do
|
|
|
|
xmllint --noout --valid --postvalid $xml
|
|
|
|
done
|
|
|
|
|
|
|
|
ANNOTATION_DIR=common/annotationsDerived
|
|
|
|
CLDR_DIR=%{_datadir}/unicode/cldr/$ANNOTATION_DIR
|
|
|
|
for xml in $ANNOTATION_DIR/*.xml ; do
|
|
|
|
xmllint --noout --valid --postvalid $xml
|
|
|
|
done
|
|
|
|
|
2020-08-01 01:22:47 +00:00
|
|
|
|
2017-03-06 16:46:08 +00:00
|
|
|
%files
|
2020-11-04 07:59:34 +00:00
|
|
|
%doc README.md readme.html
|
2017-03-06 16:46:08 +00:00
|
|
|
%license unicode-license.txt
|
2020-08-01 01:22:47 +00:00
|
|
|
%{_datadir}/unicode/cldr/common/annotations
|
|
|
|
%{_datadir}/unicode/cldr/common/annotationsDerived
|
|
|
|
|
|
|
|
%files dtd
|
|
|
|
%dir %{_datadir}/unicode
|
|
|
|
%dir %{_datadir}/unicode/cldr
|
|
|
|
%dir %{_datadir}/unicode/cldr/common
|
|
|
|
%{_datadir}/unicode/cldr/common/dtd
|
2017-03-06 16:46:08 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_datadir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|
2021-01-26 02:04:19 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:38-2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-12-18 11:23:55 +00:00
|
|
|
* Fri Dec 18 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38-1.1
|
|
|
|
- Bump to release-38-1
|
|
|
|
|
2020-11-04 07:59:34 +00:00
|
|
|
* Sun Nov 01 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38-1
|
|
|
|
- Bump release-38
|
|
|
|
|
2020-10-22 00:43:25 +00:00
|
|
|
* Thu Oct 22 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta3-1
|
|
|
|
- Bump release-38-beta3
|
|
|
|
|
2020-10-14 09:29:19 +00:00
|
|
|
* Wed Oct 14 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta2-1
|
|
|
|
- Bump release-38-beta2
|
|
|
|
|
2020-09-28 07:52:02 +00:00
|
|
|
* Mon Sep 28 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta-3
|
|
|
|
- Fix #1882930 - Add Epoch in Requires
|
|
|
|
|
|
|
|
* Fri Sep 25 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta-2
|
2020-09-25 11:39:27 +00:00
|
|
|
- Fix typo in cldr-emoji-annotation.pc
|
|
|
|
|
2020-09-28 07:52:02 +00:00
|
|
|
* Fri Sep 25 2020 Takao Fujiwara <tfujiwar@gmail.com> - 1:38~beta-1
|
2020-09-25 11:32:49 +00:00
|
|
|
- Dump release-38-beta
|
|
|
|
- Move source URL from github.com/fujiwarat/cldr-emoji-annotation
|
|
|
|
to https://github.com/unicode-org/cldr
|
|
|
|
|
2020-09-11 08:22:23 +00:00
|
|
|
* Fri Sep 11 2020 Takao Fujiwara <tfujiwar@gmail.com> - 38.0_13.0_0_1~alpha1-1
|
|
|
|
- Dump release-38-alpha1
|
|
|
|
|
2020-08-01 01:22:47 +00:00
|
|
|
* Sat Aug 01 2020 Takao Fujiwara <tfujiwar@gmail.com> - 37.0_13.0_0_2-1
|
|
|
|
- Add cldr-emoji-annotation-dtd sub package and make check
|
|
|
|
|
2020-07-27 14:04:22 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 37.0_13.0_0_1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-26 12:18:00 +00:00
|
|
|
* Fri Jun 26 2020 Takao Fujiwara <tfujiwar@gmail.com> - 37.0_13.0_0_1-1
|
|
|
|
- Integrated Emoji 13.0 CLDR 37.0
|
|
|
|
|
2020-04-22 10:19:43 +00:00
|
|
|
* Wed Apr 22 2020 Takao Fujiwara <tfujiwar@gmail.com> - 36.12.120200305_0-1
|
|
|
|
- Integrated Emoji 12.1 CLDR 36.1
|
|
|
|
|
2020-01-28 14:10:40 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 36.12.120191002_0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-25 07:04:43 +00:00
|
|
|
* Fri Oct 25 2019 Takao Fujiwara <tfujiwar@gmail.com> - 36.12.120191002_0-1
|
|
|
|
- Integrated Emoji 12.1 CLDR 36
|
|
|
|
|
2019-07-24 20:23:02 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 35.12.14971_0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-04-04 07:24:25 +00:00
|
|
|
* Thu Apr 04 2019 Takao Fujiwara <tfujiwar@gmail.com> - 35.12.14971_0-1
|
|
|
|
- Integrated release-35
|
|
|
|
|
|
|
|
* Tue Feb 26 2019 Takao Fujiwara <tfujiwar@gmail.com> - 34.12.14891_0-1
|
2019-02-26 10:13:59 +00:00
|
|
|
- Integrated release-35-alpha2
|
|
|
|
|
2019-01-31 15:43:02 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 33.1.0_0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-12 21:51:44 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 33.1.0_0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-05 06:44:01 +00:00
|
|
|
* Thu Jul 05 2018 Takao Fujiwara <tfujiwar@gmail.com> - 33.1.0_0-1
|
|
|
|
- Integrated release 33-1
|
|
|
|
|
2018-06-20 07:18:27 +00:00
|
|
|
* Wed Jun 20 2018 Takao Fujiwara <tfujiwar@gmail.com> - 33.0.0_2-1
|
|
|
|
- Changed COPYING
|
|
|
|
|
2018-04-12 07:13:54 +00:00
|
|
|
* Thu Apr 12 2018 Takao Fujiwara <tfujiwar@gmail.com> - 33.0.0_1-1
|
|
|
|
- Integrated release 33
|
|
|
|
|
2018-03-09 11:31:37 +00:00
|
|
|
* Fri Mar 09 2018 Takao Fujiwara <tfujiwar@gmail.com> - 32.90.0_1-2
|
|
|
|
- Removed gcc dependency
|
|
|
|
|
2018-03-07 06:33:07 +00:00
|
|
|
* Wed Mar 07 2018 Takao Fujiwara <tfujiwar@gmail.com> - 32.90.0_1-1
|
|
|
|
- Integrated release-33-alpha
|
|
|
|
|
2018-02-07 05:05:04 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 32.0.0_1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-30 04:22:05 +00:00
|
|
|
* Thu Nov 30 2017 Takao Fujiwara <tfujiwar@gmail.com> - 32.0.0_1-1
|
|
|
|
- Integrated release 32
|
|
|
|
|
2017-09-28 07:50:26 +00:00
|
|
|
* Thu Sep 28 2017 Takao Fujiwara <tfujiwar@gmail.com> - 31.90.0_1-1
|
|
|
|
- Integrated release-32-alpha
|
|
|
|
|
2017-07-26 04:56:43 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 31.0.1_1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-04-21 07:22:51 +00:00
|
|
|
* Fri Apr 21 2017 Takao Fujiwara <tfujiwar@gmail.com> - 31.0.1_1-1
|
|
|
|
- Integrated release-31.0.1
|
|
|
|
|
2017-03-22 06:06:29 +00:00
|
|
|
* Wed Mar 22 2017 Takao Fujiwara <tfujiwar@gmail.com> - 31.0.0_1-1
|
|
|
|
- Integrated release-31
|
|
|
|
|
2017-03-06 16:46:08 +00:00
|
|
|
* Mon Mar 06 2017 Takao Fujiwara <tfujiwar@gmail.com> - 30.0.3_2-1
|
|
|
|
- Initial implementation
|