# first two digits of version %define release_version %(echo %{version} | awk -F. '{print $1"."$2}') Name: libsigc++20 Version: 2.10.0 Release: 1%{?dist} Summary: Typesafe signal framework for C++ License: LGPLv2+ URL: http://libsigc.sourceforge.net/ Source0: http://download.gnome.org/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz BuildRequires: m4 BuildRequires: perl BuildRequires: perl(Getopt::Long) %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++20 is now a separate library to provide for more general use. It is the most complete library of its kind with the ability 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 GTK-- (gtkmm), which is a C++ binding to the GTK+ library, starting with version 1.1.2, uses libsigc++20. %package devel Summary: Development tools for the typesafe signal framework for C++ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains the static libraries and header files needed for development with %{name}. %package doc Summary: Documentation for %{name}, includes full API docs BuildArch: noarch Requires: %{name} = %{version}-%{release} %description doc This package contains the full API documentation for %{name}. %prep %setup -q -n libsigc++-%{version} %build %configure make %{?_smp_mflags} %install %make_install find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license COPYING %doc AUTHORS README NEWS %{_libdir}/*.so.* %files devel %{_includedir}/* %{_libdir}/sigc++-2.0/ %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %files doc %doc %{_datadir}/doc/libsigc++-2.0/ # according guidelines, we can co-own this, since devhelp is not required # for accessing documentation %doc %{_datadir}/devhelp/ %changelog * Tue Sep 20 2016 Kalev Lember - 2.10.0-1 - Update to 2.10.0 - Resolves: #1425369 * Fri Jan 24 2014 Daniel Mach - 2.3.1-4 - Mass rebuild 2014-01-24 * Fri Dec 27 2013 Daniel Mach - 2.3.1-3 - Mass rebuild 2013-12-27 * Thu Feb 14 2013 Fedora Release Engineering - 2.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Nov 24 2012 Kalev Lember - 2.3.1-1 - Update to 2.3.1 * Sun Sep 23 2012 Kalev Lember - 2.2.11-1 - Update to 2.2.11 * Thu Jul 19 2012 Fedora Release Engineering - 2.2.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 2.2.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jul 25 2011 Kalev Lember - 2.2.10-1 - Update to 2.2.10 - Cleaned up the spec file for modern rpmbuild * Wed Mar 09 2011 Kalev Lember - 2.2.9-1 - Update to 2.2.9 - Dropped upstreamed libsigc++20-gcc46.patch * Tue Mar 01 2011 Kalev Lember - 2.2.8-4 - Spec cleanup - Use macro for automatically calculating ftp directory name with first two digits of tarball version. - Dropped R: pkgconfig from -devel as it's now automatically added by rpm - Own /usr/share/doc/libsigc++-2.0/ dir and mark /usr/share/devhelp/ as %%doc - Require base package from -doc subpackage - Drop unneeded doxygen and graphviz BRs * Mon Feb 21 2011 Haïkel Guémar - 2.2.8-3 - fix documentation location (RHBZ #678981) - co-own /usr/share/devhelp * Tue Feb 08 2011 Fedora Release Engineering - 2.2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Feb 4 2011 Haïkel Guémar - 2.2.8-1 - upstream 2.2.8 - fix compilation against GCC 4.6 (GNOME BZ #641471) * Tue Sep 8 2009 Denis Leroy - 2.2.4.2-1 - Update to upstream version 2.2.4.2 * Sat Aug 29 2009 Denis Leroy - 2.2.4.1-1 - Update to upstream 2.2.4.1 - Added devhelp book and necessary BRs - Split documentation into new subpackage - Moved documentation to gtk-doc dir * Sat Jul 25 2009 Fedora Release Engineering - 2.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 2.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 11 2008 Mamoru Tasaka - 2.2.2-2 - Rebuild for pkgconfig provides * Tue Mar 11 2008 Denis Leroy - 2.2.2-1 - Update to upstream 2.2.2 version * Sun Feb 24 2008 Denis Leroy - 2.2.0-1 - Update to 2.2.0 - gcc 4.3 patch upstreamed * Thu Feb 7 2008 Lubomir Kundrak 2.0.18-3 - Rebuild with gcc4.3 * Thu Jan 3 2008 Tom "spot" Callaway 2.0.18-2 - add test case for gcc4.3 failure conditional * Fri Sep 14 2007 Denis Leroy - 2.0.18-1 - Update to 2.0.18 * Fri Aug 10 2007 Denis Leroy - 2.0.17-3 - Updated License tag as per new guidelines * Mon Aug 28 2006 Denis Leroy - 2.0.17-2 - FE6 Rebuild * Tue Feb 28 2006 Denis Leroy - 2.0.17-1 - Upgrade to version 2.0.17 - Added optional macro to compile static libs (use '--with static') * Fri Nov 25 2005 Denis Leroy - 2.0.16-2 - Disabled static libraries - Was missing copy of GPL licence * Sun Sep 18 2005 Denis Leroy - 2.0.16-1 - Upgrade to version 2.0.16 * Sat Apr 9 2005 Denis Leroy - 2.0.11-1 - Upgrade to version 2.0.11 * Fri Apr 7 2005 Michael Schwendt - rebuilt * Sat Jan 15 2005 Rick L Vinyard Jr - 0:2.0.6-1 - Update to 2.0.6 * Mon Jun 27 2004 Denis Leroy - 0:2.0.3-0.fdr.1 - Update to 2.0.3 - Merged deps from FC2 sigc++ 1.2.5 spec - Moved docs to regular directory * 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: libsigc++, libsigc++-devel and libsigc++-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