2007-01-12 17:13:42 +01:00
|
|
|
#
|
2011-03-21 15:04:15 +01:00
|
|
|
# spec file for package libsigc++2
|
2007-01-12 17:13:42 +01:00
|
|
|
#
|
2022-03-18 11:22:26 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-12 17:13:42 +01:00
|
|
|
#
|
2008-09-15 00:58:19 +02:00
|
|
|
# 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.
|
|
|
|
|
2018-12-13 16:17:00 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-12 17:13:42 +01:00
|
|
|
#
|
|
|
|
|
2008-04-02 22:18:26 +02:00
|
|
|
|
2007-01-12 17:13:42 +01:00
|
|
|
%define _name libsigc++
|
2018-03-05 15:05:11 +01:00
|
|
|
Name: libsigc++2
|
2022-03-18 11:22:26 +01:00
|
|
|
Version: 2.10.8
|
2012-09-25 22:29:49 +02:00
|
|
|
Release: 0
|
2007-01-12 17:13:42 +01:00
|
|
|
Summary: Typesafe Signal Framework for C++
|
2018-03-05 15:05:11 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-12-15 19:27:40 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-05 15:05:11 +01:00
|
|
|
URL: http://libsigc.sourceforge.net/
|
2019-09-09 12:53:47 +02:00
|
|
|
Source0: https://download.gnome.org/sources/libsigc++/2.10/%{_name}-%{version}.tar.xz
|
2010-02-19 16:32:19 +01:00
|
|
|
Source99: baselibs.conf
|
2019-09-09 12:53:47 +02:00
|
|
|
|
2012-09-25 22:29:49 +02:00
|
|
|
BuildRequires: gcc-c++
|
2021-05-27 18:09:38 +02:00
|
|
|
BuildRequires: meson >= 0.54.0
|
2018-03-05 15:05:11 +01:00
|
|
|
BuildRequires: pkgconfig
|
2007-01-12 17:13:42 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This library implements a full callback system for use in widget
|
|
|
|
libraries, abstract interfaces, and general programming. It is the most
|
2011-06-02 17:34:02 +02:00
|
|
|
complete library of its kind with the ability to connect an abstract
|
2007-01-12 17:13:42 +01:00
|
|
|
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.
|
|
|
|
|
2011-03-21 11:25:57 +01:00
|
|
|
%package -n libsigc-2_0-0
|
|
|
|
Summary: Typesafe Signal Framework for C++
|
2012-09-25 22:29:49 +02:00
|
|
|
Group: System/Libraries
|
2011-03-21 11:25:57 +01:00
|
|
|
Provides: %{name} = %{version}
|
2011-05-04 17:57:28 +02:00
|
|
|
Obsoletes: %{name} < %{version}
|
2011-03-21 11:25:57 +01:00
|
|
|
|
|
|
|
%description -n libsigc-2_0-0
|
|
|
|
This library implements a full callback system for use in widget
|
|
|
|
libraries, abstract interfaces, and general programming. It is the most
|
2011-06-02 17:34:02 +02:00
|
|
|
complete library of its kind with the ability to connect an abstract
|
2011-03-21 11:25:57 +01:00
|
|
|
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.
|
|
|
|
|
2007-01-12 17:13:42 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Typesafe Signal Framework for C++
|
2012-09-25 22:29:49 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libsigc-2_0-0 = %{version}
|
|
|
|
Requires: libstdc++-devel
|
2007-01-12 17:13:42 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This library implements a full callback system for use in widget
|
|
|
|
libraries, abstract interfaces, and general programming. 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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
|
2022-03-18 11:22:26 +01:00
|
|
|
# Remove executable bit in NEWS...
|
|
|
|
chmod -x NEWS
|
|
|
|
|
2007-01-12 17:13:42 +01:00
|
|
|
%build
|
2020-10-26 09:14:09 +01:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2007-01-12 17:13:42 +01:00
|
|
|
|
|
|
|
%install
|
2020-10-26 09:14:09 +01:00
|
|
|
%meson_install
|
2007-01-12 17:13:42 +01:00
|
|
|
|
2012-09-25 22:29:49 +02:00
|
|
|
%check
|
|
|
|
export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
|
2020-10-26 09:14:09 +01:00
|
|
|
%meson_test
|
2012-09-25 22:29:49 +02:00
|
|
|
unset MALLOC_CHECK_ MALLOC_PERTURB_
|
2007-01-12 17:13:42 +01:00
|
|
|
|
2011-03-21 11:25:57 +01:00
|
|
|
%post -n libsigc-2_0-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libsigc-2_0-0 -p /sbin/ldconfig
|
2007-01-12 17:13:42 +01:00
|
|
|
|
2011-03-21 11:25:57 +01:00
|
|
|
%files -n libsigc-2_0-0
|
2018-03-05 15:05:11 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2011-03-21 11:25:57 +01:00
|
|
|
%{_libdir}/libsigc-2.0.so.*
|
2007-01-12 17:13:42 +01:00
|
|
|
|
|
|
|
%files devel
|
2011-03-21 11:25:57 +01:00
|
|
|
%{_libdir}/libsigc-2.0.so
|
2007-01-12 17:13:42 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/sigc++-2.0
|
2009-09-04 01:31:44 +02:00
|
|
|
%{_includedir}/sigc++-2.0/
|
2008-04-02 22:18:26 +02:00
|
|
|
|
2007-09-19 19:13:26 +02:00
|
|
|
%changelog
|