From a9d6ac858bb027e5c512f972aa21f635121db692 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:47:07 +0100 Subject: [PATCH] update to 2.10.6 [release 2.10.6-1mamba;Sun Feb 07 2021] --- README.md | 16 ++++- libsigc++2.spec | 166 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 181 insertions(+), 1 deletion(-) create mode 100644 libsigc++2.spec diff --git a/README.md b/README.md index 4efe7cf..5f13c3f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ -# libsigcPlusPlus2 +# libsigc++2 + +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. +Features: +* Compile time typesafe callbacks (faster than run time checks) +* Typesafety violations report line number correctly with template names (no tracing template failures into headers) +* No compiler extensions or meta compilers required +* Proper handling of dynamic objects and signals (deleted objects will not cause seg faults) +* Extendable API at any level: signal, slot, connection and trackable +* Extensions do not require alteration of basic components +* User definable accumulators +* A variety of adaptors to change the callback signature: bind, hide, retype, compose and lambda call groups +* Various compilers and platforms are supported: gcc, cygwin, mingw32, MS .NET 2003, Sun Forte C++, Compaq C++, Intel C++ diff --git a/libsigc++2.spec b/libsigc++2.spec new file mode 100644 index 0000000..4b9bebc --- /dev/null +++ b/libsigc++2.spec @@ -0,0 +1,166 @@ +%define majversion %(echo %version | cut -d. -f 1-2) +%define apiver %(echo %version | cut -d. -f 1).0 + +Name: libsigc++2 +Version: 2.10.6 +Release: 1mamba +Summary: The Typesafe Signal Framework for C++ +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libsigc.sourceforge.net/ +Source: http://ftp.acc.umu.se/pub/GNOME/sources/libsigc++/%{majversion}/libsigc++-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. +It also contains adaptor classes for connection of dissimilar callbacks and has an ease of use unmatched by other C++ callback libraries. +Features: +* Compile time typesafe callbacks (faster than run time checks) +* Typesafety violations report line number correctly with template names (no tracing template failures into headers) +* No compiler extensions or meta compilers required +* Proper handling of dynamic objects and signals (deleted objects will not cause seg faults) +* Extendable API at any level: signal, slot, connection and trackable +* Extensions do not require alteration of basic components +* User definable accumulators +* A variety of adaptors to change the callback signature: bind, hide, retype, compose and lambda call groups +* Various compilers and platforms are supported: gcc, cygwin, mingw32, MS .NET 2003, Sun Forte C++, Compaq C++, Intel C++ + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%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. + +%prep +%setup -q -n libsigc++-%{version} + +%build +%meson \ + -Dbuild-documentation=true + +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/*.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/sigc++-%{apiver} +%{_includedir}/sigc++-%{apiver}/sigc++/* +%{_libdir}/sigc++-%{apiver}/include/sigc++config.h +%{_libdir}/*.so +%dir %{_libdir}/sigc++-%{apiver} +#%{_libdir}/sigc++-%{apiver} +%{_libdir}/pkgconfig/*.pc +%{_datadir}/devhelp/books/libsigc++-2.0/libsigc++-2.0.devhelp2 +%dir %{_defaultdocdir}/libsigc++-%{apiver} +%{_defaultdocdir}/libsigc++-%{apiver}/* +%doc ChangeLog README NEWS + +%changelog +* Sun Feb 07 2021 Silvan Calarco 2.10.6-1mamba +- update to 2.10.6 + +* Wed Sep 09 2020 Automatic Build System 2.10.3-1mamba +- automatic update by autodist + +* Sun Aug 04 2019 Automatic Build System 2.10.2-1mamba +- automatic update by autodist + +* Wed Oct 19 2016 Silvan Calarco 2.10.0-1mamba +- update to 2.10.0 + +* Sat Apr 30 2016 Silvan Calarco 2.8.0-1mamba +- update to 2.8.0 + +* Fri Dec 25 2015 Silvan Calarco 2.6.2-2mamba +- rebuilt with gcc 5.3.0 + +* Sun Nov 29 2015 Silvan Calarco 2.6.2-1mamba +- update to 2.6.2 + +* Tue Mar 10 2015 Automatic Build System 2.4.1-1mamba +- automatic update by autodist + +* Tue Sep 16 2014 Automatic Build System 2.4.0-1mamba +- automatic version update by autodist + +* Sat Aug 02 2014 Automatic Build System 2.3.2-1mamba +- automatic update by autodist + +* Thu Oct 18 2012 Automatic Build System 2.3.1-1mamba +- automatic version update by autodist + +* Tue Sep 25 2012 Automatic Build System 2.2.11-1mamba +- update to 2.2.11 + +* Mon Aug 08 2011 Automatic Build System 2.2.10-1mamba +- automatic version update by autodist + +* Tue Mar 08 2011 Automatic Build System 2.2.9-1mamba +- automatic update by autodist + +* Mon Oct 25 2010 Silvan Calarco 2.2.8-2mamba +- rebuilt to add pkgconfig provides + +* Fri Jun 04 2010 Automatic Build System 2.2.8-1mamba +- automatic update to 2.2.8 by autodist + +* Mon May 31 2010 Silvan Calarco 2.2.7-1mamba +- update to 2.2.7 +- package renamed from libsigc++2 + +* Tue Sep 29 2009 Automatic Build System 2.2.4.2-1mamba +- automatic update by autodist + +* Wed Jan 21 2009 Silvan Calarco 2.2.3-1mamba +- automatic update by autodist + +* Sun Sep 14 2008 Silvan Calarco 2.2.2-1mamba +- update to 2.2.2 + +* Wed Jun 18 2008 Silvan Calarco 2.0.18-2mamba +- fixed descriptions formatting +- updated maintainer + +* Wed Jun 18 2008 Tiziana Ferro 2.0.18-1mamba +- update to 2.0.18 +- add buildrequirements + +* Thu Jun 15 2006 Stefano Cotta Ramusino 2.0.17-1qilnx +- update to version 2.0.17 by autospec + +* Thu Dec 16 2004 Davide Madrisan 2.0.3-2qilnx +- specfile cleanups +- conditionally remove the build root directory +- own `[lib]sigc-2.0' directories (devel package) +- package rebuild and moved to QiLinux official repository + +* Wed Dec 15 2004 Matteo Bernasconi 2.0.3-1qilnx +- first build