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