12366N/A#
12366N/A# spec file for package sigcpp
12366N/A#
12366N/A# Copyright 2008 Sun Microsystems, Inc.
12366N/A# This file and all modifications and additions to the pristine
12366N/A# package are under the same license as the package itself.
12366N/A#
17225N/A%define owner gheet
12366N/A#
12366N/A
17182N/A%define OSR 8309:2.x
17182N/A
12366N/AName: libsigc++
19064N/ALicense: LGPL v2.1
12366N/AGroup: System/Libraries
19064N/AVersion: 2.2.8
12366N/ARelease: 1
12366N/ADistribution: Java Desktop System
18616N/AVendor: Sourceforge
12366N/ASummary: Libsigc++ - a library that implements a typesafe callback system for standard C++
12366N/AURL: http://libsigc.sourceforge.net
12451N/ASource: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/%{name}-%{version}.tar.bz2
12366N/A#Patch1: sigcpp-01-build-fix.diff
12366N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12366N/A
12366N/A%prep
12366N/A%setup -q -n libsigc++-%version
12366N/A#%patch1 -p1
12366N/A
12366N/A%build
12366N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
12366N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
12366N/A CPUS=1
12366N/Afi
12366N/Aperl -pi -e 's/(\s*#define SIGC_TYPEDEF_REDEFINE_ALLOWED.*)/\/\/$1/' \
12366N/A sigc++/macros/signal.h.m4
12366N/A./configure --prefix=%{_prefix} --mandir=%{_mandir} \
12366N/A --libdir=%{_libdir} \
12366N/A --libexecdir=%{_libexecdir} \
12366N/A --sysconfdir=%{_sysconfdir}
12366N/Amake -j$CPUS
12366N/A
12366N/A%install
12366N/Amake install DESTDIR=$RPM_BUILD_ROOT
12366N/A
12366N/A%clean
12366N/Arm -rf $RPM_BUILD_ROOT
12366N/A
12366N/A%changelog
19064N/A* Wed Oct 27 2010 - brian.cameron@oracle.com
19064N/A- Bump to 2.2.8.
18625N/A* Tue Apr 20 2010 - christian.kelly@oracle.com
18625N/A- bump to 2.2.6.
18543N/A* Sat Apr 3 2010 - christian.kelly@sun.com
18543N/A- Bump to 2.2.5.
17225N/A* Fri Sep 04 2009 - brian.lu@sun.com
17225N/A- Change owner to gheet since Elaine is on vacation
17210N/A* Thu Sep 03 2009 - dave.lin@sun.com
17210N/A- Bump to 2.2.4.2
17193N/A* Tue Sep 01 2009 - dave.lin@sun.com
17193N/A- Bump to 2.2.4.1
17144N/A* Thu Aug 27 2009 - christian.kelly@sun.com
17144N/A- Bump to 2.2.4.
15364N/A* Mon Nov 17 2008 - elaine.xiong@sun.com
15364N/A- Bump to 2.2.3.
12573N/A* Mon Mar 10 2008 - damien.carbery@sun.com
12573N/A- Bump to 2.2.2.
12504N/A* Fri Feb 29 2008 - elaine.xiong@sun.com
12504N/A- Bump to 2.2.1 that resolves build failure of 2.2.0 with CC.
12451N/A* Mon Feb 25 2008 - damien.carbery@sun.com
12451N/A- Bump to 2.2.0.
12443N/A* Fri Feb 22 2008 - elaine.xiong@sun.com
12443N/A- Include tests binaries into dev package.
12366N/A* Tue Feb 12 2008 - ghee.teo@sun.com
12366N/A- Clean up %files section
12366N/A* Fri Feb 01 2008 - elaine.xiong@sun.com
12366N/A- create. split from SFEsigcpp.spec