2019-09-30 10:52:38 -04:00
|
|
|
Name: harfbuzz
|
2020-07-21 17:06:15 +08:00
|
|
|
Version: 2.6.8
|
2020-07-29 15:42:47 +08:00
|
|
|
Release: 2
|
2019-09-30 10:52:38 -04:00
|
|
|
Summary: A text shaping engine
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://harfbuzz.github.io/what-is-harfbuzz.html
|
2020-06-15 09:45:54 +08:00
|
|
|
Source0: https://github.com/harfbuzz/harfbuzz/releases/tag/%{name}-%{version}.tar.xz
|
2019-09-30 10:52:38 -04:00
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++ freetype-devel cairo-devel glib2-devel graphite2-devel
|
2020-06-15 09:45:54 +08:00
|
|
|
BuildRequires: gtk-doc libicu-devel gobject-introspection-devel
|
2019-09-30 10:52:38 -04:00
|
|
|
Provides: harfbuzz-icu
|
|
|
|
|
Obsoletes: harfbuzz-icu
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
HarfBuzz is a text-shaping engine. If you give HarfBuzz a font and a string
|
|
|
|
|
containing a sequence of Unicode codepoints, HarfBuzz selects and positions
|
|
|
|
|
the corresponding glyphs from the font, applying all of the necessary layout
|
|
|
|
|
rules and font features. HarfBuzz then returns the string to you in the form
|
|
|
|
|
that is correctly arranged for the language and writing system.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: The development environment for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Header files and libraries for building a extension library for %{name}.
|
2020-06-15 09:45:54 +08:00
|
|
|
|
2019-09-30 10:52:38 -04:00
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2020-06-15 09:45:54 +08:00
|
|
|
%configure --disable-static --with-graphite2 --with-gobject --enable-introspection
|
2019-09-30 10:52:38 -04:00
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
2020-06-15 09:45:54 +08:00
|
|
|
|
2019-09-30 10:52:38 -04:00
|
|
|
%install
|
2020-06-15 09:45:54 +08:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
2019-09-30 10:52:38 -04:00
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS NEWS
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_libdir}/libharfbuzz.so.*
|
|
|
|
|
%{_libdir}/libharfbuzz-subset.so.*
|
2020-06-15 09:45:54 +08:00
|
|
|
%{_libdir}/libharfbuzz-gobject.so.0*
|
2019-09-30 10:52:38 -04:00
|
|
|
%{_libdir}/libharfbuzz-icu.so.*
|
2020-06-15 09:45:54 +08:00
|
|
|
%dir %{_libdir}/girepository-1.0
|
|
|
|
|
%{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib
|
2019-09-30 10:52:38 -04:00
|
|
|
|
|
|
|
|
%files devel
|
2020-06-15 09:45:54 +08:00
|
|
|
%{_bindir}/*
|
2019-09-30 10:52:38 -04:00
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2020-06-15 09:45:54 +08:00
|
|
|
%{_libdir}/cmake/harfbuzz/
|
2019-09-30 10:52:38 -04:00
|
|
|
%{_includedir}/harfbuzz/
|
2020-07-29 15:42:47 +08:00
|
|
|
%dir %{_datadir}/gir-1.0
|
|
|
|
|
%{_datadir}/gir-1.0/HarfBuzz-0.0.gir
|
2019-09-30 10:52:38 -04:00
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%doc README
|
|
|
|
|
%{_datadir}/gtk-doc/html/harfbuzz/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-07-29 15:42:47 +08:00
|
|
|
* Wed Jul 29 2020 hanhui <hanhui15@huawei.com> - 2.6.8-2
|
|
|
|
|
- modify HarfBuzz-0.0.gir patch
|
|
|
|
|
|
2020-07-21 17:06:15 +08:00
|
|
|
* Fri Jul 18 2020 hanhui <hanhui15@huawei.com> - 2.6.8-1
|
|
|
|
|
- Update to 2.6.8
|
|
|
|
|
|
2020-06-15 09:45:54 +08:00
|
|
|
* Mon Jun 15 2020 hanhui <hanhui15@huawei.com> - 2.6.1-1
|
|
|
|
|
- Update to 2.6.1
|
|
|
|
|
|
2019-09-30 10:52:38 -04:00
|
|
|
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.8.7-2
|
|
|
|
|
- Package Init
|