2b963d
# first two digits of version
2b963d
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
2b963d
2b963d
Name:           libsigc++20
2b963d
Version:        2.10.7
2b963d
Release:        2%{?dist}
2b963d
Summary:        Typesafe signal framework for C++
2b963d
2b963d
License:        LGPLv2+
2b963d
URL:            https://github.com/libsigcplusplus/libsigcplusplus
2b963d
Source0:        https://download.gnome.org/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz
2b963d
2b963d
BuildRequires:  docbook-style-xsl
2b963d
BuildRequires:  doxygen
2b963d
BuildRequires:  gcc-c++
2b963d
BuildRequires:  libxslt
2b963d
BuildRequires:  m4
2b963d
BuildRequires:  meson
2b963d
BuildRequires:  perl(Getopt::Long)
2b963d
BuildRequires:  perl-interpreter
2b963d
2b963d
%description
2b963d
libsigc++ implements a typesafe callback system for standard C++. It
2b963d
allows you to define signals and to connect those signals to any
2b963d
callback function, either global or a member function, regardless of
2b963d
whether it is static or virtual.
2b963d
2b963d
libsigc++ is used by gtkmm to wrap the GTK+ signal system. It does not
2b963d
depend on GTK+ or gtkmm.
2b963d
2b963d
2b963d
%package devel
2b963d
Summary:        Development tools for the typesafe signal framework for C++
2b963d
Requires:       %{name}%{?_isa} = %{version}-%{release}
2b963d
2b963d
%description devel
2b963d
The %{name}-devel package contains the static libraries and header files
2b963d
needed for development with %{name}.
2b963d
2b963d
2b963d
%package        doc
2b963d
Summary:        Documentation for %{name}, includes full API docs
2b963d
BuildArch:      noarch
2b963d
Requires:       %{name} = %{version}-%{release}
2b963d
2b963d
%description    doc
2b963d
This package contains the full API documentation for %{name}.
2b963d
2b963d
2b963d
%prep
2b963d
%setup -q -n libsigc++-%{version}
2b963d
2b963d
chmod -x NEWS
2b963d
2b963d
2b963d
%build
2b963d
%meson -Dbuild-documentation=true
2b963d
%meson_build
2b963d
2b963d
2b963d
%install
2b963d
%meson_install
2b963d
2b963d
2b963d
%files
2b963d
%license COPYING
2b963d
%doc AUTHORS README NEWS
2b963d
%{_libdir}/libsigc-2.0.so.0*
2b963d
2b963d
%files devel
2b963d
%{_includedir}/*
2b963d
%{_libdir}/sigc++-2.0/
2b963d
%{_libdir}/pkgconfig/*.pc
2b963d
%{_libdir}/libsigc-2.0.so
2b963d
2b963d
%files doc
2b963d
%doc %{_datadir}/doc/libsigc++-2.0/
2b963d
# according guidelines, we can co-own this, since devhelp is not required
2b963d
# for accessing documentation
2b963d
%doc %{_datadir}/devhelp/
2b963d
2b963d
2b963d
%changelog
2b963d
* Tue Aug 24 2021 Kalev Lember <klember@redhat.com> - 2.10.7-2
2b963d
- Fix NEWS file to not be executable
2b963d
2b963d
* Tue Aug 24 2021 Kalev Lember <klember@redhat.com> - 2.10.7-1
2b963d
- Update to 2.10.7
2b963d
2b963d
* Mon Aug 23 2021 Brian Stinson <bstinson@redhat.com> - 2.10.6-4
2b963d
- Rebuilt for IMA sigs, glibc 2.34, and aarch64 flags
2b963d
  Related: rhbz#1991688
2b963d
2b963d
* Fri Apr 16 2021 Brian Stinson <bstinson@redhat.com> - 2.10.6-3
2b963d
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
2b963d
2b963d
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.6-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2b963d
2b963d
* Wed Nov 25 2020 Kalev Lember <klember@redhat.com> - 2.10.6-1
2b963d
- Update to 2.10.6
2b963d
2b963d
* Mon Sep 28 2020 Kalev Lember <klember@redhat.com> - 2.10.4-1
2b963d
- Update to 2.10.4
2b963d
- Switch to meson build system
2b963d
- Update upstream URL
2b963d
- Tighten soname globs
2b963d
2b963d
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.3-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2b963d
2b963d
* Fri Mar 27 2020 Kalev Lember <klember@redhat.com> - 2.10.3-1
2b963d
- Update to 2.10.3
2b963d
2b963d
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.2-3
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2b963d
2b963d
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.2-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2b963d
2b963d
* Wed Jun 12 2019 Kalev Lember <klember@redhat.com> - 2.10.2-1
2b963d
- Update to 2.10.2
2b963d
2b963d
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.1-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2b963d
2b963d
* Wed Oct 31 2018 Kalev Lember <klember@redhat.com> - 2.10.1-1
2b963d
- Update to 2.10.1
2b963d
- Remove ldconfig scriptlets
2b963d
2b963d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-6
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2b963d
2b963d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-5
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2b963d
2b963d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-4
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2b963d
2b963d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-3
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2b963d
2b963d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2b963d
2b963d
* Tue Sep 20 2016 Kalev Lember <klember@redhat.com> - 2.10.0-1
2b963d
- Update to 2.10.0
2b963d
- Don't set group tags
2b963d
- Use make_install macro
2b963d
2b963d
* Mon Jul 18 2016 Kalev Lember <klember@redhat.com> - 2.9.3-1
2b963d
- Update to 2.9.3
2b963d
2b963d
* Wed Mar 16 2016 Kalev Lember <klember@redhat.com> - 2.8.0-1
2b963d
- Update to 2.8.0
2b963d
2b963d
* Fri Mar 11 2016 Kalev Lember <klember@redhat.com> - 2.7.2-1
2b963d
- Update to 2.7.2
2b963d
2b963d
* Fri Mar 04 2016 Kalev Lember <klember@redhat.com> - 2.7.1-1
2b963d
- Update to 2.7.1
2b963d
2b963d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2b963d
2b963d
* Fri Nov 13 2015 Kalev Lember <klember@redhat.com> - 2.6.2-1
2b963d
- Update to 2.6.2
2b963d
2b963d
* Sat Sep 26 2015 Kalev Lember <klember@redhat.com> - 2.6.1-1
2b963d
- Update to 2.6.1
2b963d
2b963d
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 2.6.0-1
2b963d
- Update to 2.6.0
2b963d
- Use license macro for COPYING
2b963d
2b963d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-3
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2b963d
2b963d
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.1-2
2b963d
- Rebuilt for GCC 5 C++11 ABI change
2b963d
2b963d
* Mon Mar 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.1-1
2b963d
- Update to 2.4.1
2b963d
2b963d
* Mon Sep 15 2014 Kalev Lember <kalevlember@gmail.com> - 2.4.0-1
2b963d
- Update to 2.4.0
2b963d
2b963d
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2b963d
2b963d
* Sat Aug 02 2014 Kalev Lember <kalevlember@gmail.com> - 2.3.2-1
2b963d
- Update to 2.3.2
2b963d
- Don't include huge ChangeLog file
2b963d
- Tighten deps with the _isa macro
2b963d
2b963d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-4
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2b963d
2b963d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-3
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2b963d
2b963d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2b963d
2b963d
* Sat Nov 24 2012 Kalev Lember <kalevlember@gmail.com> - 2.3.1-1
2b963d
- Update to 2.3.1
2b963d
2b963d
* Sun Sep 23 2012 Kalev Lember <kalevlember@gmail.com> - 2.2.11-1
2b963d
- Update to 2.2.11
2b963d
2b963d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.10-3
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2b963d
2b963d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.10-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2b963d
2b963d
* Mon Jul 25 2011 Kalev Lember <kalevlember@gmail.com> - 2.2.10-1
2b963d
- Update to 2.2.10
2b963d
- Cleaned up the spec file for modern rpmbuild
2b963d
2b963d
* Wed Mar 09 2011 Kalev Lember <kalev@smartlink.ee> - 2.2.9-1
2b963d
- Update to 2.2.9
2b963d
- Dropped upstreamed libsigc++20-gcc46.patch
2b963d
2b963d
* Tue Mar 01 2011 Kalev Lember <kalev@smartlink.ee> - 2.2.8-4
2b963d
- Spec cleanup
2b963d
- Use macro for automatically calculating ftp directory name with
2b963d
  first two digits of tarball version.
2b963d
- Dropped R: pkgconfig from -devel as it's now automatically added by rpm
2b963d
- Own /usr/share/doc/libsigc++-2.0/ dir and mark /usr/share/devhelp/ as %%doc
2b963d
- Require base package from -doc subpackage
2b963d
- Drop unneeded doxygen and graphviz BRs
2b963d
2b963d
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.2.8-3
2b963d
- fix documentation location (RHBZ #678981)
2b963d
- co-own /usr/share/devhelp
2b963d
2b963d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.8-2
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2b963d
2b963d
* Fri Feb  4 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.2.8-1
2b963d
- upstream 2.2.8
2b963d
- fix compilation against GCC 4.6 (GNOME BZ #641471)
2b963d
2b963d
* Tue Sep  8 2009 Denis Leroy <denis@poolshark.org> - 2.2.4.2-1
2b963d
- Update to upstream version 2.2.4.2
2b963d
2b963d
* Sat Aug 29 2009 Denis Leroy <denis@poolshark.org> - 2.2.4.1-1
2b963d
- Update to upstream 2.2.4.1
2b963d
- Added devhelp book and necessary BRs
2b963d
- Split documentation into new subpackage
2b963d
- Moved documentation to gtk-doc dir
2b963d
2b963d
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-4
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2b963d
2b963d
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-3
2b963d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2b963d
2b963d
* Thu Dec 11 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.2.2-2
2b963d
- Rebuild for pkgconfig provides
2b963d
2b963d
* Tue Mar 11 2008 Denis Leroy <denis@poolshark.org> - 2.2.2-1
2b963d
- Update to upstream 2.2.2 version
2b963d
2b963d
* Sun Feb 24 2008 Denis Leroy <denis@poolshark.org> - 2.2.0-1
2b963d
- Update to 2.2.0
2b963d
- gcc 4.3 patch upstreamed
2b963d
2b963d
* Thu Feb  7 2008 Lubomir Kundrak <lkundrak@redhat.com> 2.0.18-3
2b963d
- Rebuild with gcc4.3
2b963d
2b963d
* Thu Jan  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.18-2
2b963d
- add test case for gcc4.3 failure conditional
2b963d
2b963d
* Fri Sep 14 2007 Denis Leroy <denis@poolshark.org> - 2.0.18-1
2b963d
- Update to 2.0.18
2b963d
2b963d
* Fri Aug 10 2007 Denis Leroy <denis@poolshark.org> - 2.0.17-3
2b963d
- Updated License tag as per new guidelines
2b963d
2b963d
* Mon Aug 28 2006 Denis Leroy <denis@poolshark.org> - 2.0.17-2
2b963d
- FE6 Rebuild
2b963d
2b963d
* Tue Feb 28 2006 Denis Leroy <denis@poolshark.org> - 2.0.17-1
2b963d
- Upgrade to version 2.0.17
2b963d
- Added optional macro to compile static libs (use '--with static')
2b963d
2b963d
* Fri Nov 25 2005 Denis Leroy <denis@poolshark.org> - 2.0.16-2
2b963d
- Disabled static libraries
2b963d
- Was missing copy of GPL licence
2b963d
2b963d
* Sun Sep 18 2005 Denis Leroy <denis@poolshark.org> - 2.0.16-1
2b963d
- Upgrade to version 2.0.16
2b963d
2b963d
* Sat Apr  9 2005 Denis Leroy <denis@poolshark.org> - 2.0.11-1
2b963d
- Upgrade to version 2.0.11
2b963d
2b963d
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
2b963d
- rebuilt
2b963d
2b963d
* Sat Jan 15 2005 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0:2.0.6-1
2b963d
- Update to 2.0.6
2b963d
2b963d
* Sun Jun 27 2004 Denis Leroy <denis@poolshark.org> - 0:2.0.3-0.fdr.1
2b963d
- Update to 2.0.3
2b963d
- Merged deps from FC2 sigc++ 1.2.5 spec
2b963d
- Moved docs to regular directory
2b963d
2b963d
* Sat Apr 15 2000 Dmitry V. Levin <ldv@fandra.org>
2b963d
- updated Url and Source fileds
2b963d
- 1.0.0 stable release
2b963d
2b963d
* Sat Jan 22 2000 Dmitry V. Levin <ldv@fandra.org>
2b963d
- filtering out -fno-rtti and -fno-exceptions options from $RPM_OPT_FLAGS
2b963d
- minor install section cleanup
2b963d
2b963d
* Wed Jan 19 2000 Allan Rae <rae@lyx.org>
2b963d
- autogen just creates configure, not runs it, so cleaned that up too.
2b963d
2b963d
* Wed Jan 19 2000 Dmitry V. Levin <ldv@fandra.org>
2b963d
- minor attr fix
2b963d
- removed unnecessary curly braces
2b963d
- fixed Herbert's adjustement
2b963d
2b963d
* Sat Jan 15 2000 Dmitry V. Levin <ldv@fandra.org>
2b963d
- minor package dependence fix
2b963d
2b963d
* Sat Dec 25 1999 Herbert Valerio Riedel <hvr@gnu.org>
2b963d
- fixed typo of mine
2b963d
- added traditional CUSTOM_RELEASE stuff
2b963d
- added SMP support
2b963d
2b963d
* Thu Dec 23 1999 Herbert Valerio Riedel <hvr@gnu.org>
2b963d
- adjusted spec file to get tests.Makefile and examples.Makefile from scripts/
2b963d
2b963d
* Fri Oct 22 1999 Dmitry V. Levin <ldv@fandra.org>
2b963d
- split into three packages: libsigc++, libsigc++-devel and libsigc++-examples
2b963d
2b963d
* Thu Aug 12 1999 Karl Nelson <kenelson@ece.ucdavis.edu>
2b963d
- updated source field and merged conflicts between revisions.
2b963d
2b963d
* Tue Aug 10 1999 Dmitry V. Levin <ldv@fandra.org>
2b963d
- updated Prefix and BuildRoot fields
2b963d
2b963d
* Thu Aug  5 1999 Herbert Valerio Riedel <hvr@hvrlab.dhs.org>
2b963d
- made sure configure works on all alphas
2b963d
2b963d
* Wed Jul  7 1999 Karl Nelson <kenelson@ece.ucdavis.edu>
2b963d
- Added autoconf macro for sigc.
2b963d
2b963d
* Fri Jun 11 1999 Karl Nelson <kenelson@ece.ucdavis.edu>
2b963d
- Made into a .in to keep version field up to date
2b963d
- Still need to do release by hand
2b963d
2b963d
* Mon Jun  7 1999 Dmitry V. Levin <ldv@fandra.org>
2b963d
- added Vendor and Packager fields
2b963d
2b963d
* Sat Jun  5 1999 Dmitry V. Levin <ldv@fandra.org>
2b963d
- updated to 0.8.0
2b963d
2b963d
* Tue Jun  1 1999 Dmitry V. Levin <ldv@fandra.org>
2b963d
- initial revision