Summary: The Typesafe Signal Framework for C++.
Name: libsigc++
Version: 1.2.5
Release: 4%{?dist}
License: LGPL
Group: System Environment/Libraries
URL: http://libsigc.sourceforge.net/
Source: ftp://download.sourceforge.net/pub/sourceforge/libsigc/%{name}-%{version}.tar.gz
Patch1: configure.in.diff
Patch4: examples.diff
Patch5: makefile.diff
Patch6: libsigc++-pcin.diff
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: gcc-c++, m4
BuildRequires: autoconf, automake, libtool
%description
This library implements a full callback system for use in widget libraries,
abstract interfaces, and general programming. Originally part of the Gtk--
widget set, libsigc++ is now a seperate library to provide for more general
use. It is the most complete library of its kind with the ablity 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 gtkmm2, which is a C++ binding to the GTK2 library, uses libsigc++.
%package devel
Summary: Development tools for the Typesafe Signal Framework for C++.
Group: Development/Libraries
Requires: %{name} = %{version}, pkgconfig
%description devel
The libsigc++-devel package contains the static libraries and header files
needed for development with libsigc++.
%prep
%setup -q
%patch1
%patch4
%patch5
%patch6
%build
autoreconf -fi
%configure
make %{_smp_mflags}
%install
rm -rf %{buildroot}
%makeinstall
# Clean up the docs
find doc -name "Makefile*" | xargs rm -f
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS COPYING.LIB README IDEAS NEWS ChangeLog TODO
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%doc doc/*
%{_includedir}/*
%{_libdir}/*.a
%exclude %{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/sigc++*
%changelog
* Thu Nov 12 2003 Matthias Saou - 1.2.5-2.fr
- Rebuild for Fedora Core 1.
* Fri May 16 2003 Matthias Saou
- Update to 1.2.5.
* Sun Apr 27 2003 Matthias Saou
- Update to 1.2.4, and fork 1.0.4 as libsigc++10.
* Fri Apr 4 2003 Matthias Saou
- Rebuilt for Red Hat Linux 9.
- Exclude .la file.
* Tue Oct 1 2002 Matthias Saou
- Update to 1.0.4.
- Spec file cleanup.
* Mon Aug 06 2001 Havoc Pennington
- Obsolete libsigc++-examples, #50890
* Wed Jul 18 2001 Florian La Roche
- remove Package: line and fix spelling error
* Thu May 31 2001 Tim Powers
- moved examples into the devel package
* Mon May 21 2001 Tim Powers
- updated to 1.0.3
* Wed Sep 13 2000 Tim Powers
- update to 1.0.1
* Wed Aug 9 2000 Tim Powers
- added Serial so that we can upgrade from the Helix packages
* Tue Aug 1 2000 Tim Powers
- fixed bug #15056
* Mon Jul 24 2000 Prospector
- rebuilt
* Mon Jul 10 2000 Tim Powers
- rebuilt
* Mon Jul 03 2000 Prospector
- automatic rebuild
* Fri May 12 2000 Tim Powers
- rebuilt for Powertools 7.0
* Sat Apr 15 2000 Dmitry V. Levin
- updated Url and Source fileds
- 1.0.0 stable release
* Sat Jan 22 2000 Dmitry V. Levin
- filtering out -fno-rtti and -fno-exceptions options from $RPM_OPT_FLAGS
- minor install section cleanup
* Wed Jan 19 2000 Allan Rae
- autogen just creates configure, not runs it, so cleaned that up too.
* Wed Jan 19 2000 Dmitry V. Levin
- minor attr fix
- removed unnecessary curly braces
- fixed Herbert's adjustement
* Sat Jan 15 2000 Dmitry V. Levin
- minor package dependence fix
* Sat Dec 25 1999 Herbert Valerio Riedel
- fixed typo of mine
- added traditional CUSTOM_RELEASE stuff
- added SMP support
* Thu Dec 23 1999 Herbert Valerio Riedel
- adjusted spec file to get tests.Makefile and examples.Makefile from scripts/
* Fri Oct 22 1999 Dmitry V. Levin
- split into three packages: %name, %name-devel and %name-examples
* Thu Aug 12 1999 Karl Nelson
- updated source field and merged conflicts between revisions.
* Tue Aug 10 1999 Dmitry V. Levin
- updated Prefix and BuildRoot fields
* Thu Aug 5 1999 Herbert Valerio Riedel
- made sure configure works on all alphas
* Wed Jul 7 1999 Karl Nelson
- Added autoconf macro for sigc.
* Fri Jun 11 1999 Karl Nelson
- Made into a .in to keep version field up to date
- Still need to do release by hand
* Mon Jun 7 1999 Dmitry V. Levin
- added Vendor and Packager fields
* Sat Jun 5 1999 Dmitry V. Levin
- updated to 0.8.0
* Tue Jun 1 1999 Dmitry V. Levin
- initial revision