Upgrade to 1.50.6

This commit is contained in:
zhang__3125 2022-03-28 14:46:07 +08:00
parent f56dc1b2d9
commit 99d5a37f3e
3 changed files with 37 additions and 28 deletions

Binary file not shown.

BIN
pango-1.50.6.tar.xz Normal file

Binary file not shown.

View File

@ -1,38 +1,44 @@
Name: pango Name: pango
Version: 1.49.3 Version: 1.50.6
Release: 1 Release: 1
Summary: A library for layout and rendering of text Summary: System for layout and rendering of internationalized text
License: LGPLv2+ License: LGPLv2+
URL: https://pango.gnome.org/ URL: https://pango.gnome.org/
Source0: https://download.gnome.org//sources/pango/1.49/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/%{name}/1.50/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig(cairo) >= 1.12.10 pkgconfig(fontconfig) >= 2.12.92 pkgconfig(freetype2) >= 2.1.5 BuildRequires: pkgconfig(cairo) >= 1.12.10 pkgconfig(fontconfig) >= 2.13.0 pkgconfig(freetype2) >= 2.1.5
BuildRequires: pkgconfig(fribidi) >= 1.0 pkgconfig(glib-2.0) >= 2.59.2 pkgconfig(harfbuzz) >= 2.0.0 BuildRequires: pkgconfig(fribidi) >= 1.0.6 pkgconfig(glib-2.0) >= 2.62 pkgconfig(harfbuzz) >= 2.6.0
BuildRequires: pkgconfig(xft) >= 2.0.0 pkgconfig(libthai) >= 0.1.9 pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(xft) >= 2.0.0 pkgconfig(libthai) >= 0.1.9 pkgconfig(gobject-introspection-1.0)
BuildRequires: cairo-gobject-devel meson help2man gcc gcc-c++ harfbuzz-help BuildRequires: cairo-gobject-devel meson help2man gcc gcc-c++ harfbuzz-help
BuildRequires: pango BuildRequires: pango
Requires: cairo >= 1.12.10 fontconfig >= 2.12.92 freetype >= 2.1.5 fribidi >= 1.0 Requires: cairo >= 1.12.10 fontconfig >= 2.13.0 freetype >= 2.1.5 fribidi >= 1.0.6
Requires: glib2 >= 2.59.2 harfbuzz >= 2.0.0 libXft >= 2.0.0 libthai >= 0.1.9 Requires: glib2 >= 2.62 harfbuzz >= 2.6.0 libXft >= 2.0.0 libthai >= 0.1.9
%description %description
Pango is a library for layout and rendering of text, with an emphasis Pango is a library for laying out and rendering of text, with an emphasis
on internationalization. Pango can be used anywhere that text layout on internationalization. Pango can be used anywhere that text layout is needed,
is needed; however, most of the work on Pango so far has been done using though most of the work on Pango so far has been done in the context of the
the GTK+ widget toolkit as a test platform. Pango forms the core of text GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+.
and font handling for GTK+-2.x.
%package devel Pango is designed to be modular; the core Pango layout engine can be used
Summary: Development environment for %{name} with different font backends.
The integration of Pango with Cairo provides a complete solution with high
quality text handling and graphics rendering.
%package devel
Summary: Development files for pango
Requires: %{name} = %{version}-%{release} freetype-devel >= 2.1.5 Requires: %{name} = %{version}-%{release} freetype-devel >= 2.1.5
Requires: glib2-devel >= 2.59.2 fontconfig-devel >= 2.12.92 cairo-devel >= 1.12.10 Requires: glib2-devel >= 2.62 fontconfig-devel >= 2.13.0 cairo-devel >= 1.12.10
Provides: %{name}-tests = %{version}-%{release} Provides: %{name}-tests = %{version}-%{release}
Obsoletes: %{name}-tests < %{version}-%{release} Obsoletes: %{name}-tests < %{version}-%{release}
%description devel %description devel
The %{name}-devel package contains libraries header files and tests for The pango-devel package includes the header files and developer documentation
the %{name}. for the pango package.
%package_help %package_help
@ -46,11 +52,12 @@ the %{name}.
%install %install
%meson_install %meson_install
test -e %{buildroot}%{_libdir}/libpangoxft-1.0.so PANGOXFT_SO=$RPM_BUILD_ROOT%{_libdir}/libpangoxft-1.0.so
cp -a %{_libdir}/libpango-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir} if ! test -e $PANGOXFT_SO; then
cp -a %{_libdir}/libpangocairo-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir} echo "$PANGOXFT_SO not found; did not build with Xft support?"
cp -a %{_libdir}/libpangoft2-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir} ls $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libpangoxft-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir} exit 1
fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -77,6 +84,9 @@ cp -a %{_libdir}/libpangoxft-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir}
%{_mandir}/man1/pango-view.1.* %{_mandir}/man1/pango-view.1.*
%changelog %changelog
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.50.6-1
- Upgrade to 1.50.6
* Fri Dec 17 2021 yangcheng <yangcheng87@huawei.com> - 1.49.3-1 * Fri Dec 17 2021 yangcheng <yangcheng87@huawei.com> - 1.49.3-1
- Upgrade to 1.49.3 - Upgrade to 1.49.3
@ -121,4 +131,3 @@ cp -a %{_libdir}/libpangoxft-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir}
* Sun Sep 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.43.0-1 * Sun Sep 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.43.0-1
- Package Init - Package Init