Ai
13 Star 0 Fork 20

src-openEuler/harfbuzz
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
harfbuzz.spec 3.07 KB
一键复制 编辑 原始数据 按行查看 历史
zhangxianting 提交于 2023-11-08 16:51 +08:00 . Enable fPIE and Remove rpath
Name: harfbuzz
Version: 2.8.1
Release: 5
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.1/%{name}-%{version}.tar.xz
Patch0001: backport-CVE-2022-33068.patch
Patch0002: backport-0001-CVE-2023-25193.patch
Patch0003: backport-0002-CVE-2023-25193.patch
BuildRequires: gcc-c++ freetype-devel cairo-devel glib2-devel graphite2-devel
BuildRequires: gtk-doc libicu-devel gobject-introspection-devel chrpath
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}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static --with-graphite2 --with-gobject --enable-introspection CFLAGS="-fPIE -pie"
make %{?_smp_mflags}
%check
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
chrpath -d %{buildroot}%{_libdir}/lib%{name}-icu.so.*
chrpath -d %{buildroot}%{_libdir}/lib%{name}-gobject.so.*
chrpath -d %{buildroot}%{_libdir}/lib%{name}-subset.so.*
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%delete_la
%ldconfig_scriptlets
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS NEWS
%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
%config(noreplace) /etc/ld.so.conf.d/*
%files devel
%{_bindir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/cmake/harfbuzz/
%{_includedir}/harfbuzz/
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/HarfBuzz-0.0.gir
%files help
%doc README
%{_datadir}/gtk-doc/html/harfbuzz/*
%changelog
* Wed Nov 08 2023 zhangxianting <zhangxianting@uniontech.com> - 2.8.1-5
- Enable fPIE and Remove rpath
* Wed Feb 15 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 2.8.1-4
- fix CVE-2023-25193
* Fri Jul 15 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 2.8.1-3
- fix CVE-2022-33068
* Mon Jul 05 2021 wangkerong <wangkerong@huawei.com> - 2.8.1-2
- enable make check
* Sat Jun 19 2021 wangkerong <wangkerong@huawei.com> - 2.8.1-1
- Update to 2.8.1
* Wed Aug 26 2020 chengguipeng<chengguipeng1@huawei.com> - 2.6.8-1
- Update to 2.6.8
* Mon Jun 15 2020 hanhui <hanhui15@huawei.com> - 2.6.1-1
- Update to 2.6.1
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.8.7-2
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/harfbuzz.git
git@gitee.com:src-openeuler/harfbuzz.git
src-openeuler
harfbuzz
harfbuzz
openEuler-20.03-LTS-SP4

搜索帮助