SHA256
1
0
forked from pool/xmlrpc-c
Jan Engelhardt 2013-11-25 12:38:15 +00:00 committed by Git OBS Bridge
parent ce98f74cca
commit 7ab34bc591
4 changed files with 35 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9e8f9dd7bb90d3e10f45754353a007cb58a0b54826aa1e0ed5a8e1b76b193bf
size 779372

3
xmlrpc-c-1.33.06.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:91d032fba7ec23ca6cd8d90c5d4ac4ff73407ff7a3470598782e6a4f8ee75b6f
size 568768

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Nov 25 12:03:46 UTC 2013 - jengelh@inai.de
- Update to new upstream release 1.33
* Abyss XML-RPC server: Implement HTTP access control and the
OPTIONS method
* Change strategy for overallocating memory - grow blocks no more
than a megabyte at a time
-------------------------------------------------------------------
Sat Jun 1 20:11:13 UTC 2013 - asterios.dramis@gmail.com

View File

@ -17,21 +17,25 @@
%define soname 3
%define soname_cpp 7
%define soname_cpp 8
Name: xmlrpc-c
Version: 1.25.23
Version: 1.33.06
Release: 0
Summary: Library implementing XML-based Remote Procedure Calls
License: BSD-3-Clause and MIT
Group: Development/Libraries/C and C++
Url: http://xmlrpc-c.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
#SVN-Clone: http://svn.code.sf.net/p/xmlrpc-c/code/stable/
#Snapshot: r2540
Source: %name-%version.tar.xz
BuildRequires: gcc-c++
BuildRequires: libcurl-devel
BuildRequires: libxml2-devel
BuildRequires: ncurses-devel
BuildRequires: readline-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -62,7 +66,11 @@ Provides: libxmlrpc-c-devel = %{version}
Obsoletes: libxmlrpc-c-devel < %{version}
%description devel
Files needed for software development using xmlrpc-c.
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++.
This subpackage contains libraries and header files for developing
applications that want to make use of xmlrpc-c.
%package -n libxmlrpc%{soname}
Summary: A library implementing XML-based remote procedure calls
@ -185,7 +193,7 @@ 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++.
%prep
%setup -q
%setup -qn %name-stable
%build
export CFLAGS_PERSONAL="%{optflags}"
@ -193,10 +201,10 @@ export CFLAGS_PERSONAL="%{optflags}"
--enable-tools \
--enable-libxml2-backend
# don't pass -j, breaks build
make CADD="-fPIC -DPIC"
make CADD="-fPIC -DPIC" AR=ar RANLIB=ranlib
%install
%makeinstall
make install DESTDIR="%buildroot" AR=ar RANLIB=ranlib
# Remove static libraries
rm -f %{buildroot}%{_libdir}/*.a
@ -239,14 +247,14 @@ make -C examples/cpp clean
%files
%defattr(-,root,root,-)
%doc doc/{COPYING,CREDITS,HISTORY,SECURITY,TODO} tools/xmlrpc/xmlrpc.html tools/xmlrpc_pstream/xmlrpc_pstream.html tools/xmlrpc_transport/xmlrpc_transport.html
%{_bindir}/xml-rpc-api2cpp
%{_bindir}/xml-rpc-api2txt
%{_bindir}/xmlrpc
%{_bindir}/xmlrpc_cpp_proxy
%{_bindir}/xmlrpc_pstream
%{_bindir}/xmlrpc_transport
%doc %{_mandir}/man1/xml-rpc-api2cpp.1%{ext_man}
%doc %{_mandir}/man1/xml-rpc-api2txt.1%{ext_man}
#%{_bindir}/xml-rpc-api2cpp
#%{_bindir}/xml-rpc-api2txt
#%{_bindir}/xmlrpc
#%{_bindir}/xmlrpc_cpp_proxy
#%{_bindir}/xmlrpc_pstream
#%{_bindir}/xmlrpc_transport
#%doc %{_mandir}/man1/xml-rpc-api2cpp.1%{ext_man}
#%doc %{_mandir}/man1/xml-rpc-api2txt.1%{ext_man}
%files devel
%defattr(-,root,root,-)