7e33f2
# first two digits of version
7e33f2
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
7e33f2
7e33f2
Name:           libsigc++20
7e33f2
Version:        2.10.0
7cd1a1
Release:        6%{?dist}
7e33f2
Summary:        Typesafe signal framework for C++
7e33f2
7e33f2
License:        LGPLv2+
7e33f2
URL:            http://libsigc.sourceforge.net/
7e33f2
Source0:        http://download.gnome.org/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz
7e33f2
7e33f2
BuildRequires:  m4
7e33f2
BuildRequires:  perl-interpreter
7e33f2
BuildRequires:  perl(Getopt::Long)
7e33f2
7e33f2
%description
7e33f2
This library implements a full callback system for use in widget libraries,
7e33f2
abstract interfaces, and general programming. Originally part of the Gtk--
7e33f2
widget set, libsigc++20 is now a separate library to provide for more general
7e33f2
use. It is the most complete library of its kind with the ability to connect
7e33f2
an abstract callback to a class method, function, or function object. It
7e33f2
contains adaptor classes for connection of dissimilar callbacks and has an
7e33f2
ease of use unmatched by other C++ callback libraries.
7e33f2
7e33f2
Package GTK-- (gtkmm), which is a C++ binding to the GTK+ library,
7e33f2
starting with version 1.1.2, uses libsigc++20.
7e33f2
7e33f2
7e33f2
%package devel
7e33f2
Summary:        Development tools for the typesafe signal framework for C++
7e33f2
Requires:       %{name}%{?_isa} = %{version}-%{release}
7e33f2
7e33f2
%description devel
7e33f2
The %{name}-devel package contains the static libraries and header files
7e33f2
needed for development with %{name}.
7e33f2
7e33f2
7e33f2
%package        doc
7e33f2
Summary:        Documentation for %{name}, includes full API docs
7e33f2
BuildArch:      noarch
7e33f2
Requires:       %{name} = %{version}-%{release}
7e33f2
7e33f2
%description    doc
7e33f2
This package contains the full API documentation for %{name}.
7e33f2
7e33f2
7e33f2
%prep
7e33f2
%setup -q -n libsigc++-%{version}
7e33f2
7e33f2
7e33f2
%build
7e33f2
%configure
7e33f2
make %{?_smp_mflags}
7e33f2
7e33f2
7e33f2
%install
7e33f2
%make_install
7e33f2
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
7e33f2
7e33f2
7e33f2
%post -p /sbin/ldconfig
7e33f2
7e33f2
%postun -p /sbin/ldconfig
7e33f2
7e33f2
7e33f2
%files
7e33f2
%license COPYING
7e33f2
%doc AUTHORS README NEWS
7e33f2
%{_libdir}/*.so.*
7e33f2
7e33f2
%files devel
7e33f2
%{_includedir}/*
7e33f2
%{_libdir}/sigc++-2.0/
7e33f2
%{_libdir}/pkgconfig/*.pc
7e33f2
%{_libdir}/*.so
7e33f2
7e33f2
%files doc
7e33f2
%doc %{_datadir}/doc/libsigc++-2.0/
7e33f2
# according guidelines, we can co-own this, since devhelp is not required
7e33f2
# for accessing documentation
7e33f2
%doc %{_datadir}/devhelp/
7e33f2
7e33f2
7e33f2
%changelog
7cd1a1
* Tue Oct 13 2020 Tomas Popela <tpopela@redhat.com> - 2.10.0-6
7cd1a1
- Rebuild for the annobin fixes
7cd1a1
- Resolves: rhbz#1704059
7cd1a1
7e33f2
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-5
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7e33f2
7e33f2
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-4
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7e33f2
7e33f2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-3
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7e33f2
7e33f2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-2
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7e33f2
7e33f2
* Tue Sep 20 2016 Kalev Lember <klember@redhat.com> - 2.10.0-1
7e33f2
- Update to 2.10.0
7e33f2
- Don't set group tags
7e33f2
- Use make_install macro
7e33f2
7e33f2
* Mon Jul 18 2016 Kalev Lember <klember@redhat.com> - 2.9.3-1
7e33f2
- Update to 2.9.3
7e33f2
7e33f2
* Wed Mar 16 2016 Kalev Lember <klember@redhat.com> - 2.8.0-1
7e33f2
- Update to 2.8.0
7e33f2
7e33f2
* Fri Mar 11 2016 Kalev Lember <klember@redhat.com> - 2.7.2-1
7e33f2
- Update to 2.7.2
7e33f2
7e33f2
* Fri Mar 04 2016 Kalev Lember <klember@redhat.com> - 2.7.1-1
7e33f2
- Update to 2.7.1
7e33f2
7e33f2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-2
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7e33f2
7e33f2
* Fri Nov 13 2015 Kalev Lember <klember@redhat.com> - 2.6.2-1
7e33f2
- Update to 2.6.2
7e33f2
7e33f2
* Sat Sep 26 2015 Kalev Lember <klember@redhat.com> - 2.6.1-1
7e33f2
- Update to 2.6.1
7e33f2
7e33f2
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 2.6.0-1
7e33f2
- Update to 2.6.0
7e33f2
- Use license macro for COPYING
7e33f2
7e33f2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-3
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7e33f2
7e33f2
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.1-2
7e33f2
- Rebuilt for GCC 5 C++11 ABI change
7e33f2
7e33f2
* Mon Mar 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.1-1
7e33f2
- Update to 2.4.1
7e33f2
7e33f2
* Mon Sep 15 2014 Kalev Lember <kalevlember@gmail.com> - 2.4.0-1
7e33f2
- Update to 2.4.0
7e33f2
7e33f2
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7e33f2
7e33f2
* Sat Aug 02 2014 Kalev Lember <kalevlember@gmail.com> - 2.3.2-1
7e33f2
- Update to 2.3.2
7e33f2
- Don't include huge ChangeLog file
7e33f2
- Tighten deps with the _isa macro
7e33f2
7e33f2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-4
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7e33f2
7e33f2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-3
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7e33f2
7e33f2
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-2
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7e33f2
7e33f2
* Sat Nov 24 2012 Kalev Lember <kalevlember@gmail.com> - 2.3.1-1
7e33f2
- Update to 2.3.1
7e33f2
7e33f2
* Sun Sep 23 2012 Kalev Lember <kalevlember@gmail.com> - 2.2.11-1
7e33f2
- Update to 2.2.11
7e33f2
7e33f2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.10-3
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7e33f2
7e33f2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.10-2
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7e33f2
7e33f2
* Mon Jul 25 2011 Kalev Lember <kalevlember@gmail.com> - 2.2.10-1
7e33f2
- Update to 2.2.10
7e33f2
- Cleaned up the spec file for modern rpmbuild
7e33f2
7e33f2
* Wed Mar 09 2011 Kalev Lember <kalev@smartlink.ee> - 2.2.9-1
7e33f2
- Update to 2.2.9
7e33f2
- Dropped upstreamed libsigc++20-gcc46.patch
7e33f2
7e33f2
* Tue Mar 01 2011 Kalev Lember <kalev@smartlink.ee> - 2.2.8-4
7e33f2
- Spec cleanup
7e33f2
- Use macro for automatically calculating ftp directory name with
7e33f2
  first two digits of tarball version.
7e33f2
- Dropped R: pkgconfig from -devel as it's now automatically added by rpm
7e33f2
- Own /usr/share/doc/libsigc++-2.0/ dir and mark /usr/share/devhelp/ as %%doc
7e33f2
- Require base package from -doc subpackage
7e33f2
- Drop unneeded doxygen and graphviz BRs
7e33f2
7e33f2
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.2.8-3
7e33f2
- fix documentation location (RHBZ #678981)
7e33f2
- co-own /usr/share/devhelp
7e33f2
7e33f2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.8-2
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7e33f2
7e33f2
* Fri Feb  4 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.2.8-1
7e33f2
- upstream 2.2.8
7e33f2
- fix compilation against GCC 4.6 (GNOME BZ #641471)
7e33f2
7e33f2
* Tue Sep  8 2009 Denis Leroy <denis@poolshark.org> - 2.2.4.2-1
7e33f2
- Update to upstream version 2.2.4.2
7e33f2
7e33f2
* Sat Aug 29 2009 Denis Leroy <denis@poolshark.org> - 2.2.4.1-1
7e33f2
- Update to upstream 2.2.4.1
7e33f2
- Added devhelp book and necessary BRs
7e33f2
- Split documentation into new subpackage
7e33f2
- Moved documentation to gtk-doc dir
7e33f2
7e33f2
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-4
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7e33f2
7e33f2
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-3
7e33f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7e33f2
7e33f2
* Thu Dec 11 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.2.2-2
7e33f2
- Rebuild for pkgconfig provides
7e33f2
7e33f2
* Tue Mar 11 2008 Denis Leroy <denis@poolshark.org> - 2.2.2-1
7e33f2
- Update to upstream 2.2.2 version
7e33f2
7e33f2
* Sun Feb 24 2008 Denis Leroy <denis@poolshark.org> - 2.2.0-1
7e33f2
- Update to 2.2.0
7e33f2
- gcc 4.3 patch upstreamed
7e33f2
7e33f2
* Thu Feb  7 2008 Lubomir Kundrak <lkundrak@redhat.com> 2.0.18-3
7e33f2
- Rebuild with gcc4.3
7e33f2
7e33f2
* Thu Jan  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.18-2
7e33f2
- add test case for gcc4.3 failure conditional
7e33f2
7e33f2
* Fri Sep 14 2007 Denis Leroy <denis@poolshark.org> - 2.0.18-1
7e33f2
- Update to 2.0.18
7e33f2
7e33f2
* Fri Aug 10 2007 Denis Leroy <denis@poolshark.org> - 2.0.17-3
7e33f2
- Updated License tag as per new guidelines
7e33f2
7e33f2
* Mon Aug 28 2006 Denis Leroy <denis@poolshark.org> - 2.0.17-2
7e33f2
- FE6 Rebuild
7e33f2
7e33f2
* Tue Feb 28 2006 Denis Leroy <denis@poolshark.org> - 2.0.17-1
7e33f2
- Upgrade to version 2.0.17
7e33f2
- Added optional macro to compile static libs (use '--with static')
7e33f2
7e33f2
* Fri Nov 25 2005 Denis Leroy <denis@poolshark.org> - 2.0.16-2
7e33f2
- Disabled static libraries
7e33f2
- Was missing copy of GPL licence
7e33f2
7e33f2
* Sun Sep 18 2005 Denis Leroy <denis@poolshark.org> - 2.0.16-1
7e33f2
- Upgrade to version 2.0.16
7e33f2
7e33f2
* Sat Apr  9 2005 Denis Leroy <denis@poolshark.org> - 2.0.11-1
7e33f2
- Upgrade to version 2.0.11
7e33f2
7e33f2
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
7e33f2
- rebuilt
7e33f2
7e33f2
* Sat Jan 15 2005 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0:2.0.6-1
7e33f2
- Update to 2.0.6
7e33f2
7e33f2
* Sun Jun 27 2004 Denis Leroy <denis@poolshark.org> - 0:2.0.3-0.fdr.1
7e33f2
- Update to 2.0.3
7e33f2
- Merged deps from FC2 sigc++ 1.2.5 spec
7e33f2
- Moved docs to regular directory
7e33f2
7e33f2
* Sat Apr 15 2000 Dmitry V. Levin <ldv@fandra.org>
7e33f2
- updated Url and Source fileds
7e33f2
- 1.0.0 stable release
7e33f2
7e33f2
* Sat Jan 22 2000 Dmitry V. Levin <ldv@fandra.org>
7e33f2
- filtering out -fno-rtti and -fno-exceptions options from $RPM_OPT_FLAGS
7e33f2
- minor install section cleanup
7e33f2
7e33f2
* Wed Jan 19 2000 Allan Rae <rae@lyx.org>
7e33f2
- autogen just creates configure, not runs it, so cleaned that up too.
7e33f2
7e33f2
* Wed Jan 19 2000 Dmitry V. Levin <ldv@fandra.org>
7e33f2
- minor attr fix
7e33f2
- removed unnecessary curly braces
7e33f2
- fixed Herbert's adjustement
7e33f2
7e33f2
* Sat Jan 15 2000 Dmitry V. Levin <ldv@fandra.org>
7e33f2
- minor package dependence fix
7e33f2
7e33f2
* Sat Dec 25 1999 Herbert Valerio Riedel <hvr@gnu.org>
7e33f2
- fixed typo of mine
7e33f2
- added traditional CUSTOM_RELEASE stuff
7e33f2
- added SMP support
7e33f2
7e33f2
* Thu Dec 23 1999 Herbert Valerio Riedel <hvr@gnu.org>
7e33f2
- adjusted spec file to get tests.Makefile and examples.Makefile from scripts/
7e33f2
7e33f2
* Fri Oct 22 1999 Dmitry V. Levin <ldv@fandra.org>
7e33f2
- split into three packages: libsigc++, libsigc++-devel and libsigc++-examples
7e33f2
7e33f2
* Thu Aug 12 1999 Karl Nelson <kenelson@ece.ucdavis.edu>
7e33f2
- updated source field and merged conflicts between revisions.
7e33f2
7e33f2
* Tue Aug 10 1999 Dmitry V. Levin <ldv@fandra.org>
7e33f2
- updated Prefix and BuildRoot fields
7e33f2
7e33f2
* Thu Aug  5 1999 Herbert Valerio Riedel <hvr@hvrlab.dhs.org>
7e33f2
- made sure configure works on all alphas
7e33f2
7e33f2
* Wed Jul  7 1999 Karl Nelson <kenelson@ece.ucdavis.edu>
7e33f2
- Added autoconf macro for sigc.
7e33f2
7e33f2
* Fri Jun 11 1999 Karl Nelson <kenelson@ece.ucdavis.edu>
7e33f2
- Made into a .in to keep version field up to date
7e33f2
- Still need to do release by hand
7e33f2
7e33f2
* Mon Jun  7 1999 Dmitry V. Levin <ldv@fandra.org>
7e33f2
- added Vendor and Packager fields
7e33f2
7e33f2
* Sat Jun  5 1999 Dmitry V. Levin <ldv@fandra.org>
7e33f2
- updated to 0.8.0
7e33f2
7e33f2
* Tue Jun  1 1999 Dmitry V. Levin <ldv@fandra.org>
7e33f2
- initial revision