diff --git a/harfbuzz-2.8.2.tar.xz b/harfbuzz-4.3.0.tar.xz similarity index 49% rename from harfbuzz-2.8.2.tar.xz rename to harfbuzz-4.3.0.tar.xz index d8ea8f9722ee870e3bc1d21e47b03189d9160d61..ff35d3cbb235af474ccd97e097450b56444b2810 100644 Binary files a/harfbuzz-2.8.2.tar.xz and b/harfbuzz-4.3.0.tar.xz differ diff --git a/harfbuzz.spec b/harfbuzz.spec index 3d5e4d28bff703c365e1c617bc4df93253a9dcd8..849c79005172b9eef376a464580d79a492dc2f9a 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -1,16 +1,15 @@ Name: harfbuzz -Version: 2.8.2 -Release: 2 +Version: 4.3.0 +Release: 1 Summary: A text shaping engine - License: MIT -URL: https://harfbuzz.github.io/what-is-harfbuzz.html -Source0: https://github.com/harfbuzz/harfbuzz/releases/download/2.8.2/%{name}-%{version}.tar.xz +URL: https://harfbuzz.github.io/ +Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/harfbuzz-%{version}.tar.xz BuildRequires: gcc-c++ freetype-devel cairo-devel glib2-devel graphite2-devel -BuildRequires: gtk-doc libicu-devel gobject-introspection-devel +BuildRequires: gtk-doc libicu-devel gobject-introspection-devel make Provides: harfbuzz-icu -Obsoletes: harfbuzz-icu +Obsoletes: harfbuzz-icu < %{version}-%{release} %description HarfBuzz is a text-shaping engine. If you give HarfBuzz a font and a string @@ -22,6 +21,7 @@ that is correctly arranged for the language and writing system. %package devel Summary: The development environment for %{name} Requires: %{name} = %{version}-%{release} +Requires: %{name}-icu = %{version}-%{release} %description devel Header files and libraries for building a extension library for %{name}. @@ -32,15 +32,14 @@ Header files and libraries for building a extension library for %{name}. %autosetup -n %{name}-%{version} -p1 %build -%configure --disable-static --with-graphite2 --with-gobject --enable-introspection - -make %{?_smp_mflags} +%configure --disable-static --with-graphite2 --with-gobject --enable-introspection +%{make_build} %check make check %install -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +%{make_install} %delete_la %ldconfig_scriptlets @@ -69,6 +68,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %{_datadir}/gtk-doc/html/harfbuzz/* %changelog +* Mon Jun 20 2022 lin zhang - 4.3.0-1 +- update to 4.3.0 + * Tue May 24 2022 loong_C - 2.8.2-2 - fix spec changelog date