2019-09-30 11:19:14 -04:00
|
|
|
Name: utf8proc
|
2022-11-07 17:10:33 +08:00
|
|
|
Version: 2.8.0
|
|
|
|
|
Release: 1
|
2019-09-30 11:19:14 -04:00
|
|
|
Summary: A library provides Unicode normalization
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://juliastrings.github.io/utf8proc/
|
|
|
|
|
Source0: https://github.com/JuliaStrings/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
|
|
|
|
|
|
2021-10-26 14:44:34 +08:00
|
|
|
BuildRequires: gcc perl
|
2019-09-30 11:19:14 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Utf8proc is a small, clean C library that provides Unicode normalization, case-folding,
|
|
|
|
|
and other operations for data in the UTF-8 encoding, supporting Unicode version 12.1.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This is the development files for %{name}.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
#solve the problem during the check
|
|
|
|
|
sed -i '/-C bench/d;/\ttest.* data/d' Makefile
|
2021-01-28 15:11:52 +08:00
|
|
|
touch data/NormalizationTest.txt data/GraphemeBreakTest.txt data/Lowercase.txt data/Uppercase.txt
|
2019-09-30 11:19:14 -04:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%make_build CFLAGS="%{optflags}"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install includedir=%{_includedir} libdir=%{_libdir}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license LICENSE.md
|
|
|
|
|
%{_libdir}/lib%{name}.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_includedir}/%{name}.h
|
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
|
%exclude %{_libdir}/*.a
|
2020-07-24 15:52:21 +08:00
|
|
|
%{_libdir}/pkgconfig/libutf8proc.pc
|
2019-09-30 11:19:14 -04:00
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README.md NEWS.md lump.md
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-11-07 17:10:33 +08:00
|
|
|
* Mon Nov 7 2022 Bin Hu <hubin73@huawei.com> - 2.8.0-1
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update version 2.8.0
|
|
|
|
|
|
2022-10-25 08:52:53 +00:00
|
|
|
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 2.6.1-4
|
|
|
|
|
- rebuild for next release
|
|
|
|
|
|
2021-10-26 14:44:34 +08:00
|
|
|
* Tue Oct 26 2021 caodongxia <caodongxia@huawei.com> - 2.6.1-3
|
|
|
|
|
- add buildRequire perl
|
|
|
|
|
|
2021-07-20 19:20:36 +08:00
|
|
|
* Tue Jul 20 2021 fuanan <fuanan3@hauwei.com> - 2.6.1-2
|
|
|
|
|
- Remove redundant gdb from BuildRequires
|
|
|
|
|
|
2021-01-28 15:11:52 +08:00
|
|
|
* Thu Jan 28 2021 fuanan <fuanan3@hauwei.com> - 2.6.1-1
|
|
|
|
|
- Update to version 2.6.1
|
|
|
|
|
|
2020-07-24 15:52:21 +08:00
|
|
|
* Fri Jul 24 2020 yang_zhuang_zhuang<yangzhuangzhuang1@huawei.com> - 2.5.0-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update version to 2.5.0
|
|
|
|
|
|
2019-09-30 11:19:14 -04:00
|
|
|
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 2.1.1-6
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:move the license
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.1-5
|
|
|
|
|
- Package init
|