SHA256
1
0
forked from pool/gsoap
2017-03-15 16:12:49 +00:00
committed by Git OBS Bridge
parent 03a21304ab
commit 3f755abe05
6 changed files with 39 additions and 9 deletions

View File

@@ -17,8 +17,8 @@
Name: gsoap
%define lname libgsoap-2_8_43
Version: 2.8.43
%define lname libgsoap-2_8_44
Version: 2.8.44
Release: 0
Summary: Toolkit for SOAP/REST-based C/C++ server and client web service applications
License: SUSE-GPL-2.0+-with-openssl-exception
@@ -29,6 +29,7 @@ Source: gsoap-%version.tar.xz
Source2: sanitize_source.sh
Patch1: gsoap-automake1_13.diff
Patch2: gsoap-01-sharedlibs.diff
Patch3: gsoap-sslverify.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@@ -84,7 +85,7 @@ This subpackage contains the documentation for the gSOAP toolkit.
%prep
%setup -q
cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
%patch -P 1 -P 2 -p1
%patch -P 1 -P 2 -P 3 -p1
ln -fs stdsoap2.cpp gsoap/stdsoap2.c
%build
@@ -96,8 +97,6 @@ perl -i -lpe 's{AC_INIT\(gsoap, 2.8\)}{AC_INIT([gsoap], [%version])}' \
# Also needed because Makefile.am and configure.ac are touched.
autoreconf -fi
export CFLAGS="-O0 -ggdb3"
export CXXFLAGS=$CFLAGS
%configure --enable-ipv6 --disable-static
pushd gsoap/src/
# build prerequisites for parallel build first
@@ -111,6 +110,7 @@ make install DESTDIR="$b"
rm -f "$b/%_libdir"/*.la
mkdir -p "$b/%_defaultdocdir"
cp -a gsoap/doc "$b/%_defaultdocdir/%name"
find "$b" -type f -name "*inconsolata*" -exec chmod a-x "{}" "+"
%if 0%{?fdupes:1}
%fdupes %buildroot/%_prefix
%endif