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