Compare commits

..

No commits in common. "cf1abbba935b78921fdcba596bd5f0854699ed87" and "1863ee5404e845e49ccc9358ed4f1a541bbd0af1" have entirely different histories.

4 changed files with 25 additions and 48 deletions

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

Binary file not shown.

Binary file not shown.

View File

@ -1,28 +1,18 @@
Name: libsigc++20
Version: 2.10.6
Release: 3
Version: 2.10.1
Release: 2
Summary: Typesafe signal framework for C++
License: LGPLv2+
URL: https://github.com/libsigcplusplus/libsigcplusplus
Source0: https://download.gnome.org/sources/libsigc++/2.10/libsigc++-%{version}.tar.xz
BuildRequires: docbook-style-xsl
BuildRequires: doxygen graphviz
BuildRequires: gcc-c++
BuildRequires: libxslt
BuildRequires: m4
BuildRequires: meson
BuildRequires: perl(Getopt::Long)
BuildRequires: perl-interpreter
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
%description
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.
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.
%package devel
@ -30,44 +20,43 @@ Summary: Development tools for the typesafe signal framework for C++
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains the static libraries and header files
The libsigc++20-devel package contains the static libraries and header files
needed for development with %{name}.
%package help
Summary: Documentation for %{name}, includes full API docs
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
Summary: full API documentation for %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description help
This package contains the full API documentation for %{name}.
The libsigc++20-help package contains the full API documentation for libsigc++20.
%prep
%autosetup -n libsigc++-%{version} -p1
%autosetup -n libsigc++-%{version}
%build
%meson -Dbuild-documentation=true
%meson_build
%configure
%make_build
%install
%meson_install
%make_install
%delete_la
%files
%license COPYING
%doc AUTHORS README NEWS
%{_libdir}/libsigc-2.0.so.0*
%doc AUTHORS README NEWS COPYING
%{_libdir}/*.so.*
%files devel
%{_includedir}/*
%{_libdir}/sigc++-2.0/
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libsigc-2.0.so
%{_libdir}/*.so
%files help
%doc %{_datadir}/doc/libsigc++-2.0/
@ -75,17 +64,5 @@ This package contains the full API documentation for %{name}.
%changelog
* Thu Nov 17 2022 yaoxin <yaoxin30@h-partners.com> - 2.10.6-3
- Modify invalid Source
* Thu Jan 6 2022 liyanan <liyanan32@huawei.com> - 2.10.6-2
- Add buildrequire graphviz
* Fri Jun 18 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.10.6-1
- Upgrade to 2.10.6
* 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: "^"
separator: "."
tag_pattern: ^v
seperator: .