File mingw64-pangomm1_4.spec of Package mingw64-pangomm1_4

#
# spec file for package mingw64-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 docs 0
%define libname mingw64-libpangomm-1_4-1

Name:           mingw64-pangomm1_4
Version:        2.46.3
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.46/pangomm-%{version}.tar.xz
#!BuildIgnore: post-build-checks
BuildRequires:  doxygen
BuildRequires:  gcc-c++
BuildRequires:  graphviz
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-cross-pkg-config
BuildRequires:  mingw64-cross-meson
BuildRequires:  mingw64(pkg:cairomm-1.0) >= 1.2.2
BuildRequires:  mingw64(pkg:glibmm-2.4) >= 2.48.0
BuildRequires:  mingw64(pkg:pangocairo) >= 1.45.1
BuildRequires:  xz
%_mingw64_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

%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
Requires:       %{libname}

%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).

%_mingw64_debug_package

%prep
%autosetup -p1 -n pangomm-%{version}

%build
%_mingw64_meson
%_mingw64_meson_build

%install
%_mingw64_meson_install

%files -n %{libname}
%defattr(-,root,root)
%{_mingw64_bindir}/libpangomm-*.dll

%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/libpangomm-*.dll.a
%{_mingw64_libdir}/pkgconfig/pangomm-*.pc
%{_mingw64_libdir}/pangomm-*
%{_mingw64_includedir}/pangomm-*
%if %docs
%{_mingw64_docdir}/pangomm-*
%{_mingw64_datadir}/devhelp
%endif

%changelog
openSUSE Build Service is sponsored by