diff --git a/libsigc++-2.10.1.tar.xz b/libsigc++-2.10.1.tar.xz deleted file mode 100644 index d097790..0000000 Binary files a/libsigc++-2.10.1.tar.xz and /dev/null differ diff --git a/libsigc++-2.10.4.tar.xz b/libsigc++-2.10.4.tar.xz new file mode 100644 index 0000000..682e189 Binary files /dev/null and b/libsigc++-2.10.4.tar.xz differ diff --git a/libsigc++20.spec b/libsigc++20.spec index bbb9042..83a261d 100644 --- a/libsigc++20.spec +++ b/libsigc++20.spec @@ -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 - 2.10.4-1 +- Update to 2.10.4 + * Thu Dec 12 2019 zoushuangshuang - 2.10.1-2 - Package init diff --git a/libsigcpp20.yaml b/libsigcpp20.yaml index c31ba17..e4c0de7 100644 --- a/libsigcpp20.yaml +++ b/libsigcpp20.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: libsigcplusplus/libsigcplusplus -tag_prefix: ^v -seperator: . +tag_prefix: "^" +separator: "."