|
|
|
|
@ -33,7 +33,7 @@ Class: EVAL
|
|
|
|
|
Group: RPC |
|
|
|
|
License: LGPL |
|
|
|
|
Version: 0.7 |
|
|
|
|
Release: 20061013 |
|
|
|
|
Release: 20061015 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://switch.dl.sourceforge.net/xmlrpcpp/xmlrpc++%{version}.tar.gz |
|
|
|
|
@ -48,8 +48,8 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
XmlRpc++ is an implementation of the XmlRpc protocol written in C++. |
|
|
|
|
XmlRpc++ is designed to make it easy to incorporate XmlRpc client and |
|
|
|
|
server support into C++ applications. |
|
|
|
|
XmlRpc++ is designed to make it easy to incorporate XmlRpc client |
|
|
|
|
and server support into C++ applications. |
|
|
|
|
|
|
|
|
|
%track |
|
|
|
|
prog xmlrpcpp = { |
|
|
|
|
@ -61,8 +61,18 @@ AutoReqProv: no
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n xmlrpc++%{version} |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
-e 's;\(params[0][params[0].size\);(std::string)\1;' \ |
|
|
|
|
-e 's;\(params\[0]\[params\[0]\.size\);(std::string)\1;' \ |
|
|
|
|
test/Validator.cpp |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
-e 's;^\(CXX[^=a-zA-Z]*\)=.*;\1= %{l_cxx};' \ |
|
|
|
|
-e 's;^\(GCCWARN.*\)-Wall -Wstrict-prototypes;\1-Wall;' \ |
|
|
|
|
test/Makefile \ |
|
|
|
|
Makefile |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
-e 's;^\(\$(TESTS):\).*;\1;' \ |
|
|
|
|
-e 's;^\(LIB[^=]*\)=.*;\1= -lXmlRpc;' \ |
|
|
|
|
-e 's;^\(SRC[^=]*\)=.*;\1= %{l_prefix}/include/xmlrpcpp;' \ |
|
|
|
|
test/Makefile |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%{l_make} %{l_mflags -O} libXmlRpc.a |
|
|
|
|
@ -70,9 +80,12 @@ AutoReqProv: no
|
|
|
|
|
%install |
|
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/include/xmlrpcpp |
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
*.a $RPM_BUILD_ROOT%{l_prefix}/lib/ |
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
src/*.h $RPM_BUILD_ROOT%{l_prefix}/include/xmlrpcpp/ |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|