Dump release-38-beta
- Move source URL from github.com/fujiwarat/cldr-emoji-annotation to https://github.com/unicode-org/cldr
This commit is contained in:
parent
c440983312
commit
4ab0268f3c
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,3 +14,4 @@
|
|||||||
/cldr-emoji-annotation-37.0_13.0_0_1.tar.gz
|
/cldr-emoji-annotation-37.0_13.0_0_1.tar.gz
|
||||||
/cldr-emoji-annotation-37.0_13.0_0_2.tar.gz
|
/cldr-emoji-annotation-37.0_13.0_0_2.tar.gz
|
||||||
/cldr-emoji-annotation-38-alpha1.0_13.0_0_1.tar.gz
|
/cldr-emoji-annotation-38-alpha1.0_13.0_0_1.tar.gz
|
||||||
|
/release-38-beta.tar.gz
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
%global file_version 38-alpha1.0_13.0_0_1
|
%global file_version release-38-beta
|
||||||
|
|
||||||
Name: cldr-emoji-annotation
|
Name: cldr-emoji-annotation
|
||||||
Version: 38.0_13.0_0_1~alpha1
|
Version: 38~beta
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
Epoch: 1
|
||||||
# Annotation files are in Unicode license
|
# Annotation files are in Unicode license
|
||||||
Summary: Emoji annotation files in CLDR
|
Summary: Emoji annotation files in CLDR
|
||||||
License: LGPLv2+ and Unicode
|
License: Unicode
|
||||||
URL: https://github.com/fujiwarat/cldr-emoji-annotation
|
URL: https://unicode.org/cldr
|
||||||
Source0: https://github.com/fujiwarat/cldr-emoji-annotation/releases/download/%{file_version}/%{name}-%{file_version}.tar.gz
|
Source0: https://github.com/unicode-org/cldr/archive/%{file_version}.tar.gz
|
||||||
#Patch0: %%{name}-HEAD.patch
|
#Patch0: %%{name}-HEAD.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -38,22 +39,61 @@ when building programs that use cldr-emoji-annotations.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{file_version}
|
%autosetup -n cldr-%{file_version}
|
||||||
|
|
||||||
%build
|
|
||||||
#autoreconf -v -i
|
|
||||||
autoreconf -v -i
|
|
||||||
%configure --enable-dtd
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
|
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
|
||||||
|
|
||||||
|
Name: cldr-annotations
|
||||||
|
Description: annotation files in CLDR
|
||||||
|
Version: %{version}
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check VERBOSE=1
|
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
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS README
|
%doc CONTRIBUTING.md README.md readme.html
|
||||||
%license unicode-license.txt
|
%license unicode-license.txt
|
||||||
%{_datadir}/unicode/cldr/common/annotations
|
%{_datadir}/unicode/cldr/common/annotations
|
||||||
%{_datadir}/unicode/cldr/common/annotationsDerived
|
%{_datadir}/unicode/cldr/common/annotationsDerived
|
||||||
@ -68,6 +108,11 @@ make check VERBOSE=1
|
|||||||
%{_datadir}/pkgconfig/*.pc
|
%{_datadir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 25 2020 Takao Fujiwara <tfujiwar@gmail.com> - 38~beta-1
|
||||||
|
- Dump release-38-beta
|
||||||
|
- Move source URL from github.com/fujiwarat/cldr-emoji-annotation
|
||||||
|
to https://github.com/unicode-org/cldr
|
||||||
|
|
||||||
* Fri Sep 11 2020 Takao Fujiwara <tfujiwar@gmail.com> - 38.0_13.0_0_1~alpha1-1
|
* Fri Sep 11 2020 Takao Fujiwara <tfujiwar@gmail.com> - 38.0_13.0_0_1~alpha1-1
|
||||||
- Dump release-38-alpha1
|
- Dump release-38-alpha1
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (cldr-emoji-annotation-38-alpha1.0_13.0_0_1.tar.gz) = 39eb37a3ec1b2298e62e3022eba8e8463cf65ae0af6c90d89849ff4e7550d589e927b61e344f7f6842b427e6c237c4947d271baa3ee1ef1b060908396682fc2d
|
SHA512 (release-38-beta.tar.gz) = fb53313926458e4449e561dece1e79963feaeda2cabc190d0c3df8556c60b9fc10e6a57dcb2120f56a215834a0adcb9d48221e6c87cd1b8397abdd868b92f1b3
|
||||||
|
Loading…
Reference in New Issue
Block a user