File mingw64-libsigc++2.spec of Package mingw64-libsigc++2
#
# spec file for package mingw64-libsigc++2
#
# 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-libsigc++2
Version: 2.10.0
Release: 0
Summary: MinGW Windows port of the typesafe signal framework for C++
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Url: http://libsigc.sourceforge.net/
Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-%{version}.tar.xz
BuildRequires: m4
#!BuildIgnore: post-build-checks
BuildRequires: mingw64-cross-binutils
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-pkg-config
BuildRequires: mingw64-filesystem >= 30
%_mingw64_package_header_debug
BuildArch: noarch
%description
This library implements a full callback system for use in widget
libraries, abstract interfaces, and general programming.
%package -n mingw64-libsigc-2_0-0
Summary: MinGW Windows port of the typesafe signal framefork for C++
Group: System/Libraries
Obsoletes: mingw64-libsigc++2
%description -n mingw64-libsigc-2_0-0
This library implements a full callback system for use in widget
libraries, abstract interfaces, and general programming. Originally
part of the Gtk-- widget set, %{name} is now a separate library to
provide for more general use. It is the most complete library of its
kind with the ability to connect an abstract callback to a class
method, function, or function object. It contains adaptor classes for
connection of dissimilar callbacks and has an ease of use unmatched by
other C++ callback libraries.
%package devel
Summary: MinGW Windows port of the typesafe signal framework for C++ (development files)
Group: Development/Libraries/C and C++
%description devel
This library implements a full callback system for use in widget
libraries, abstract interfaces, and general programming. Originally
part of the Gtk-- widget set, %{name} is now a separate library to
provide for more general use. It is the most complete library of its
kind with the ability to connect an abstract callback to a class
method, function, or function object. It contains adaptor classes for
connection of dissimilar callbacks and has an ease of use unmatched by
other C++ callback libraries (development files).
%_mingw64_debug_package
%prep
%setup -q -n libsigc++-%{version}
%build
%{_mingw64_configure} --disable-static
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files -n mingw64-libsigc-2_0-0
%defattr(-,root,root)
%{_mingw64_bindir}/libsigc-2.0-0.dll
%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/libsigc-2.0.dll.a
%{_mingw64_libdir}/pkgconfig/sigc++-2.0.pc
%{_mingw64_includedir}/sigc++-2.0
%{_mingw64_libdir}/sigc++-2.0
%{_mingw64_docdir}/libsigc++-2.0
%{_mingw64_datadir}/devhelp/books/libsigc++-2.0/libsigc++-2.0.devhelp2
%changelog