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