update to 3.0.6 [release 3.0.6-1mamba;Sun Feb 07 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 05:46:54 +01:00
parent 89101d2a20
commit ea377c035d

View File

@ -2,24 +2,23 @@
%define apiver %(echo %version | cut -d. -f 1).0
Name: libsigc++
Version: 2.10.3
Version: 3.0.6
Release: 1mamba
Summary: The Typesafe Signal Framework for C++
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libsigc.sourceforge.net/
URL: https://libsigcplusplus.github.io/libsigcplusplus/
Source: http://ftp.acc.umu.se/pub/GNOME/sources/libsigc++/%{majversion}/libsigc++-%{version}.tar.xz
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Provides: libsigc++2
Obsoletes: libsigc++2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libsigc++ implements a typesafe callback system for standard C++.
@ -40,27 +39,27 @@ Features:
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libsigc++2-devel
Obsoletes: libsigc++2-devel
%description devel
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.
It also contains adaptor classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
%build
%configure \
--enable-static
%make
%meson \
-Dbuild-documentation=true
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -70,7 +69,7 @@ This package contains static libraries and header files need for development.
%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%{_libdir}/libsigc-%{apiver}.so.*
%doc AUTHORS COPYING
%files devel
@ -78,18 +77,18 @@ This package contains static libraries and header files need for development.
%dir %{_includedir}/sigc++-%{apiver}
%{_includedir}/sigc++-%{apiver}/sigc++/*
%{_libdir}/sigc++-%{apiver}/include/sigc++config.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/libsigc-%{apiver}.so
%dir %{_libdir}/sigc++-%{apiver}
#%{_libdir}/sigc++-%{apiver}
%{_libdir}/pkgconfig/*.pc
%{_datadir}/devhelp/books/libsigc++-2.0/libsigc++-2.0.devhelp2
%{_datadir}/devhelp/books/libsigc++-%{apiver}/libsigc++-%{apiver}.devhelp2
%dir %{_defaultdocdir}/libsigc++-%{apiver}
%{_defaultdocdir}/libsigc++-%{apiver}/*
%doc ChangeLog README NEWS
%doc ChangeLog README.md NEWS
%changelog
* Sun Feb 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.6-1mamba
- update to 3.0.6
* Wed Sep 09 2020 Automatic Build System <autodist@mambasoft.it> 2.10.3-1mamba
- automatic update by autodist