From d22a3af6eaddb6dd69dc2c4f9173c24167a26670 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:46:53 +0100 Subject: [PATCH] automatic version update by autodist [release 2.3.1-1mamba;Thu Oct 18 2012] --- README.md | 16 +++++- libsigc++.spec | 142 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 libsigc++.spec diff --git a/README.md b/README.md index 84d6f40..5d5be59 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ -# libsigcPlusPlus +# libsigc++ + +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++.spec b/libsigc++.spec new file mode 100644 index 0000000..d77edeb --- /dev/null +++ b/libsigc++.spec @@ -0,0 +1,142 @@ +%define majversion %(echo %version | cut -d. -f 1-2) +%define apiver %(echo %version | cut -d. -f 1).0 + +Name: libsigc++ +Version: 2.3.1 +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 +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Provides: libsigc++2 +Obsoletes: libsigc++2 + +%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} +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 need for development. + +%prep +%setup -q + +%build +%configure \ + --enable-static +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/*.so.* +%doc AUTHORS COPYING README NEWS TODO + +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/sigc++-%{apiver} +%{_includedir}/sigc++-%{apiver}/sigc++/* +%{_libdir}/sigc++-%{apiver}/include/sigc++config.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_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 + +%changelog +* 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