File mingw64-gtkmm2.spec of Package mingw64-gtkmm2

#
# spec file for package mingw64-gtkmm2
#
# 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-gtkmm2
Version:        2.24.5
Release:        0
Summary:        C++ bindings for GTK+2
License:        LGPL-2.1-or-later
Group:          Development/Libraries/C and C++
Url:            http://www.gtkmm.org/
Source:         http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.24/gtkmm-%{version}.tar.xz
#!BuildIgnore: post-build-checks
BuildRequires:  mingw64-cairomm-devel >= 1.2.2
BuildRequires:  mingw64-cross-gcc-c++
BuildRequires:  mingw64(pkg:atkmm-1.6)
BuildRequires:  mingw64(pkg:cairomm-1.0)
BuildRequires:  mingw64(pkg:glibmm-2.4)
BuildRequires:  mingw64(pkg:gtk+-2.0)
BuildRequires:  mingw64(pkg:pango)
BuildRequires:  mingw64(pkg:pangomm-1.4)
%_mingw64_package_header_debug
BuildArch:      noarch

%description
gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps
GTK+ 2.  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 mingw64-libgtkmm-2_4-1
Summary:        C++ bindings for GTK+2
Group:          System/Libraries
Obsoletes:      mingw64-gtkmm2

%description -n mingw64-libgtkmm-2_4-1
gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps
GTK+ 2.  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 GTK+2 (devel)
Group:          Development/Libraries/C and C++

%description devel
gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps
GTK+ 2.  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
%setup -q -n gtkmm-%{version}

%build
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} --disable-static --enable-shared
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}

%install
%{_mingw64_make} DESTDIR=%{buildroot} install

%files -n mingw64-libgtkmm-2_4-1
%defattr(-,root,root)
%{_mingw64_bindir}/libgdkmm-2.4-1.dll
%{_mingw64_bindir}/libgtkmm-2.4-1.dll

%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/libgdkmm-2.4.dll.a
%{_mingw64_libdir}/libgtkmm-2.4.dll.a
%{_mingw64_includedir}/gdkmm-2.4
%{_mingw64_includedir}/gtkmm-2.4
%{_mingw64_libdir}/gdkmm-2.4
%{_mingw64_libdir}/gtkmm-2.4
%{_mingw64_libdir}/pkgconfig/gdkmm-2.4.pc
%{_mingw64_libdir}/pkgconfig/gtkmm-2.4.pc
%{_mingw64_datadir}/devhelp
%{_mingw64_docdir}/gtkmm-2.4/

%changelog
openSUSE Build Service is sponsored by