Accepting request 585857 from GNOME:Next

- Add missing GI bindings requirement for the devel package.

OBS-URL: https://build.opensuse.org/request/show/585857
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=151
This commit is contained in:
Dominique Leuenberger 2018-03-13 08:16:45 +00:00 committed by Git OBS Bridge
parent 3ba70a4633
commit 36f865a548
2 changed files with 13 additions and 11 deletions

View File

@ -3,6 +3,7 @@ Sun Mar 11 03:40:33 UTC 2018 - luc14n0@linuxmail.org
- Fix broken libharbuzz-gobject.so symlink by requiring Harfbuzz's
Gobject library for the devel package.
- Add missing GI bindings requirement for the devel package.
-------------------------------------------------------------------
Fri Mar 9 11:51:15 UTC 2018 - astieger@suse.com

View File

@ -64,6 +64,14 @@ Group: System/Libraries
HarfBuzz is an OpenType text shaping engine.
This package contains the GObject library.
%package -n typelib-1_0-HarfBuzz-0_0
Summary: An OpenType text shaping engine - Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-HarfBuzz-0_0
HarfBuzz is an OpenType text shaping engine.
This package provides the GObject Introspection bindings for HarfBuzz.
%package tools
Summary: An OpenType text shaping engine -- Tools
Group: Productivity/Text/Utilities
@ -77,20 +85,13 @@ Group: Development/Libraries/C and C++
Requires: libharfbuzz-icu0 = %{version}
Requires: libharfbuzz0 = %{version}
Requires: libharfbuzz-gobject0 = %{version}
Requires: typelib-1_0-HarfBuzz-0_0 = %{version}
Requires: pkgconfig(freetype2) >= 12.0.6
%description devel
HarfBuzz is an OpenType text shaping engine.
This package contains the development files.
%package -n typelib-1_0-HarfBuzz-0_0
Summary: An OpenType text shaping engine - Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-HarfBuzz-0_0
HarfBuzz is an OpenType text shaping engine.
This package provides the GObject Introspection bindings for HarfBuzz
%prep
%autosetup
@ -128,6 +129,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files -n libharfbuzz-gobject0
%{_libdir}/libharfbuzz-gobject.so.0*
%files -n typelib-1_0-HarfBuzz-0_0
%{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib
%files tools
%{_bindir}/hb-ot-shape-closure
%{_bindir}/hb-shape
@ -144,7 +148,4 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/pkgconfig/harfbuzz-gobject.pc
%{_datadir}/gir-1.0/HarfBuzz-0.0.gir
%files -n typelib-1_0-HarfBuzz-0_0
%{_libdir}/girepository-1.0/HarfBuzz-0.0.typelib
%changelog