File mingw64-cairomm.spec of Package mingw64-cairomm

#
# spec file for package mingw64-cairomm
#
# 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/
#


Name:           mingw64-cairomm
Version:        1.16.1
Release:        0
Summary:        MinGW Windows C++ API for the cairo graphics library
License:        LGPL-2.1-or-later
Group:          Development/Libraries/C and C++
Url:            http://www.cairographics.org
Source0:        http://www.cairographics.org/releases/cairomm-%{version}.tar.xz
#!BuildIgnore: post-build-checks
BuildRequires:  gcc-c++
BuildRequires:  mingw64-boost-devel
BuildRequires:  mingw64-cairo-devel
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64-cross-meson
BuildRequires:  mingw64-cross-pkgconf
BuildRequires:  mingw64-libsigc++3-devel
%_mingw64_package_header_debug
BuildArch:      noarch

%description
Cairomm is the C++ API for the cairo graphics library. It offers all the power
of cairo with an interface familiar to C++ developers, including use of the
Standard Template Library where it makes sense.

%package -n mingw64-libcairomm-1_16-1
Summary:        MinGW Windows port of the Cairo C++ graphics library
Group:          System/Libraries
Obsoletes:      mingw64-cairomm

%description -n mingw64-libcairomm-1_16-1
Cairomm is the C++ API for the cairo graphics library. It offers all the power
of cairo with an interface familiar to C++ developers, including use of the
Standard Template Library where it makes sense.

%package devel
Summary:        MinGW Windows C++ API for the cairo graphics library (devel)
Group:          Development/Libraries/C and C++
Requires:       mingw64-libcairomm-1_16-1 = %{version}

%description devel
Cairomm is the C++ API for the cairo graphics library. It offers all the power
of cairo with an interface familiar to C++ developers, including use of the
Standard Template Library where it makes sense (devel).

%_mingw64_debug_package

%prep
%setup -q -n cairomm-%{version}

%build
%_mingw64_meson -Dboost-shared=true
%_mingw64_meson_build

%install
%_mingw64_meson_install

%files -n mingw64-libcairomm-1_16-1
%defattr(-,root,root)
%{_mingw64_bindir}/libcairomm-1.16-1.dll

%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/libcairomm-1.16.dll.a
%{_mingw64_libdir}/pkgconfig/cairomm*-1.16.pc
%{_mingw64_includedir}/cairomm-1.16
%{_mingw64_libdir}/cairomm-1.16/include/cairommconfig.h
#%%{_mingw64_docdir}/cairomm-1.16
#%%{_mingw64_datadir}/devhelp/books/cairomm-1.16

%changelog
openSUSE Build Service is sponsored by