!24 Upgrade to 1.50.6

From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-03-28 07:21:44 +00:00 committed by Gitee
commit 792bd476eb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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
Version: 1.49.3
Release: 1
Summary: A library for layout and rendering of text
Name: pango
Version: 1.50.6
Release: 1
Summary: System for layout and rendering of internationalized text
License: LGPLv2+
URL: https://pango.gnome.org/
Source0: https://download.gnome.org//sources/pango/1.49/%{name}-%{version}.tar.xz
License: LGPLv2+
URL: https://pango.gnome.org/
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(fribidi) >= 1.0 pkgconfig(glib-2.0) >= 2.59.2 pkgconfig(harfbuzz) >= 2.0.0
BuildRequires: pkgconfig(cairo) >= 1.12.10 pkgconfig(fontconfig) >= 2.13.0 pkgconfig(freetype2) >= 2.1.5
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: cairo-gobject-devel meson help2man gcc gcc-c++ harfbuzz-help
BuildRequires: pango
Requires: cairo >= 1.12.10 fontconfig >= 2.12.92 freetype >= 2.1.5 fribidi >= 1.0
Requires: glib2 >= 2.59.2 harfbuzz >= 2.0.0 libXft >= 2.0.0 libthai >= 0.1.9
Requires: cairo >= 1.12.10 fontconfig >= 2.13.0 freetype >= 2.1.5 fribidi >= 1.0.6
Requires: glib2 >= 2.62 harfbuzz >= 2.6.0 libXft >= 2.0.0 libthai >= 0.1.9
%description
Pango is a library for layout and rendering of text, with an emphasis
on internationalization. Pango can be used anywhere that text layout
is needed; however, most of the work on Pango so far has been done using
the GTK+ widget toolkit as a test platform. Pango forms the core of text
and font handling for GTK+-2.x.
Pango is a library for laying out and rendering of text, with an emphasis
on internationalization. Pango can be used anywhere that text layout is needed,
though most of the work on Pango so far has been done in the context of the
GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+.
%package devel
Summary: Development environment for %{name}
Pango is designed to be modular; the core Pango layout engine can be used
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: 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}
Obsoletes: %{name}-tests < %{version}-%{release}
%description devel
The %{name}-devel package contains libraries header files and tests for
the %{name}.
%description devel
The pango-devel package includes the header files and developer documentation
for the pango package.
%package_help
@ -46,11 +52,12 @@ the %{name}.
%install
%meson_install
test -e %{buildroot}%{_libdir}/libpangoxft-1.0.so
cp -a %{_libdir}/libpango-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libpangocairo-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libpangoft2-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir}
cp -a %{_libdir}/libpangoxft-1.0.so.0.4700.0 $RPM_BUILD_ROOT%{_libdir}
PANGOXFT_SO=$RPM_BUILD_ROOT%{_libdir}/libpangoxft-1.0.so
if ! test -e $PANGOXFT_SO; then
echo "$PANGOXFT_SO not found; did not build with Xft support?"
ls $RPM_BUILD_ROOT%{_libdir}
exit 1
fi
%files
%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.*
%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
- 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
- Package Init