Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d1ca6b5984 | |||
| 34d0f8089e |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ae9919aaa83d7d16b799bbe2b6d8300bb10275d05e6ab5590daa643dd7b46851
|
|
||||||
size 92443
|
|
||||||
3
libunicode-0.6.0.tar.gz
Normal file
3
libunicode-0.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0c217f8264000f1b8c36e78969cb9cf91ac97de937cc141ab78e6b1ad7f404ef
|
||||||
|
size 92750
|
||||||
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 1 13:22:59 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to version 0.6.0
|
||||||
|
* Supported Unicode version 16.0.0
|
||||||
|
* Use std::format() API instead of fmtlib
|
||||||
|
* Improvement for better SIMD config
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 16 20:42:29 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
|
Mon Sep 16 20:42:29 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# spec file for package libunicode
|
# spec file for package libunicode
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,38 +18,37 @@
|
|||||||
|
|
||||||
|
|
||||||
%define ver 0
|
%define ver 0
|
||||||
%define mayor 4
|
%define mayor 6
|
||||||
%define lname libunicode%{ver}_%{mayor}
|
%define lname libunicode%{ver}_%{mayor}
|
||||||
%define sover %{ver}.%{mayor}
|
%define sover %{ver}.%{mayor}
|
||||||
%define force_gcc_version 13
|
%define force_gcc_version 13
|
||||||
Name: libunicode
|
Name: libunicode
|
||||||
Version: 0.5.0
|
Version: 0.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Modern C++17 Unicode library
|
Summary: Modern C++20 Unicode library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/contour-terminal/libunicode
|
URL: https://github.com/contour-terminal/libunicode
|
||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: ccache
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: fmt-devel
|
BuildRequires: unicode-ucd >= 16.0.0
|
||||||
|
BuildRequires: cmake(Catch2) >= 3.3.0
|
||||||
|
BuildRequires: cmake(range-v3)
|
||||||
%if 0%{?suse_version} < 1600
|
%if 0%{?suse_version} < 1600
|
||||||
BuildRequires: gcc%{?force_gcc_version}
|
BuildRequires: gcc%{?force_gcc_version}
|
||||||
BuildRequires: gcc%{?force_gcc_version}-c++
|
BuildRequires: gcc%{?force_gcc_version}-c++
|
||||||
%else
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: range-v3-devel
|
|
||||||
BuildRequires: unicode-ucd
|
|
||||||
BuildRequires: cmake(Catch2) >= 3.3.0
|
|
||||||
ExclusiveArch: x86_64 aarch64
|
ExclusiveArch: x86_64 aarch64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The goal of libunicode library is to bring painless unicode support to C++
|
|
||||||
with simple and easy to understand APIs. The API naming conventions are chosen
|
The goal of libunicode library is to bring painless unicode support to C++ with
|
||||||
to look familiar to those using the C++ standard libary.
|
simple and easy to understand APIs. The API naming conventions are chosen to
|
||||||
|
look familiar to those using the C++ standard libary.
|
||||||
|
|
||||||
%package -n %{lname}
|
%package -n %{lname}
|
||||||
Summary: Library files for %{name}
|
Summary: Library files for %{name}
|
||||||
|
|
||||||
%description -n %{lname}
|
%description -n %{lname}
|
||||||
|
|
||||||
The %{name} package contains libraries files for applications
|
The %{name} package contains libraries files for applications
|
||||||
@@ -78,10 +78,8 @@ export CC="gcc-%{?force_gcc_version}"
|
|||||||
export CXX="g++-%{?force_gcc_version}"
|
export CXX="g++-%{?force_gcc_version}"
|
||||||
%endif
|
%endif
|
||||||
%cmake \
|
%cmake \
|
||||||
%if 0%{?suse_version} < 1600
|
-DLIBUNICODE_UCD_DIR=%{_datadir}/unicode/ucd \
|
||||||
-DLIBUNICODE_TESTING=OFF \
|
%{nil}
|
||||||
%endif
|
|
||||||
-DLIBUNICODE_UCD_DIR=%{_datadir}/unicode/ucd
|
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -90,7 +88,7 @@ export CXX="g++-%{?force_gcc_version}"
|
|||||||
#check
|
#check
|
||||||
#ctest
|
#ctest
|
||||||
|
|
||||||
%ldconfig_scriptlets -n %lname
|
%ldconfig_scriptlets -n %{lname}
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@@ -98,13 +96,13 @@ export CXX="g++-%{?force_gcc_version}"
|
|||||||
%{_libdir}/%{name}*.so.%{sover}*
|
%{_libdir}/%{name}*.so.%{sover}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%dir %{_includedir}/%{name}
|
%license LICENSE
|
||||||
%{_includedir}/%{name}/*.h
|
%{_includedir}/%{name}
|
||||||
%dir %{_libdir}/cmake/%{name}
|
%{_libdir}/cmake/%{name}
|
||||||
%{_libdir}/cmake/%{name}/*.cmake
|
|
||||||
%{_libdir}/%{name}*.so
|
%{_libdir}/%{name}*.so
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
|
%license LICENSE
|
||||||
%{_bindir}/unicode-query
|
%{_bindir}/unicode-query
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user