File mingw32-pangomm.spec of Package mingw32-pangomm
#
# spec file for package mingw32-pangomm
#
# Copyright (c) 2014 SUSE LINUX Products 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/
#
%define libname mingw32-libpangomm-1_4-1
Name: mingw32-pangomm
Version: 2.48.2
Release: 0
Summary: C++ bindings for Pango
License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME
Url: http://www.gtkmm.org/
Source: http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.48/pangomm-%{version}.tar.xz
#!BuildIgnore: post-build-checks
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: graphviz
BuildRequires: mingw32-cairomm-devel >= 1.2.2
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-cross-meson
BuildRequires: mingw32-glibmm2-devel >= 2.14.1
BuildRequires: mingw32-pango-devel >= 1.23.0
BuildRequires: xz
%_mingw32_package_header_debug
BuildArch: noarch
%description
pangomm provides a C++ interface to the Pango library. Highlights
include typesafe callbacks, widgets extensible via inheritance and a
comprehensive set of widget classes that can be freely combined to
quickly create complex user interfaces.
%package -n %{libname}
Summary: MinGW Windows port of the Pango C++ bindings
Group: System/Libraries
Obsoletes: mingw32-pangomm < %{version}
%description -n %{libname}
pangomm provides a C++ interface to the Pango library. Highlights
include typesafe callbacks, widgets extensible via inheritance and a
comprehensive set of widget classes that can be freely combined to
quickly create complex user interfaces.
%package devel
Summary: C++ bindings for Pango (devel)
Group: Development/Libraries/GNOME
%description devel
pangomm provides a C++ interface to the Pango library. Highlights
include typesafe callbacks, widgets extensible via inheritance and a
comprehensive set of widget classes that can be freely combined to
quickly create complex user interfaces (devel).
%_mingw32_debug_package
%prep
%autosetup -p1 -n pangomm-%{version}
%build
%_mingw32_meson
%_mingw32_meson_build
%install
%_mingw32_meson_install
%files -n %{libname}
%defattr(-,root,root)
%{_mingw32_bindir}/libpangomm-*.dll
%files devel
%defattr(-,root,root)
%{_mingw32_libdir}/libpangomm-*.dll.a
%{_mingw32_libdir}/pkgconfig/pangomm-*.pc
%{_mingw32_libdir}/pangomm-*
%{_mingw32_includedir}/pangomm-*
#%%{_mingw32_docdir}/pangomm-*
#%%{_mingw32_datadir}/devhelp
%changelog