forked from pool/xmlrpc-c
Copy from home:bitshuffler:branches:devel:libraries:c_c++/xmlrpc-c via accept of submit request 10039
Request was accepted with message: reviewed ok. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/xmlrpc-c?expand=0&rev=52
This commit is contained in:
committed by
Git OBS Bridge
parent
58fc19a67a
commit
0b5b4d2ed0
File diff suppressed because it is too large
Load Diff
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:485c20ef9e317114f9a21f166894bb8d49e79bb667088f2e6c5d2ba2b830dce9
|
|
||||||
size 522946
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6d1441bc446b72fead4365de5f6ceba6f87d3af330b99550585831417758f0e4
|
|
||||||
size 357186
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c2db7859908a4f9752943b9b332d666e7e2947aa621db908585e4f92272fa490
|
|
||||||
size 545769
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4610a8db90f7264d7c79415eda8fc88e625964a5c43123c2835c01ddeebe2522
|
|
||||||
size 562677
|
|
||||||
3
xmlrpc-c-1.06.33.tar.bz2
Normal file
3
xmlrpc-c-1.06.33.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4c2669029f559b09064dc537569dbb4b8b09e837da48e7d69fad0509136f6bdb
|
||||||
|
size 572214
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
diff -rup xmlrpc-c-1.06.03/examples/cpp/sample_add_client_complex.cpp xmlrpc-c-devel/examples/cpp/sample_add_client_complex.cpp
|
|
||||||
--- xmlrpc-c-1.06.03/examples/cpp/sample_add_client_complex.cpp 2005-11-06 21:28:00.000000000 +0100
|
|
||||||
+++ xmlrpc-c-devel/examples/cpp/sample_add_client_complex.cpp 2008-01-17 16:42:40.000000000 +0100
|
|
||||||
@@ -15,6 +15,7 @@
|
|
||||||
=============================================================================*/
|
|
||||||
|
|
||||||
#include <cassert>
|
|
||||||
+#include <cstdlib>
|
|
||||||
#include <string>
|
|
||||||
#include <iostream>
|
|
||||||
#include <xmlrpc-c/girerr.hpp>
|
|
||||||
diff -rup xmlrpc-c-1.06.03/examples/cpp/xmlrpc_sample_add_client.cpp xmlrpc-c-devel/examples/cpp/xmlrpc_sample_add_client.cpp
|
|
||||||
--- xmlrpc-c-1.06.03/examples/cpp/xmlrpc_sample_add_client.cpp 2005-06-05 02:01:35.000000000 +0200
|
|
||||||
+++ xmlrpc-c-devel/examples/cpp/xmlrpc_sample_add_client.cpp 2008-01-17 16:42:04.000000000 +0100
|
|
||||||
@@ -1,4 +1,5 @@
|
|
||||||
#include <string>
|
|
||||||
+#include <cstdlib>
|
|
||||||
#include <iostream>
|
|
||||||
#include <xmlrpc-c/girerr.hpp>
|
|
||||||
#include <xmlrpc-c/base.hpp>
|
|
||||||
diff -rup xmlrpc-c-1.06.03/include/xmlrpc-c/oldcppwrapper.hpp xmlrpc-c-devel/include/xmlrpc-c/oldcppwrapper.hpp
|
|
||||||
--- xmlrpc-c-1.06.03/include/xmlrpc-c/oldcppwrapper.hpp 2008-01-17 16:43:30.000000000 +0100
|
|
||||||
+++ xmlrpc-c-devel/include/xmlrpc-c/oldcppwrapper.hpp 2008-01-17 16:29:31.000000000 +0100
|
|
||||||
@@ -26,6 +26,7 @@
|
|
||||||
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
+#include <cstdlib>
|
|
||||||
#include <xmlrpc-c/base.h>
|
|
||||||
#include <xmlrpc-c/client.h>
|
|
||||||
#include <xmlrpc-c/server.h>
|
|
||||||
diff -rup xmlrpc-c-1.06.03/src/cpp/client_simple.cpp xmlrpc-c-devel/src/cpp/client_simple.cpp
|
|
||||||
--- xmlrpc-c-1.06.03/src/cpp/client_simple.cpp 2008-01-17 16:43:30.000000000 +0100
|
|
||||||
+++ xmlrpc-c-devel/src/cpp/client_simple.cpp 2008-01-17 16:27:18.000000000 +0100
|
|
||||||
@@ -1,4 +1,5 @@
|
|
||||||
#include <string>
|
|
||||||
+#include <cstring>
|
|
||||||
|
|
||||||
#include "xmlrpc-c/girerr.hpp"
|
|
||||||
using girerr::error;
|
|
||||||
diff -rup xmlrpc-c-1.06.03/src/cpp/server_abyss.cpp xmlrpc-c-devel/src/cpp/server_abyss.cpp
|
|
||||||
--- xmlrpc-c-1.06.03/src/cpp/server_abyss.cpp 2008-01-17 16:43:30.000000000 +0100
|
|
||||||
+++ xmlrpc-c-devel/src/cpp/server_abyss.cpp 2008-01-17 16:26:23.000000000 +0100
|
|
||||||
@@ -1,4 +1,5 @@
|
|
||||||
#include <cassert>
|
|
||||||
+#include <cstdlib>
|
|
||||||
#include <string>
|
|
||||||
#include <memory>
|
|
||||||
#include <signal.h>
|
|
||||||
diff -rup xmlrpc-c-1.06.03/src/cpp/value.cpp xmlrpc-c-devel/src/cpp/value.cpp
|
|
||||||
--- xmlrpc-c-1.06.03/src/cpp/value.cpp 2008-01-17 16:43:30.000000000 +0100
|
|
||||||
+++ xmlrpc-c-devel/src/cpp/value.cpp 2008-01-17 16:25:45.000000000 +0100
|
|
||||||
@@ -31,6 +31,7 @@
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <time.h>
|
|
||||||
+#include <cstdlib>
|
|
||||||
|
|
||||||
#include "xmlrpc-c/girerr.hpp"
|
|
||||||
using girerr::error;
|
|
||||||
diff -rup xmlrpc-c-1.06.03/src/cpp/XmlRpcCpp.cpp xmlrpc-c-devel/src/cpp/XmlRpcCpp.cpp
|
|
||||||
--- xmlrpc-c-1.06.03/src/cpp/XmlRpcCpp.cpp 2008-01-17 16:43:30.000000000 +0100
|
|
||||||
+++ xmlrpc-c-devel/src/cpp/XmlRpcCpp.cpp 2008-01-17 16:24:46.000000000 +0100
|
|
||||||
@@ -25,6 +25,8 @@
|
|
||||||
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
+#include <cstdlib>
|
|
||||||
+#include <memory.h>
|
|
||||||
#include "xmlrpc-c/oldcppwrapper.hpp"
|
|
||||||
|
|
||||||
using std::string;
|
|
||||||
diff -rup xmlrpc-c-1.06.03/tools/xml-rpc-api2cpp/xml-rpc-api2cpp.cpp xmlrpc-c-devel/tools/xml-rpc-api2cpp/xml-rpc-api2cpp.cpp
|
|
||||||
--- xmlrpc-c-1.06.03/tools/xml-rpc-api2cpp/xml-rpc-api2cpp.cpp 2008-01-17 16:43:30.000000000 +0100
|
|
||||||
+++ xmlrpc-c-devel/tools/xml-rpc-api2cpp/xml-rpc-api2cpp.cpp 2008-01-17 16:28:34.000000000 +0100
|
|
||||||
@@ -1,5 +1,6 @@
|
|
||||||
#include <iostream>
|
|
||||||
#include <stdexcept>
|
|
||||||
+#include <cstdlib>
|
|
||||||
|
|
||||||
#include "xmlrpc-c/oldcppwrapper.hpp"
|
|
||||||
|
|
||||||
178
xmlrpc-c.spec
178
xmlrpc-c.spec
@@ -1,22 +1,20 @@
|
|||||||
Name: xmlrpc-c
|
# norootforbuild
|
||||||
Version: 1.06.14
|
|
||||||
Release: 0
|
|
||||||
License: BSD, Python
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
URL: http://xmlrpc-c.sourceforge.net/
|
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
|
||||||
Patch0: xmlrpc-c-1.06.04-sizet.patch
|
|
||||||
Patch1: xmlrpc-c-gcc43.patch
|
|
||||||
Summary: A library implementing XML-based remote procedure calls
|
|
||||||
Group: System/Libraries
|
|
||||||
Packager: Peter Nixon
|
|
||||||
Autoreqprov: on
|
|
||||||
#BuildRequires: curl-devel
|
|
||||||
BuildRequires: file gcc-c++ libxml2-devel openssl-devel pkgconfig
|
|
||||||
|
|
||||||
# sipxvxml requires xmlrpc-c built against w3c-libwww :-(
|
%define soname 3
|
||||||
Requires: w3c-libwww
|
|
||||||
BuildRequires: w3c-libwww-devel
|
%define jobs $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 ))
|
||||||
|
|
||||||
|
Name: xmlrpc-c
|
||||||
|
Version: 1.06.33
|
||||||
|
Release: 1.0
|
||||||
|
License: BSD
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: http://xmlrpc-c.sourceforge.net
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Patch0: xmlrpc-c-1.06.04-sizet.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: gcc-c++ libcurl-devel libxml2-devel
|
||||||
|
Summary: A 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
|
||||||
@@ -26,17 +24,79 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Eric Kidd <eric.kidd@pobox.com>
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
%debug_package
|
%package -n libxmlrpc-c-devel
|
||||||
%package devel
|
|
||||||
Summary: Development package for xmlrpc-c
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %name = %version
|
Requires: libxmlrpc++%{soname} = %{version} libxmlrpc_client++%{soname} = %{version} libxmlrpc_cpp%{soname} = %{version} libxmlrpc_server++%{soname} = %{version} libxmlrpc_server_abyss++%{soname} = %{version}
|
||||||
Requires: openssl libxml2
|
Summary: Development package for xmlrpc-c
|
||||||
Requires: w3c-libwww
|
|
||||||
|
|
||||||
%description devel
|
%description -n libxmlrpc-c-devel
|
||||||
Files needed for software development using xmlrpc-c.
|
Files needed for software development using xmlrpc-c.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
|
%package -n libxmlrpc++%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
PreReq: glibc
|
||||||
|
Summary: A library implementing XML-based remote procedure calls
|
||||||
|
|
||||||
|
%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_client++%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
PreReq: glibc
|
||||||
|
Summary: A library implementing XML-based remote procedure calls
|
||||||
|
|
||||||
|
%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:
|
||||||
|
--------
|
||||||
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
|
%package -n libxmlrpc_cpp%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
PreReq: glibc
|
||||||
|
Summary: A library implementing XML-based remote procedure calls
|
||||||
|
|
||||||
|
%description -n libxmlrpc_cpp%{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
|
||||||
|
PreReq: glibc
|
||||||
|
Summary: A library implementing XML-based remote procedure calls
|
||||||
|
|
||||||
|
%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:
|
||||||
|
--------
|
||||||
|
Eric Kidd <eric.kidd@pobox.com>
|
||||||
|
|
||||||
|
%package -n libxmlrpc_server_abyss++%{soname}
|
||||||
|
Group: System/Libraries
|
||||||
|
PreReq: glibc
|
||||||
|
Summary: A library implementing XML-based remote procedure calls
|
||||||
|
|
||||||
|
%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>
|
||||||
@@ -44,42 +104,74 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .sizet
|
%patch0 -p1 -b .sizet
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# What a stupid build system!!!!!!
|
# What a stupid build system!!!!!!
|
||||||
export CFLAGS_PERSONAL="%{optflags} -fPIC -DPIC"
|
export CFLAGS_PERSONAL="%{optflags} -fPIC -DPIC"
|
||||||
%configure --enable-libxml2-backend
|
%configure --disable-static --enable-libxml2-backend
|
||||||
|
%__make
|
||||||
make CFLAGS_PERSONAL="%{optflags} -fPIC -DPIC"
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%makeinstall
|
||||||
|
find %{buildroot} -name *.a -exec %__rm {} \;
|
||||||
|
find %{buildroot} -name *.la -exec %__rm {} \;
|
||||||
|
|
||||||
|
%post -n libxmlrpc++%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_client++%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_cpp%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_server_abyss++%{soname} -p /sbin/ldconfig
|
||||||
|
%post -n libxmlrpc_server++%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libxmlrpc++%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_client++%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_cpp%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_server++%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libxmlrpc_server_abyss++%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_libdir/libxmlrpc*so.*
|
%doc tools/xmlrpc/xmlrpc.html tools/xmlrpc_transport/xmlrpc_transport.html
|
||||||
|
%{_bindir}/xmlrpc
|
||||||
|
%{_bindir}/xmlrpc_transport
|
||||||
|
|
||||||
%files devel
|
%files -n libxmlrpc-c-devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%_libdir/libxmlrpc*a
|
%{_bindir}/xmlrpc-c-config
|
||||||
%_libdir/libxmlrpc*so
|
%{_libdir}/*.so
|
||||||
%_includedir/*
|
%{_includedir}/XmlRpcCpp.h
|
||||||
%_bindir/*
|
%{_includedir}/xmlrpc*
|
||||||
#%_mandir/man*/*
|
|
||||||
|
|
||||||
%changelog -n xmlrpc-c
|
%files -n libxmlrpc++%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc++.so.%{soname}*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_client++%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_client++.so.%{soname}*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_cpp%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_cpp.so.%{soname}*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_server++%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_server++.so.%{soname}*
|
||||||
|
|
||||||
|
%files -n libxmlrpc_server_abyss++%{soname}
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat May 09 2009 bitshuffler #suse@irc.freenode.org
|
||||||
|
- Updated to 1.06.33
|
||||||
* Mon Aug 4 2008 - Peter Nixon
|
* Mon Aug 4 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 2007 - Peter Nixon
|
||||||
- Updated to 1.06.14
|
- Updated to 1.06.14
|
||||||
- Enabled all options
|
- Enabled all options
|
||||||
|
|||||||
@@ -1,169 +0,0 @@
|
|||||||
%{!?release_func:%global release_func() %1%{?dist}}
|
|
||||||
|
|
||||||
Summary: A lightweight RPC library based on XML and HTTP
|
|
||||||
Name: xmlrpc-c
|
|
||||||
Version: 1.06.11
|
|
||||||
Release: %release_func 2
|
|
||||||
License: BSD/PSF -- see COPYING
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
URL: http://xmlrpc-c.sourceforge.net/
|
|
||||||
Source0: http://dl.sourceforge.net/sourceforge/xmlrpc-c/%name-%version.tar.bz2
|
|
||||||
Patch6: xmlrpc-c-1.06.04-sizet.patch
|
|
||||||
Patch100: http://ensc.de/xmlrpc-c/0001-make-cmake-transition.txt
|
|
||||||
BuildRoot: %_tmppath/%name-%version-%release-root
|
|
||||||
#BuildRequires: w3c-libwww-devel
|
|
||||||
BuildRequires: cmake
|
|
||||||
BuildRequires: curl-devel gcc-c++ libxml2-devel
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Development files for xmlrpc-c based programs
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %name = %version-%release
|
|
||||||
Requires: libxml2-devel curl-devel
|
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%package apps
|
|
||||||
Summary: Sample XML-RPC applications
|
|
||||||
Group: Applications/Internet
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
XML-RPC is a quick-and-easy way to make procedure calls over the
|
|
||||||
Internet. It converts the procedure call into XML document, sends it
|
|
||||||
to a remote server using HTTP, and gets back the response as XML.
|
|
||||||
|
|
||||||
This library provides a modular implementation of XML-RPC for C and
|
|
||||||
C++.
|
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
Static libraries and header files for writing XML-RPC applications in
|
|
||||||
C and C++.
|
|
||||||
|
|
||||||
|
|
||||||
%description apps
|
|
||||||
XML-RPC is a quick-and-easy way to make procedure calls over the
|
|
||||||
Internet. It converts the procedure call into XML document, sends it
|
|
||||||
to a remote server using HTTP, and gets back the response as XML.
|
|
||||||
|
|
||||||
This package contains some handy XML-RPC demo applications.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q
|
|
||||||
%patch6 -p1 -b .sizet
|
|
||||||
%patch100 -p1
|
|
||||||
|
|
||||||
## not needed...
|
|
||||||
rm doc/{INSTALL,configure_doc}
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
mkdir fedora
|
|
||||||
cd fedora
|
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
||||||
cmake .. \
|
|
||||||
-D_lib:STRING=%_lib \
|
|
||||||
-DMUST_BUILD_CURL_CLIENT:BOOL=ON \
|
|
||||||
-DMUST_BUILD_LIBWWW_CLIENT:BOOL=OFF \
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=%_prefix \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=ON
|
|
||||||
make VERBOSE=1 %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
cd fedora
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
chmod +x $RPM_BUILD_ROOT%_libdir/*.so
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc doc/*
|
|
||||||
%_libdir/*.so.*
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_bindir/xmlrpc-c-config
|
|
||||||
%_includedir/xmlrpc-c
|
|
||||||
%_includedir/*.h
|
|
||||||
%_libdir/pkgconfig/*.pc
|
|
||||||
%_libdir/*.so
|
|
||||||
|
|
||||||
|
|
||||||
%files apps
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc tools/xmlrpc/xmlrpc.html
|
|
||||||
%doc tools/xmlrpc_transport/xmlrpc_transport.html
|
|
||||||
%_mandir/man1/*
|
|
||||||
%_bindir/xmlrpc
|
|
||||||
%_bindir/xmlrpc_transport
|
|
||||||
%_bindir/xml-rpc-api2cpp
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Sun Apr 1 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.11-2
|
|
||||||
- rediffed cmake patch against current version
|
|
||||||
- made the xmlrpc-c-config compatible to the upstream version
|
|
||||||
- added compatibility symlinks for some header files (thx to Robert de
|
|
||||||
Vries for reporting these two issues)
|
|
||||||
|
|
||||||
* Sat Mar 17 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.11-1
|
|
||||||
- updated to 1.06.11
|
|
||||||
|
|
||||||
* Sat Feb 3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.09-1
|
|
||||||
- updated to 1.06.09
|
|
||||||
- removed -typo patch since applied upstream
|
|
||||||
|
|
||||||
* Mon Nov 6 2006 Jindrich Novy <jnovy@redhat.com> - 1.06.05-3
|
|
||||||
- rebuild against the new curl
|
|
||||||
|
|
||||||
* Mon Oct 2 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.05-2
|
|
||||||
- updated cmake patch
|
|
||||||
- strip installed libraries
|
|
||||||
|
|
||||||
* Wed Sep 20 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.05-1
|
|
||||||
- updated to 1.06.05
|
|
||||||
- merged + updated patches
|
|
||||||
|
|
||||||
* Sat Sep 16 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.04-1
|
|
||||||
- updated to 1.06.04
|
|
||||||
- patched the broken buildsystem
|
|
||||||
- disabled libwww backend explicitely
|
|
||||||
|
|
||||||
* Sun Jun 4 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.05-1
|
|
||||||
- updated to 1.05
|
|
||||||
- updated patches
|
|
||||||
|
|
||||||
* Sat Feb 18 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.04-2
|
|
||||||
- rebuilt for FC5
|
|
||||||
|
|
||||||
* Sun Dec 18 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.04-1
|
|
||||||
- added libxml2-devel and openssl-devel Requires: for the -devel
|
|
||||||
subpackage
|
|
||||||
- ship doc/* instead of doc
|
|
||||||
- initial Fedora Extras package (review 175840)
|
|
||||||
|
|
||||||
* Thu Dec 15 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.04-0.1
|
|
||||||
- disabled w3c-libwww because it does not exist anymore in FC5 and
|
|
||||||
seems to be unmaintained upstream
|
|
||||||
- added missing libxml2-devel
|
|
||||||
- cleaned up list of %%doc files
|
|
||||||
- fixed gcc4.1 build issues
|
|
||||||
- removed static libraries when there exists a corresponding dynamic one
|
|
||||||
|
|
||||||
|
|
||||||
* Tue Aug 2 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.03.02-1
|
|
||||||
- Initial build.
|
|
||||||
Reference in New Issue
Block a user