File mingw32-cairomm1_0.spec of Package mingw32-cairomm1_0
#
# spec file for package mingw32-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: mingw32-cairomm1_0
Version: 1.12.2
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.gz
#!BuildIgnore: post-build-checks
BuildRequires: gcc-c++
#BuildRequires: mingw32-boost-devel
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkgconf
BuildRequires: mingw32(pkg:cairo) >= 1.10.0
BuildRequires: mingw32(pkg:sigc++-2.0) >= 2.5.1
%_mingw32_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 mingw32-libcairomm-1_0-1
Summary: MinGW Windows port of the Cairo C++ graphics library
Group: System/Libraries
%description -n mingw32-libcairomm-1_0-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: mingw32-libcairomm-1_0-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).
%_mingw32_debug_package
%prep
%setup -q -n cairomm-%{version}
%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure} --disable-static --enable-shared --with-boost
%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files -n mingw32-libcairomm-1_0-1
%defattr(-,root,root)
%{_mingw32_bindir}/libcairomm-1.0-1.dll
%files devel
%defattr(-,root,root)
%{_mingw32_libdir}/libcairomm-1.0.dll.a
%{_mingw32_libdir}/pkgconfig/cairomm*-1.0.pc
%{_mingw32_includedir}/cairomm-1.0
%{_mingw32_libdir}/cairomm-1.0/include/cairommconfig.h
%{_mingw32_docdir}/cairomm-1.0
%{_mingw32_datadir}/devhelp/books/cairomm-1.0
%changelog