File mingw64-pango.spec of Package mingw64-pango
#
# spec file for package mingw64-pango
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mingw64-pango
Version: 1.48.0
Release: 0
Summary: Pango text layout and rendering library
License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME
Url: http://www.pango.org
Source: http://ftp.gnome.org/pub/gnome/sources/pango/1.48/pango-%{version}.tar.xz
#!BuildIgnore: post-build-checks
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: glib2-devel
#BuildRequires: gobject-introspection
BuildRequires: graphviz
BuildRequires: mingw64-cairo-devel >= 1.8.0
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-pkgconf
BuildRequires: mingw64-cross-meson
BuildRequires: mingw64-fontconfig-devel >= 2.11.91
BuildRequires: mingw64-freetype-devel
BuildRequires: mingw64-glib2-devel
#BuildRequires: mingw64-gobject-introspection
BuildRequires: mingw64-libfribidi-devel >= 0.19.7
BuildRequires: mingw64-libharfbuzz-devel >= 0.9.30
BuildRequires: mingw64-libintl-devel
BuildRequires: mingw64-libthai-devel
BuildRequires: mingw64-win_iconv-devel
BuildRequires: python
BuildRequires: xz
%_mingw64_package_header_debug
BuildArch: noarch
%description
Pango is a library for laying out and rendering of text, with an emphasis on internationalization. It 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. The integration of Pango with Cairo provides a complete solution with high quality text handling and
graphics rendering.
%package -n mingw64-libpango-1_0-0
Summary: MinGW Windows port of the Pango text layout and rendering library
Group: System/Libraries
Provides: mingw64-pango = %{version}
Obsoletes: mingw64-pango < %{version}
%description -n mingw64-libpango-1_0-0
Pango is a library for laying out and rendering of text, with an emphasis on internationalization. It 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. The integration of Pango with Cairo provides a complete solution with high quality text handling and
graphics rendering.
%package tools
Summary: Pango text layout and rendering library (tools)
Group: System/Libraries
%description tools
Pango is a library for laying out and rendering of text, with an emphasis on internationalization. It 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. The integration of Pango with Cairo provides a complete solution with high quality text handling and
graphics rendering.
%package devel
Summary: Pango text layout and rendering library (development files)
Group: Development/Libraries/GNOME
%description devel
Pango is a library for laying out and rendering of text, with an emphasis on internationalization. It 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. The integration of Pango with Cairo provides a complete solution with high quality text handling and
graphics rendering.
%_mingw64_debug_package
%prep
%autosetup -p1 -n pango-%{version}
%build
%_mingw64_meson -Dxft=disabled -Dintrospection=disabled
%_mingw64_meson_build
%install
%_mingw64_meson_install
%files -n mingw64-libpango-1_0-0
%defattr(-,root,root)
%{_mingw64_bindir}/libpango-1.0-0.dll
%{_mingw64_bindir}/libpangocairo-1.0-0.dll
%{_mingw64_bindir}/libpangowin32-1.0-0.dll
%{_mingw64_bindir}/libpangoft2-1.0-0.dll
%files tools
%defattr(-,root,root)
%{_mingw64_bindir}/pango-view.exe
%{_mingw64_bindir}/pango-list.exe
%files devel
%defattr(-,root,root)
%{_mingw64_includedir}/pango-*/
%{_mingw64_libdir}/libpango-1.0.dll.a
%{_mingw64_libdir}/libpangocairo-1.0.dll.a
%{_mingw64_libdir}/libpangowin32-1.0.dll.a
%{_mingw64_libdir}/libpangoft2-1.0.dll.a
%{_mingw64_libdir}/pkgconfig/pango.pc
%{_mingw64_libdir}/pkgconfig/pangocairo.pc
%{_mingw64_libdir}/pkgconfig/pangofc.pc
%{_mingw64_libdir}/pkgconfig/pangoft2.pc
%{_mingw64_libdir}/pkgconfig/pangoot.pc
%{_mingw64_libdir}/pkgconfig/pangowin32.pc
%changelog