forked from pool/gsoap
gsoap-2.8.44
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=89
This commit is contained in:
10
gsoap.spec
10
gsoap.spec
@@ -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
|
||||
|
Reference in New Issue
Block a user