!4 Update to 2.10.4

From: @ultra_planet
Reviewed-by: @si-gui,@small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2020-11-25 15:15:57 +08:00 committed by Gitee
commit 488ee82879
4 changed files with 39 additions and 25 deletions

Binary file not shown.

BIN
libsigc++-2.10.4.tar.xz Normal file

Binary file not shown.

View File

@ -1,18 +1,28 @@
Name: libsigc++20 Name: libsigc++20
Version: 2.10.1 Version: 2.10.4
Release: 2 Release: 1
Summary: Typesafe signal framework for C++ Summary: Typesafe signal framework for C++
License: LGPLv2+ License: LGPLv2+
URL: http://libsigc.sourceforge.net/ URL: https://github.com/libsigcplusplus/libsigcplusplus
Source0: http://download.gnome.org/sources/libsigc++/2.10/libsigc++-2.10.1.tar.xz Source0: https://github.com/libsigcplusplus/libsigcplusplus/releases/download/%{version}/libsigc++-%{version}.tar.xz
BuildRequires: gcc-c++ m4 perl-interpreter perl-Getopt-Long
BuildRequires: docbook-style-xsl
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: libxslt
BuildRequires: m4
BuildRequires: meson
BuildRequires: perl(Getopt::Long)
BuildRequires: perl-interpreter
%description %description
Originally part of the Gtk-- widget set, libsigc++20 is now a separate library to provide libsigc++ implements a typesafe callback system for standard C++. It
for more general use. It is the most complete library of its kind with the ability to allows you to define signals and to connect those signals to any
connect an abstract callback to a class method, function, or function object. callback function, either global or a member function, regardless of
It contains adaptor classes for connection of dissimilar callbacks and has an ease of use whether it is static or virtual.
unmatched by other C++ callback libraries.
libsigc++ is used by gtkmm to wrap the GTK+ signal system. It does not
depend on GTK+ or gtkmm.
%package devel %package devel
@ -20,43 +30,44 @@ Summary: Development tools for the typesafe signal framework for C++
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description devel %description devel
The libsigc++20-devel package contains the static libraries and header files The %{name}-devel package contains the static libraries and header files
needed for development with %{name}. needed for development with %{name}.
%package help %package help
Provides: %{name}-doc = %{version}-%{release} Summary: Documentation for %{name}, includes full API docs
Obsoletes: %{name}-doc < %{version}-%{release}
Summary: full API documentation for %{name}
BuildArch: noarch BuildArch: noarch
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help %description help
The libsigc++20-help package contains the full API documentation for libsigc++20. This package contains the full API documentation for %{name}.
%prep %prep
%autosetup -n libsigc++-%{version} %autosetup -n libsigc++-%{version} -p1
%build %build
%configure %meson -Dbuild-documentation=true
%make_build %meson_build
%install %install
%make_install %meson_install
%delete_la
%files %files
%doc AUTHORS README NEWS COPYING %license COPYING
%{_libdir}/*.so.* %doc AUTHORS README NEWS
%{_libdir}/libsigc-2.0.so.0*
%files devel %files devel
%{_includedir}/* %{_includedir}/*
%{_libdir}/sigc++-2.0/ %{_libdir}/sigc++-2.0/
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so %{_libdir}/libsigc-2.0.so
%files help %files help
%doc %{_datadir}/doc/libsigc++-2.0/ %doc %{_datadir}/doc/libsigc++-2.0/
@ -64,5 +75,8 @@ The libsigc++20-help package contains the full API documentation for libsigc++20
%changelog %changelog
* Wed Nov 25 2020 lingsheng <lingsheng@huawei.com> - 2.10.4-1
- Update to 2.10.4
* Thu Dec 12 2019 zoushuangshuang<zoushuangshuang@huawei.com> - 2.10.1-2 * Thu Dec 12 2019 zoushuangshuang<zoushuangshuang@huawei.com> - 2.10.1-2
- Package init - Package init

View File

@ -1,4 +1,4 @@
version_control: github version_control: github
src_repo: libsigcplusplus/libsigcplusplus src_repo: libsigcplusplus/libsigcplusplus
tag_prefix: ^v tag_prefix: "^"
seperator: . separator: "."