OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 15-Oct-2006 10:52:35
Branch: HEAD Handle: 2006101509523500
Modified files:
openpkg-src/xmlrpcpp xmlrpcpp.spec
Log:
A few package fixes. Thanks to Michael Schloh.
Summary:
Revision Changes Path
1.15 +18 -5 openpkg-src/xmlrpcpp/xmlrpcpp.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/xmlrpcpp/xmlrpcpp.spec
============================================================================
$ cvs diff -u -r1.14 -r1.15 xmlrpcpp.spec
--- openpkg-src/xmlrpcpp/xmlrpcpp.spec 13 Oct 2006 17:36:07 -0000
1.14
+++ openpkg-src/xmlrpcpp/xmlrpcpp.spec 15 Oct 2006 08:52:35 -0000
1.15
@@ -33,7 +33,7 @@
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 @@
%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 @@
%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 @@
%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
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]