forked from pool/xmlrpc-c
Accepting request 46856 from home:computersalat:devel
OBS-URL: https://build.opensuse.org/request/show/46856 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/xmlrpc-c?expand=0&rev=59
This commit is contained in:
committed by
Git OBS Bridge
parent
3c2e02c37d
commit
0a3c43bfba
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4c6db89b37eea419ed70d0913c9d75ae28828cfaca160fa1ff455f0f915db60b
|
|
||||||
size 563674
|
|
||||||
3
xmlrpc-c-1.06.40.tar.bz2
Normal file
3
xmlrpc-c-1.06.40.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3ad35c85db6521755bd3c03e187b60700ee500aacb48bb8905539608bc10eb83
|
||||||
|
size 567626
|
||||||
20
xmlrpc-c-lib.patch
Normal file
20
xmlrpc-c-lib.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
--- ltconfig.orig 2010-07-02 01:17:54.000000000 +0200
|
||||||
|
+++ ltconfig 2010-07-02 01:18:28.000000000 +0200
|
||||||
|
@@ -1957,7 +1957,7 @@
|
||||||
|
;;
|
||||||
|
|
||||||
|
# This must be Linux ELF.
|
||||||
|
-linux-gnu*)
|
||||||
|
+linux*)
|
||||||
|
version_type=linux
|
||||||
|
need_lib_prefix=no
|
||||||
|
need_version=no
|
||||||
|
@@ -1970,7 +1970,7 @@
|
||||||
|
file_magic_cmd=/usr/bin/file
|
||||||
|
file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
|
||||||
|
|
||||||
|
- if test -f /lib/ld.so.1; then
|
||||||
|
+ if true; then
|
||||||
|
dynamic_linker='GNU ld.so'
|
||||||
|
else
|
||||||
|
# Only the GNU ld.so supports shared libraries on MkLinux.
|
||||||
92
xmlrpc-c-lib64.patch
Normal file
92
xmlrpc-c-lib64.patch
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
--- configure.orig 2010-07-02 00:30:20.000000000 +0200
|
||||||
|
+++ configure 2010-07-02 00:30:48.000000000 +0200
|
||||||
|
@@ -5433,7 +5433,7 @@
|
||||||
|
if $WININET_CONFIG --rpath-dir > /dev/null 2>&1; then
|
||||||
|
WININET_LIBDIR="`$WININET_CONFIG --rpath-dir`"
|
||||||
|
else
|
||||||
|
- WININET_LIBDIR="`$WININET_CONFIG --prefix`/lib"
|
||||||
|
+ WININET_LIBDIR="`$WININET_CONFIG --prefix`/lib64"
|
||||||
|
fi
|
||||||
|
echo "$as_me:$LINENO: result: $WININET_LIBDIR" >&5
|
||||||
|
echo "${ECHO_T}$WININET_LIBDIR" >&6
|
||||||
|
@@ -5538,7 +5538,7 @@
|
||||||
|
if $LIBWWW_CONFIG --rpath-dir > /dev/null 2>&1; then
|
||||||
|
LIBWWW_LIBDIR="`$LIBWWW_CONFIG --rpath-dir`"
|
||||||
|
else
|
||||||
|
- LIBWWW_LIBDIR="`$LIBWWW_CONFIG --prefix`/lib"
|
||||||
|
+ LIBWWW_LIBDIR="`$LIBWWW_CONFIG --prefix`/lib64"
|
||||||
|
fi
|
||||||
|
echo "$as_me:$LINENO: result: $LIBWWW_LIBDIR" >&5
|
||||||
|
echo "${ECHO_T}$LIBWWW_LIBDIR" >&6
|
||||||
|
@@ -5618,7 +5618,7 @@
|
||||||
|
|
||||||
|
echo "$as_me:$LINENO: checking for curl library directory" >&5
|
||||||
|
echo $ECHO_N "checking for curl library directory... $ECHO_C" >&6
|
||||||
|
- CURL_LIBDIR="`$CURL_CONFIG --prefix`/lib"
|
||||||
|
+ CURL_LIBDIR="`$CURL_CONFIG --prefix`/lib64"
|
||||||
|
|
||||||
|
echo "$as_me:$LINENO: result: $CURL_LIBDIR" >&5
|
||||||
|
echo "${ECHO_T}$CURL_LIBDIR" >&6
|
||||||
|
--- configure.in.orig 2010-07-02 00:30:51.000000000 +0200
|
||||||
|
+++ configure.in 2010-07-02 00:31:02.000000000 +0200
|
||||||
|
@@ -439,7 +439,7 @@
|
||||||
|
WININET_LIBDIR="`$WININET_CONFIG --rpath-dir`"
|
||||||
|
else
|
||||||
|
dnl Yawn. We're using the regular boring version.
|
||||||
|
- WININET_LIBDIR="`$WININET_CONFIG --prefix`/lib"
|
||||||
|
+ WININET_LIBDIR="`$WININET_CONFIG --prefix`/lib64"
|
||||||
|
fi
|
||||||
|
AC_MSG_RESULT($WININET_LIBDIR)
|
||||||
|
AC_SUBST(WININET_LIBDIR)
|
||||||
|
@@ -510,7 +510,7 @@
|
||||||
|
LIBWWW_LIBDIR="`$LIBWWW_CONFIG --rpath-dir`"
|
||||||
|
else
|
||||||
|
dnl Yawn. We're using the regular boring version.
|
||||||
|
- LIBWWW_LIBDIR="`$LIBWWW_CONFIG --prefix`/lib"
|
||||||
|
+ LIBWWW_LIBDIR="`$LIBWWW_CONFIG --prefix`/lib64"
|
||||||
|
fi
|
||||||
|
AC_MSG_RESULT($LIBWWW_LIBDIR)
|
||||||
|
AC_SUBST(LIBWWW_LIBDIR)
|
||||||
|
@@ -562,7 +562,7 @@
|
||||||
|
dnl adjust the search patch manually. Just gag me with a backquote, OK?
|
||||||
|
AC_MSG_CHECKING(for curl library directory)
|
||||||
|
dnl Yawn. We're using the regular boring version.
|
||||||
|
- CURL_LIBDIR="`$CURL_CONFIG --prefix`/lib"
|
||||||
|
+ CURL_LIBDIR="`$CURL_CONFIG --prefix`/lib64"
|
||||||
|
|
||||||
|
AC_MSG_RESULT($CURL_LIBDIR)
|
||||||
|
AC_SUBST(CURL_LIBDIR)
|
||||||
|
--- ltconfig.orig 2010-07-02 00:22:59.000000000 +0200
|
||||||
|
+++ ltconfig 2010-07-02 00:29:49.000000000 +0200
|
||||||
|
@@ -1774,8 +1774,8 @@
|
||||||
|
shlibpath_overrides_runpath=unknown
|
||||||
|
version_type=none
|
||||||
|
dynamic_linker="$host_os ld.so"
|
||||||
|
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
|
||||||
|
-sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
|
||||||
|
+sys_lib_dlsearch_path_spec="/lib64 /usr/lib64"
|
||||||
|
+sys_lib_search_path_spec="/lib64 /usr/lib64"
|
||||||
|
file_magic_cmd=
|
||||||
|
file_magic_test_file=
|
||||||
|
deplibs_check_method='unknown'
|
||||||
|
@@ -1957,7 +1957,7 @@
|
||||||
|
;;
|
||||||
|
|
||||||
|
# This must be Linux ELF.
|
||||||
|
-linux-gnu*)
|
||||||
|
+linux*)
|
||||||
|
version_type=linux
|
||||||
|
need_lib_prefix=no
|
||||||
|
need_version=no
|
||||||
|
@@ -1968,9 +1968,9 @@
|
||||||
|
shlibpath_overrides_runpath=no
|
||||||
|
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
|
||||||
|
file_magic_cmd=/usr/bin/file
|
||||||
|
- file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
|
||||||
|
+ file_magic_test_file=`echo /lib64/libc.so* /lib64/libc-*.so`
|
||||||
|
|
||||||
|
- if test -f /lib/ld.so.1; then
|
||||||
|
+ if true; then
|
||||||
|
dynamic_linker='GNU ld.so'
|
||||||
|
else
|
||||||
|
# Only the GNU ld.so supports shared libraries on MkLinux.
|
||||||
8
xmlrpc-c.changes
Normal file
8
xmlrpc-c.changes
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 31 21:29:13 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- merge with hamradio/xmlrpc-c
|
||||||
|
o there shouldn't be 2 maintained packages :(
|
||||||
|
- used Source from sourceforge.net
|
||||||
|
o correct named: xmlrpc-c-1.06.40.tgz
|
||||||
|
|
||||||
274
xmlrpc-c.spec
274
xmlrpc-c.spec
@@ -1,29 +1,51 @@
|
|||||||
|
#
|
||||||
|
# spec file for package xmmlrpc-c (Version 1.06.40)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
%define soname 3
|
%define soname 3
|
||||||
|
|
||||||
Name: xmlrpc-c
|
Name: xmlrpc-c
|
||||||
Version: 1.06.37
|
Version: 1.06.40
|
||||||
Release: 2
|
Release: 1
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://xmlrpc-c.sourceforge.net
|
URL: http://xmlrpc-c.sourceforge.net
|
||||||
# http://prdownloads.sourceforge.net/xmlrpc-c/xmlrpc-%{version}.tgz
|
# http://prdownloads.sourceforge.net/xmlrpc-c/xmlrpc-c-%{version}.tgz
|
||||||
Source: xmlrpc-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch0: xmlrpc-c-1.06.04-sizet.patch
|
Patch0: %{name}-1.06.04-sizet.patch
|
||||||
Patch1: xmlrpc-c-fix_as_needed.patch
|
Patch1: %{name}-fix_as_needed.patch
|
||||||
Patch2: xmlrpc-c-fix_without_as_needed.patch
|
Patch2: %{name}-fix_without_as_needed.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Patch3: %{name}-lib64.patch
|
||||||
BuildRequires:gcc-c++ libcurl-devel libxml2-devel
|
Patch4: %{name}-lib.patch
|
||||||
Summary: Library implementing XML-based Remote Procedure Calls
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: autoconf automake file gcc-c++ libtool
|
||||||
|
%if 0%{?suse_version} >= 1020
|
||||||
|
BuildRequires: libcurl-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: curl-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: libxml2-devel libstdc++-devel
|
||||||
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
|
||||||
%description
|
%description
|
||||||
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
package is used by XML-RPC clients and servers written in C and C++.
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Eric Kidd <eric.kidd@pobox.com>
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
@@ -35,12 +57,32 @@ Requires: libxmlrpc_client++%{soname} = %{version}
|
|||||||
Requires: libxmlrpc_cpp%{soname} = %{version}
|
Requires: libxmlrpc_cpp%{soname} = %{version}
|
||||||
Requires: libxmlrpc_server++%{soname} = %{version}
|
Requires: libxmlrpc_server++%{soname} = %{version}
|
||||||
Requires: libxmlrpc_server_abyss++%{soname} = %{version}
|
Requires: libxmlrpc_server_abyss++%{soname} = %{version}
|
||||||
|
Requires: libxmlrpc%{soname} = %{version}
|
||||||
|
Requires: libxmlrpc_client%{soname} = %{version}
|
||||||
|
Requires: libxmlrpc_server%{soname} = %{version}
|
||||||
|
Requires: libxmlrpc_server_abyss%{soname} = %{version}
|
||||||
|
Requires: libxmlrpc_server_cgi%{soname} = %{version}
|
||||||
|
Requires: libxmlrpc_abyss%{soname} = %{version}
|
||||||
|
Requires: libxmlrpc_util%{soname} = %{version}
|
||||||
Requires: libxml2-devel
|
Requires: libxml2-devel
|
||||||
Summary: Development package for xmlrpc-c
|
Summary: Development package for xmlrpc-c
|
||||||
|
|
||||||
%description -n libxmlrpc-c-devel
|
%description -n libxmlrpc-c-devel
|
||||||
Files needed for software development using xmlrpc-c.
|
Files needed for software development using xmlrpc-c.
|
||||||
|
|
||||||
|
%package -n libxmlrpc%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: A library implementing XML-based remote procedure calls
|
||||||
|
#Requires: libxmlrpc_util = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libxmlrpc%{soname}
|
||||||
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
%package -n libxmlrpc++%{soname}
|
%package -n libxmlrpc++%{soname}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: A library implementing XML-based remote procedure calls
|
Summary: A library implementing XML-based remote procedure calls
|
||||||
@@ -49,68 +91,132 @@ Summary: A library implementing XML-based remote procedure calls
|
|||||||
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
package is used by XML-RPC clients and servers written in C and C++.
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
|
%package -n libxmlrpc_client%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
#Requires: libxmlrpc_util = %{version}-%{release}
|
||||||
|
#Requires: libxmlrpc = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libxmlrpc_client%{soname}
|
||||||
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Eric Kidd <eric.kidd@pobox.com>
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
%package -n libxmlrpc_client++%{soname}
|
%package -n libxmlrpc_client++%{soname}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Library implementing XML-based Remote Procedure Calls
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
|
||||||
%description -n libxmlrpc_client++%{soname}
|
%description -n libxmlrpc_client++%{soname}
|
||||||
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
package is used by XML-RPC clients and servers written in C and C++.
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Eric Kidd <eric.kidd@pobox.com>
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
%package -n libxmlrpc_cpp%{soname}
|
%package -n libxmlrpc_cpp%{soname}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Library implementing XML-based Remote Procedure Calls
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
|
||||||
%description -n libxmlrpc_cpp%{soname}
|
%description -n libxmlrpc_cpp%{soname}
|
||||||
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
package is used by XML-RPC clients and servers written in C and C++.
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
|
%package -n libxmlrpc_abyss%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
#Requires: libxmlrpc_util = %{version}-%{release}
|
||||||
|
#Requires: libxmlrpc = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libxmlrpc_abyss%{soname}
|
||||||
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
|
%package -n libxmlrpc_server%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
#Requires: libxmlrpc_util = %{version}-%{release}
|
||||||
|
#Requires: libxmlrpc = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libxmlrpc_server%{soname}
|
||||||
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Eric Kidd <eric.kidd@pobox.com>
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
%package -n libxmlrpc_server++%{soname}
|
%package -n libxmlrpc_server++%{soname}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Library implementing XML-based Remote Procedure Calls
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
|
||||||
%description -n libxmlrpc_server++%{soname}
|
%description -n libxmlrpc_server++%{soname}
|
||||||
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
package is used by XML-RPC clients and servers written in C and C++.
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
|
%package -n libxmlrpc_server_abyss%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
#Requires: libxmlrpc_util = %{version}-%{release}
|
||||||
|
#Requires: libxmlrpc_server = %{version}-%{release}
|
||||||
|
#Requires: libxmlrpc_server_abyss = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libxmlrpc_server_abyss%{soname}
|
||||||
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Eric Kidd <eric.kidd@pobox.com>
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
%package -n libxmlrpc_server_abyss++%{soname}
|
%package -n libxmlrpc_server_abyss++%{soname}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Library implementing XML-based Remote Procedure Calls
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
|
||||||
%description -n libxmlrpc_server_abyss++%{soname}
|
%description -n libxmlrpc_server_abyss++%{soname}
|
||||||
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
package is used by XML-RPC clients and servers written in C and C++.
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
|
%package -n libxmlrpc_server_cgi%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
#Requires: libxmlrpc_util = %{version}-%{release}
|
||||||
|
#Requires: libxmlrpc_server = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libxmlrpc_server_cgi%{soname}
|
||||||
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
|
%package -n libxmlrpc_util%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Library implementing XML-based Remote Procedure Calls
|
||||||
|
|
||||||
|
%description -n libxmlrpc_util%{soname}
|
||||||
|
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
||||||
|
package is used by XML-RPC clients and servers written in C and C++.
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
@@ -124,31 +230,66 @@ Authors:
|
|||||||
%else
|
%else
|
||||||
%patch1 -p0 -b .asneeded
|
%patch1 -p0 -b .asneeded
|
||||||
%endif
|
%endif
|
||||||
|
%if "%{_lib}"=="lib64"
|
||||||
|
%patch3 -p0 -b .lib64
|
||||||
|
%else
|
||||||
|
%patch4 -p0 -b .lib
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%__rm -rf examples/.cvsignore examples/cpp/.cvsignore
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS_PERSONAL="%{optflags} -fPIC -DPIC"
|
export CFLAGS_PERSONAL="%{optflags}"
|
||||||
%configure --enable-libxml2-backend --enable-shared
|
%configure \
|
||||||
|
--enable-libxml2-backend \
|
||||||
|
--enable-shared
|
||||||
|
|
||||||
|
%__sed -i '
|
||||||
|
s/^hardcode_direct.*$/hardcode_direct=yes/g
|
||||||
|
;
|
||||||
|
s/^hardcode_minus_L.*$/hardcode_minus_L=yes/g
|
||||||
|
;
|
||||||
|
s/^hardcode_shlibpath_var.*$/hardcode_shlibpath_var=no/g
|
||||||
|
' libtool ltconfig* ltmain*
|
||||||
|
|
||||||
# don't pass -j, breaks build
|
# don't pass -j, breaks build
|
||||||
%__make
|
%__make CADD="-fPIC -DPIC"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%__rm "%{buildroot}%{_libdir}"/*.la
|
%__rm "%{buildroot}%{_libdir}"/*.la
|
||||||
|
|
||||||
|
%__make -C examples clean
|
||||||
|
%__make -C examples/cpp clean
|
||||||
|
|
||||||
|
%post -n libxmlrpc%{soname} -p /sbin/ldconfig
|
||||||
%post -n libxmlrpc++%{soname} -p /sbin/ldconfig
|
%post -n libxmlrpc++%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_client%{soname} -p /sbin/ldconfig
|
||||||
%post -n libxmlrpc_client++%{soname} -p /sbin/ldconfig
|
%post -n libxmlrpc_client++%{soname} -p /sbin/ldconfig
|
||||||
%post -n libxmlrpc_cpp%{soname} -p /sbin/ldconfig
|
%post -n libxmlrpc_cpp%{soname} -p /sbin/ldconfig
|
||||||
%post -n libxmlrpc_server_abyss++%{soname} -p /sbin/ldconfig
|
%post -n libxmlrpc_abyss%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_server%{soname} -p /sbin/ldconfig
|
||||||
%post -n libxmlrpc_server++%{soname} -p /sbin/ldconfig
|
%post -n libxmlrpc_server++%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_server_abyss%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_server_abyss++%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_server_cgi%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_util%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libxmlrpc%{soname} -p /sbin/ldconfig
|
||||||
%postun -n libxmlrpc++%{soname} -p /sbin/ldconfig
|
%postun -n libxmlrpc++%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_client%{soname} -p /sbin/ldconfig
|
||||||
%postun -n libxmlrpc_client++%{soname} -p /sbin/ldconfig
|
%postun -n libxmlrpc_client++%{soname} -p /sbin/ldconfig
|
||||||
%postun -n libxmlrpc_cpp%{soname} -p /sbin/ldconfig
|
%postun -n libxmlrpc_cpp%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_abyss%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_server%{soname} -p /sbin/ldconfig
|
||||||
%postun -n libxmlrpc_server++%{soname} -p /sbin/ldconfig
|
%postun -n libxmlrpc_server++%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_server_abyss%{soname} -p /sbin/ldconfig
|
||||||
%postun -n libxmlrpc_server_abyss++%{soname} -p /sbin/ldconfig
|
%postun -n libxmlrpc_server_abyss++%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_server_cgi%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_util%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
test "%{buildroot}" != "/" && %__rm -rf "%{buildroot}"
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@@ -158,56 +299,103 @@ test "%{buildroot}" != "/" && %__rm -rf "%{buildroot}"
|
|||||||
|
|
||||||
%files -n libxmlrpc-c-devel
|
%files -n libxmlrpc-c-devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%doc examples
|
||||||
%{_bindir}/xmlrpc-c-config
|
%{_bindir}/xmlrpc-c-config
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%{_includedir}/XmlRpcCpp.h
|
%{_includedir}/XmlRpcCpp.h
|
||||||
%{_includedir}/xmlrpc*
|
%{_includedir}/xmlrpc*
|
||||||
|
|
||||||
|
%files -n libxmlrpc%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc.so.%{soname}.*
|
||||||
|
|
||||||
%files -n libxmlrpc++%{soname}
|
%files -n libxmlrpc++%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc++.so.%{soname}
|
%{_libdir}/libxmlrpc++.so.%{soname}
|
||||||
%{_libdir}/libxmlrpc++.so.%{soname}.*
|
%{_libdir}/libxmlrpc++.so.%{soname}.*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_client%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_client.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_client.so.%{soname}.*
|
||||||
|
|
||||||
%files -n libxmlrpc_client++%{soname}
|
%files -n libxmlrpc_client++%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc_client++.so.%{soname}
|
%{_libdir}/libxmlrpc_client++.so.%{soname}
|
||||||
%{_libdir}/libxmlrpc_client++.so.%{soname}.*
|
%{_libdir}/libxmlrpc_client++.so.%{soname}.*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_abyss%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_abyss.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_abyss.so.%{soname}.*
|
||||||
|
|
||||||
%files -n libxmlrpc_cpp%{soname}
|
%files -n libxmlrpc_cpp%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc_cpp.so.%{soname}
|
%{_libdir}/libxmlrpc_cpp.so.%{soname}
|
||||||
%{_libdir}/libxmlrpc_cpp.so.%{soname}.*
|
%{_libdir}/libxmlrpc_cpp.so.%{soname}.*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_server%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_server.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_server.so.%{soname}.*
|
||||||
|
|
||||||
%files -n libxmlrpc_server++%{soname}
|
%files -n libxmlrpc_server++%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc_server++.so.%{soname}
|
%{_libdir}/libxmlrpc_server++.so.%{soname}
|
||||||
%{_libdir}/libxmlrpc_server++.so.%{soname}.*
|
%{_libdir}/libxmlrpc_server++.so.%{soname}.*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_server_abyss%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_server_abyss.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_server_abyss.so.%{soname}.*
|
||||||
|
|
||||||
%files -n libxmlrpc_server_abyss++%{soname}
|
%files -n libxmlrpc_server_abyss++%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}
|
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}
|
||||||
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}.*
|
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}.*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_server_cgi%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_server_cgi.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_server_cgi.so.%{soname}.*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_util%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_util.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_util.so.%{soname}.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Sep 28 2009 Pascal Bleser <pascal.bleser@opensuse.org>
|
* Thu Jul 08 2010 dl8fcl@darc.de
|
||||||
|
- imported fixes from pascal@links2linux.de
|
||||||
|
* C++ bytesFromBase64(): fix bug: high two bits always zero.
|
||||||
|
Broken since created (2005)
|
||||||
|
* Abyss: terminate after current request, not current connection.
|
||||||
|
(Matters with keepalive)
|
||||||
|
* fix xmlrpc_inetd_server C++ example. It has never worked.
|
||||||
|
* fix error message about invalid <int> XML
|
||||||
|
* Sun Dec 20 2009 dl8fcl@darc.de
|
||||||
|
- update to 1.06.38
|
||||||
|
* Mon Sep 28 2009 pascal.bleser@opensuse.org
|
||||||
- update to 1.06.37
|
- update to 1.06.37
|
||||||
* Sat May 09 2009 bitshuffler #suse@irc.freenode.org
|
* Sat May 9 2009 bitshuffler #suse@irc.freenode.org
|
||||||
- Updated to 1.06.33
|
- Updated to 1.06.33
|
||||||
* Mon Aug 4 2008 - Peter Nixon
|
* Mon Aug 4 00:00:00 UTC 2008 - Peter Nixon
|
||||||
- Add xmlrpc-c-gcc43.patch from Gentoo project to placate newer GCC version on openSUSE 11.0
|
- Add xmlrpc-c-gcc43.patch from Gentoo project to placate newer GCC
|
||||||
|
version on openSUSE 11.0
|
||||||
- Add Packager tag
|
- Add Packager tag
|
||||||
- Update group for -devel package
|
- Update group for -devel package
|
||||||
- replace %%run_ldconfig with %post(un) -p /sbin/ldconfig
|
- replace %%%%run_ldconfig with %%post(un) -p /sbin/ldconfig
|
||||||
* Tue Jun 12 2007 - Peter Nixon
|
* Tue Jun 12 00:00:00 UTC 2007 - Peter Nixon
|
||||||
- Updated to 1.06.14
|
- Updated to 1.06.14
|
||||||
- Enabled all options
|
- Enabled all options
|
||||||
- Fixed 64bit build problems
|
- Fixed 64bit build problems
|
||||||
* Wed Mar 14 2006 - Peter Nixon
|
* Tue Mar 14 2006 - Peter Nixon
|
||||||
- enabled abyss-server
|
- enabled abyss-server
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Thu Mar 18 2004 - hvogel@suse.de
|
* Thu Mar 18 2004 hvogel@suse.de
|
||||||
- fix files list
|
- fix files list
|
||||||
* Tue Mar 16 2004 - kkaempf@suse.de
|
* Tue Mar 16 2004 - kkaempf@suse.de
|
||||||
- fix libdir for 64bit
|
- fix libdir for 64bit
|
||||||
@@ -215,5 +403,5 @@ test "%{buildroot}" != "/" && %__rm -rf "%{buildroot}"
|
|||||||
- fix bogus %%prefix usage
|
- fix bogus %%prefix usage
|
||||||
* Tue Mar 16 2004 - kkaempf@suse.de
|
* Tue Mar 16 2004 - kkaempf@suse.de
|
||||||
- fix filelist
|
- fix filelist
|
||||||
* Tue Mar 16 2004 - kkaempf@suse.de
|
* Tue Mar 16 2004 kkaempf@suse.de
|
||||||
- initial package version 0.9.10
|
- initial package version 0.9.10
|
||||||
|
|||||||
Reference in New Issue
Block a user