pidgin-otr.spec revision 10713
#
# spec file for package pidgin-otr
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: rickju
# bugdb :
#
Release: 1
# owner:rickju date:2007-03-07 type:bug bugster:6524858 state:upstream
# owner:rickju date:2007-04-03 type:bug bugster:6532728 state:upstream
# owner:rickju date:2007-05-27 type:branding
%prep
#patch for libotr
cd ../libotr*
#patch for pidgin-otr
fi
%else
CPUS=1
fi
#build libotr
cd ../libotr*
glib-gettextize -f
aclocal $ACLOCAL_FLAGS -I .
automake -a -c -f
CFLAGS="$RPM_OPT_FLAGS -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS" \
LD_LIBRARY_PATH="%{_libdir}:$LD_LIBRARY_PATH"
./configure \
--sysconfdir=%{_sysconfdir}
# get root dir
cd ..
export MYDIR=`pwd`
#build pidgin-otr
cd libotr*
glib-gettextize -f
automake -a -c -f
CFLAGS="$RPM_OPT_FLAGS -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS -I${MYDIR}/libotr-%{libotr_version}/my_build_tmp/libotr"
LD_LIBRARY_PATH="%{_libdir}:$LD_LIBRARY_PATH -L${MYDIR}/libotr-%{libotr_version}/src/.libs"
./configure \
--sysconfdir=%{_sysconfdir} \
# install libotr
cd ../libotr*
# install pidgin-otr
# libotr
%{_bindir}/*
# pidgin-otr
# libotr
%{_includedir}/libotr/*
# pidgin-otr