#
# spec file for package libproxy
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#
%if %opt_arch64
%else
Release: 1
#owner:wangke date:2009-09-11 type:branding
%prep
export CFLAGS="%optflags"
export CXXFLAGS="%cxx_optflags"
%if %build_module_mozjs
%else
export LDFLAGS="%{_ldflags} -lCstd -lCrun -lsocket -lnsl"
export MOZJS_CFLAGS="%optflags"
export MOZJS_LIBS="%{_ldflags}"
cd build
-DBIN_INSTALL_DIR=%{_bindir} \
-DLIB_INSTALL_DIR=%{_libdir} \
-DWITH_KDE4=no \
-DWITH_WEBKIT=no \
-DWITH_DOTNET=no \
-DWITH_PERL=no \
%if %build_module_gnome
-DWITH_GNOME=yes \
-DWITH_MOZJS=no \
%else
%if %build_module_mozjs
-DWITH_GNOME=no \
-DWITH_MOZJS=yes \
%else
-DWITH_GNOME=no \
-DWITH_MOZJS=no \
make \
cd build
%if %build_module_gnome
%else
%if %build_module_mozjs
%else