base-specs/sigcpp.spec
author Jon Tibble <meths@btinternet.com>
Thu, 15 Mar 2012 09:58:35 +0000
branchs11express-2010-11
changeset 22104 cde243cbe3f6
parent 17874 63326a7d24b4
child 18281 793997bb7ddb
child 20266 8bea88f4b589
permissions -rw-r--r--
Added tag oi_151a_prestable2 for changeset 47b3f775541a

#
# spec file for package sigcpp
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner gheet 
#

%define OSR 8309:2.x

Name:                    libsigc++
License:                 LGPL
Group:                   System/Libraries
Version:                 2.2.6
Release:                 1
Distribution:            Java Desktop System
Vendor:                  Sourceforge
Summary:                 Libsigc++ - a library that implements a typesafe callback system for standard C++
URL:                     http://libsigc.sourceforge.net
Source:                  http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/%{name}-%{version}.tar.bz2
#Patch1:                  sigcpp-01-build-fix.diff
BuildRoot:               %{_tmppath}/%{name}-%{version}-build

%prep
%setup -q -n libsigc++-%version
#%patch1 -p1

%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
if test "x$CPUS" = "x" -o $CPUS = 0; then
    CPUS=1
fi
perl -pi -e 's/(\s*#define SIGC_TYPEDEF_REDEFINE_ALLOWED.*)/\/\/$1/' \
    sigc++/macros/signal.h.m4
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
            --libdir=%{_libdir}              \
            --libexecdir=%{_libexecdir}       \
            --sysconfdir=%{_sysconfdir}
make -j$CPUS 

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Tue Apr 20 2010 - [email protected]
- bump to 2.2.6.
* Sat Apr  3 2010 - [email protected]
- Bump to 2.2.5.
* Fri Sep 04 2009 - [email protected]
- Change owner to gheet since Elaine is on vacation
* Thu Sep 03 2009 - [email protected]
- Bump to 2.2.4.2
* Tue Sep 01 2009 - [email protected]
- Bump to 2.2.4.1
* Thu Aug 27 2009 - [email protected]
- Bump to 2.2.4.
* Mon Nov 17 2008 - [email protected]
- Bump to 2.2.3.
* Mon Mar 10 2008 - [email protected]
- Bump to 2.2.2.
* Fri Feb 29 2008 - [email protected]
- Bump to 2.2.1 that resolves build failure of 2.2.0 with CC.
* Mon Feb 25 2008 - [email protected]
- Bump to 2.2.0.
* Fri Feb 22 2008 - [email protected]
- Include tests binaries into dev package.
* Tue Feb 12 2008 - [email protected]
- Clean up %files section
* Fri Feb 01 2008 - [email protected]
- create. split from SFEsigcpp.spec