!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
Version: 2.10.1
Release: 2
Version: 2.10.4
Release: 1
Summary: Typesafe signal framework for C++
License: LGPLv2+
URL: http://libsigc.sourceforge.net/
Source0: http://download.gnome.org/sources/libsigc++/2.10/libsigc++-2.10.1.tar.xz
BuildRequires: gcc-c++ m4 perl-interpreter perl-Getopt-Long
URL: https://github.com/libsigcplusplus/libsigcplusplus
Source0: https://github.com/libsigcplusplus/libsigcplusplus/releases/download/%{version}/libsigc++-%{version}.tar.xz
BuildRequires: docbook-style-xsl
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: libxslt
BuildRequires: m4
BuildRequires: meson
BuildRequires: perl(Getopt::Long)
BuildRequires: perl-interpreter
%description
Originally part of the Gtk-- widget set, libsigc++20 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.
libsigc++ implements a typesafe callback system for standard C++. It
allows you to define signals and to connect those signals to any
callback function, either global or a member function, regardless of
whether it is static or virtual.
libsigc++ is used by gtkmm to wrap the GTK+ signal system. It does not
depend on GTK+ or gtkmm.
%package devel
@ -20,43 +30,44 @@ Summary: Development tools for the typesafe signal framework for C++
Requires: %{name} = %{version}-%{release}
%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}.
%package help
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
Summary: full API documentation for %{name}
Summary: Documentation for %{name}, includes full API docs
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%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
%autosetup -n libsigc++-%{version}
%autosetup -n libsigc++-%{version} -p1
%build
%configure
%make_build
%meson -Dbuild-documentation=true
%meson_build
%install
%make_install
%delete_la
%meson_install
%files
%doc AUTHORS README NEWS COPYING
%{_libdir}/*.so.*
%license COPYING
%doc AUTHORS README NEWS
%{_libdir}/libsigc-2.0.so.0*
%files devel
%{_includedir}/*
%{_libdir}/sigc++-2.0/
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_libdir}/libsigc-2.0.so
%files help
%doc %{_datadir}/doc/libsigc++-2.0/
@ -64,5 +75,8 @@ The libsigc++20-help package contains the full API documentation for libsigc++20
%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
- Package init

View File

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