File mingw64-atkmm1_6.spec of Package mingw64-atkmm1_6
#
# spec file for package mingw64-atkmm
#
# 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 base_ver 1.6
%define libname mingw64-libatkmm1_6
Name: mingw64-atkmm1_6
Version: 2.28.3
Release: 0
Summary: C++ bindings for ATK
License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME
Url: http://www.gtkmm.org/
Source: http://ftp.gnome.org/pub/GNOME/sources/atkmm/%base_ver/atkmm-%{version}.tar.xz
Patch1: atkmm-2.36.1-fix-no-png-dot-format.patch
#!BuildIgnore: post-build-checks
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: graphviz
BuildRequires: m4
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-meson
BuildRequires: mingw64(pkg:atk)
BuildRequires: mingw64(pkg:glibmm-2.4)
BuildRequires: mingw64(pkg:sigc++-2.0)
BuildRequires: mm-common
BuildRequires: perl-XML-Parser
%if %suse_version >= 1599
BuildRequires: libxslt-tools
%endif
%_mingw64_package_header_debug
BuildArch: noarch
%description
atkmm is the C++ binding for the ATK library.
%package -n %{libname}
Summary: MinGW Windows port of the C++ bindings for the Accessibility Toolkit
Group: System/Libraries
%description -n %{libname}
atkmm is the C++ binding for the ATK library.
%package devel
Summary: C++ bindings for the ATK library (devel)
Group: Development/Libraries/C and C++
%description devel
atkmm is the C++ binding for the ATK library (devel).
%_mingw64_debug_package
%prep
%autosetup -p1 -n atkmm-%{version}
%build
%_mingw64_meson -Dmaintainer-mode=true
%_mingw64_meson_build
%install
%_mingw64_meson_install
# fix mingw64-atkmm-devel.noarch: E: file-contains-buildroot (Badness: 10000)
sed -i 's,%{buildroot},,g' %{buildroot}%{_mingw64_datadir}/devhelp/books/atkmm-%{base_ver}/atkmm-%{base_ver}.devhelp2
%files -n %{libname}
%defattr(-,root,root)
%{_mingw64_bindir}/libatkmm-*.dll
%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/libatkmm-*.dll.a
%{_mingw64_libdir}/pkgconfig/atkmm-*.pc
%{_mingw64_libdir}/atkmm-*
%{_mingw64_includedir}/atkmm-*
%{_mingw64_docdir}/atkmm-*
%{_mingw64_datadir}/devhelp
%changelog