ptlib.spec revision 20354
#
# spec file for package ptlib
#
# Copyright 2007 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
Release: 1
# owner:davelam date:2006-04-14 type:branding
# use cxxflags to fix build problem
# updated by elaine
# owner:elaine date:2008-11-11 type:branding
# help ekiga to find the ptlib.pc
# owner:elaine date:2009-07-14 type:bug
# sourceforge:2821205
# owner:elaine date:2009-07-16 type:bug
# bugster:6739228
# owner:brian date:2011-02-13 type:bug
# temporary build fix, please find the root cause and fix properly
%prep
# symlink the make dir to bin so that ptlib-config is found by ekiga
# ln -s make bin
fi
%else
CPUS=1
fi
cd plugins
cd ..
# unix.mak adds this to a STDCCFLAGS, which is also used for C++ builds
export RPM_OPT_FLAGS=""
export CFLAGS="%optflags"
export CXXFLAGS="%cxx_optflags"
export LDFLAGS="%_ldflags"
./configure \
--sysconfdir=%{_sysconfdir} \
# need the -f to remove write protected file
%{ekiga_libdir}/*.so.*
%{ekiga_libdir}/*.so
- Create