2007-01-12 17:13:42 +01:00
|
|
|
#
|
2009-02-06 18:00:52 +01:00
|
|
|
# spec file for package libsigc++2 (Version 2.2.3)
|
2007-01-12 17:13:42 +01:00
|
|
|
#
|
2009-02-06 18:00:52 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-12 17:13:42 +01:00
|
|
|
#
|
2008-09-15 00:58:19 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-12 17:13:42 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-02 22:18:26 +02:00
|
|
|
|
2007-01-12 17:13:42 +01:00
|
|
|
Name: libsigc++2
|
|
|
|
%define _name libsigc++
|
2007-01-23 01:52:34 +01:00
|
|
|
BuildRequires: gcc-c++
|
2009-02-06 18:00:52 +01:00
|
|
|
Version: 2.2.3
|
|
|
|
Release: 1
|
2007-01-12 17:13:42 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-04-02 22:18:26 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-12 17:13:42 +01:00
|
|
|
Summary: Typesafe Signal Framework for C++
|
2007-09-19 19:13:26 +02:00
|
|
|
Url: http://libsigc.sourceforge.net/
|
2007-01-12 17:13:42 +01:00
|
|
|
Source: %{_name}-%{version}.tar.bz2
|
2007-09-19 19:13:26 +02:00
|
|
|
AutoReqProv: on
|
2007-01-12 17:13:42 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This library implements a full callback system for use in widget
|
|
|
|
libraries, abstract interfaces, and general programming. 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Martin Schulze <mschulze@cvs.gnome.org>
|
|
|
|
Murray Cumming <murrayc@murrayc.com>
|
|
|
|
Cedric Gustin <cedric.gustin@swing.be>
|
|
|
|
Timothy M. Shead <tshead@k-3d.com> and James Lin <jameslin@vmware.com>
|
|
|
|
Damien Carbery <Damien.Carbery@Sun.COM>
|
|
|
|
Takashi Takekawa <takekawa@users.sourceforge.jp>
|
|
|
|
Andreas Rottmann <rottmann@users.sourceforge.net>
|
|
|
|
Karl Einar Nelson <kenelson@ece.ucdavis.edu>
|
|
|
|
|
|
|
|
%package devel
|
2008-04-02 22:18:26 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-12 17:13:42 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Summary: Typesafe Signal Framework for C++
|
|
|
|
Requires: %{name} = %{version} libstdc++-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This library implements a full callback system for use in widget
|
|
|
|
libraries, abstract interfaces, and general programming. 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Martin Schulze <mschulze@cvs.gnome.org>
|
|
|
|
Murray Cumming <murrayc@murrayc.com>
|
|
|
|
Cedric Gustin <cedric.gustin@swing.be>
|
|
|
|
Timothy M. Shead <tshead@k-3d.com> and James Lin <jameslin@vmware.com>
|
|
|
|
Damien Carbery <Damien.Carbery@Sun.COM>
|
|
|
|
Takashi Takekawa <takekawa@users.sourceforge.jp>
|
|
|
|
Andreas Rottmann <rottmann@users.sourceforge.net>
|
|
|
|
Karl Einar Nelson <kenelson@ece.ucdavis.edu>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
# FIXME: Cannot autoreconf, bad templates:
|
|
|
|
#ACLOCAL="aclocal -I scripts" autoreconf -f -i
|
2008-09-15 00:58:19 +02:00
|
|
|
%configure --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%check
|
|
|
|
export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
|
|
|
|
%{__make} check
|
|
|
|
unset MALLOC_CHECK_ MALLOC_PERTURB_
|
2007-01-12 17:13:42 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT libsigc_docdir=%{_docdir}/%{name}/docs install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
cp AUTHORS COPYING ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
|
|
|
cp examples/{Makefile,*.cc} $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/tests
|
|
|
|
cp tests/{Makefile,*.cc} $RPM_BUILD_ROOT%{_docdir}/%{name}/tests
|
2008-09-15 00:58:19 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2007-01-12 17:13:42 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-09-15 00:58:19 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-12 17:13:42 +01:00
|
|
|
|
2008-09-15 00:58:19 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-12 17:13:42 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%doc %dir %{_docdir}/%{name}
|
|
|
|
%doc %{_docdir}/%{name}/AUTHORS
|
|
|
|
%doc %{_docdir}/%{name}/COPYING
|
|
|
|
%doc %{_docdir}/%{name}/ChangeLog
|
|
|
|
%doc %{_docdir}/%{name}/NEWS
|
|
|
|
%doc %{_docdir}/%{name}/README
|
|
|
|
%doc %{_docdir}/%{name}/TODO
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%doc %{_docdir}/%{name}/examples
|
|
|
|
%doc %{_docdir}/%{name}/docs
|
|
|
|
%doc %{_docdir}/%{name}/tests
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/sigc++-2.0
|
|
|
|
%{_includedir}/*
|
2008-04-02 22:18:26 +02:00
|
|
|
|
2007-09-19 19:13:26 +02:00
|
|
|
%changelog
|
2009-02-06 18:00:52 +01:00
|
|
|
* Fri Jan 23 2009 vuntz@novell.com
|
|
|
|
- Drop libsigc++2-gcc43.patch: seems to build fine without it now.
|
|
|
|
* Sat Dec 20 2008 mboman@suse.de
|
|
|
|
- Update to version 2.2.3:
|
|
|
|
- Added project files (and property sheets) for
|
|
|
|
MSVC++ 2005 and 2008.
|
|
|
|
- Removed unnecessary dependency on afxrefs.h, so it builds
|
|
|
|
with MSVC++ Express editions.
|
2008-09-15 00:58:19 +02:00
|
|
|
* Sun Sep 14 2008 crrodriguez@suse.de
|
|
|
|
- remove static libraries and useless "la" file
|
|
|
|
- run test suite
|
2008-04-10 14:32:51 +02:00
|
|
|
* Thu Apr 10 2008 ro@suse.de
|
|
|
|
- added baselibs.conf file to build xxbit packages
|
|
|
|
for multilib support
|
2008-04-02 22:18:26 +02:00
|
|
|
* Wed Apr 02 2008 rodrigo@suse.de
|
|
|
|
- Update to version 2.2.2:
|
|
|
|
* Added an include of functors/slot.h that was mistakenly removed
|
|
|
|
during the 2.1 series (bgo#521418)
|
|
|
|
* Fri Oct 12 2007 rguenther@suse.de
|
2007-10-13 00:11:55 +02:00
|
|
|
- Add patch to fix C++ problems, enables building with GCC 4.3.
|
2008-04-02 22:18:26 +02:00
|
|
|
* Wed Sep 19 2007 sbrabec@suse.cz
|
2007-09-19 19:13:26 +02:00
|
|
|
- Updated to version 2.0.18:
|
|
|
|
* Fix a build error in the examples, on Sun CC.
|
2008-04-02 22:18:26 +02:00
|
|
|
* Tue Jan 23 2007 ro@suse.de
|
2007-01-23 01:52:34 +01:00
|
|
|
- drop requires for gnome-filesystem
|
2008-04-02 22:18:26 +02:00
|
|
|
* Fri Jan 12 2007 sbrabec@suse.cz
|
2007-01-12 17:13:42 +01:00
|
|
|
- Spec file cleanup.
|
2008-04-02 22:18:26 +02:00
|
|
|
* Mon Dec 18 2006 maw@suse.de
|
2007-01-12 17:13:42 +01:00
|
|
|
- Move to /usr.
|
2008-04-02 22:18:26 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-12 17:13:42 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-02 22:18:26 +02:00
|
|
|
* Tue Jan 17 2006 lmichnovic@suse.cz
|
2007-01-12 17:13:42 +01:00
|
|
|
- Updated to version 2.0.17
|
2008-04-02 22:18:26 +02:00
|
|
|
* Thu Aug 04 2005 sbrabec@suse.cz
|
2007-01-12 17:13:42 +01:00
|
|
|
- Updated to version 2.0.16.
|
2008-04-02 22:18:26 +02:00
|
|
|
* Mon Jun 13 2005 sbrabec@suse.cz
|
2007-01-12 17:13:42 +01:00
|
|
|
- Updated to version 2.0.14.
|
2008-04-02 22:18:26 +02:00
|
|
|
* Thu Feb 10 2005 sbrabec@suse.cz
|
2007-01-12 17:13:42 +01:00
|
|
|
- Updated to version 2.0.6 (branch 2.0).
|
2008-04-02 22:18:26 +02:00
|
|
|
* Mon Feb 23 2004 ro@suse.de
|
2007-01-12 17:13:42 +01:00
|
|
|
- fix pkgconfig file on lib64
|
2008-04-02 22:18:26 +02:00
|
|
|
* Wed Feb 18 2004 ro@suse.de
|
2007-01-12 17:13:42 +01:00
|
|
|
- fix build on recent platforms by running autoreconf
|
|
|
|
(configure.in hacks from libsigc++ package)
|
2008-04-02 22:18:26 +02:00
|
|
|
* Fri Feb 13 2004 sbrabec@suse.cz
|
2007-01-12 17:13:42 +01:00
|
|
|
- Initial SuSE package version 1.2.5.
|