diff --git a/harfbuzz-1.8.7.tar.bz2 b/harfbuzz-2.6.1.tar.xz similarity index 32% rename from harfbuzz-1.8.7.tar.bz2 rename to harfbuzz-2.6.1.tar.xz index c140b813c79da7b4f2e78b462ca0df8e48d2cc78..5ca4e9ce8c8eafa4d459fadc9478574cddb0c2e7 100644 Binary files a/harfbuzz-1.8.7.tar.bz2 and b/harfbuzz-2.6.1.tar.xz differ diff --git a/harfbuzz.spec b/harfbuzz.spec index 43f486b44c6842d25435154ddf8c3642c5a6190d..62a1bb7cae09d514e23af06388de6f8cdc04d3ff 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -1,14 +1,14 @@ Name: harfbuzz -Version: 1.8.7 -Release: 2 +Version: 2.6.1 +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/tag/%{name}-%{version}.tar.bz2 +Source0: https://github.com/harfbuzz/harfbuzz/releases/tag/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ freetype-devel cairo-devel glib2-devel graphite2-devel -BuildRequires: gtk-doc libicu-devel +BuildRequires: gtk-doc libicu-devel gobject-introspection-devel Provides: harfbuzz-icu Obsoletes: harfbuzz-icu @@ -25,19 +25,20 @@ Requires: %{name} = %{version}-%{release} %description devel Header files and libraries for building a extension library for %{name}. + %package_help %prep %autosetup -n %{name}-%{version} -p1 %build -%configure --with-graphite2 --enable-static -%disable_rpath +%configure --disable-static --with-graphite2 --with-gobject --enable-introspection make %{?_smp_mflags} + %install -make install DESTDIR=%{buildroot} INSTALL="install -p" +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" %delete_la %ldconfig_scriptlets @@ -47,20 +48,27 @@ make install DESTDIR=%{buildroot} INSTALL="install -p" %license COPYING %{_libdir}/libharfbuzz.so.* %{_libdir}/libharfbuzz-subset.so.* +%{_libdir}/libharfbuzz-gobject.so.0* %{_libdir}/libharfbuzz-icu.so.* +%dir %{_libdir}/girepository-1.0 +%{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib %files devel +%{_bindir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc -%{_libdir}/cmake/harfbuzz/harfbuzz-config.cmake +%{_libdir}/cmake/harfbuzz/ %{_includedir}/harfbuzz/ -%{_bindir}/* -%{_libdir}/*.a %files help %doc README +%dir %{_datadir}/gir-1.0 %{_datadir}/gtk-doc/html/harfbuzz/* +%{_datadir}/gir-1.0/HarfBuzz-0.0.gir %changelog +* Mon Jun 15 2020 hanhui - 2.6.1-1 +- Update to 2.6.1 + * Mon Aug 26 2019 openEuler Buildteam - 1.8.7-2 - Package Init