- updated cmake patch
- strip installed libraries
This commit is contained in:
parent
9f015c0764
commit
c99f0acbc5
@ -1,6 +1,6 @@
|
|||||||
From f0c6498ab4e0809f035910c0b4a44aadbb82ddd1 Mon Sep 17 00:00:00 2001
|
From ca5754cd4b3f3fdf3b8b80bc2264aa4c1f2e76a4 Mon Sep 17 00:00:00 2001
|
||||||
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
||||||
Date: Wed, 20 Sep 2006 20:42:46 +0200
|
Date: Mon, 2 Oct 2006 13:37:48 +0200
|
||||||
Subject: [PATCH] make -> cmake transition
|
Subject: [PATCH] make -> cmake transition
|
||||||
|
|
||||||
---
|
---
|
||||||
@ -569,7 +569,7 @@ index 0000000..a8fb5a9
|
|||||||
+ensc_pkgconfig(xmlrpc_abyss)
|
+ensc_pkgconfig(xmlrpc_abyss)
|
||||||
diff --git a/lib/abyss/src/xmlrpc_abyss.pc.cmake b/lib/abyss/src/xmlrpc_abyss.pc.cmake
|
diff --git a/lib/abyss/src/xmlrpc_abyss.pc.cmake b/lib/abyss/src/xmlrpc_abyss.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..8f913e5
|
index 0000000..2a4f124
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/lib/abyss/src/xmlrpc_abyss.pc.cmake
|
+++ b/lib/abyss/src/xmlrpc_abyss.pc.cmake
|
||||||
@@ -0,0 +1,10 @@
|
@@ -0,0 +1,10 @@
|
||||||
@ -580,8 +580,8 @@ index 0000000..8f913e5
|
|||||||
+Description: XMLRPC Abyss base library
|
+Description: XMLRPC Abyss base library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc_util
|
+Requires.private: xmlrpc_util
|
||||||
+Libs: -L${libdir} -lxmlrpc_abyss @xmlrpc_abyss_pkgconfig_libs@
|
+Libs: -L${libdir} -lxmlrpc_abyss @xmlrpc_abyss_pkgconfig_libs@
|
||||||
+Cflags:
|
+Cflags:
|
||||||
diff --git a/lib/curl_transport/CMakeLists.txt b/lib/curl_transport/CMakeLists.txt
|
diff --git a/lib/curl_transport/CMakeLists.txt b/lib/curl_transport/CMakeLists.txt
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
@ -635,7 +635,7 @@ index 0000000..f87008a
|
|||||||
+ensc_pkgconfig(xmlrpc_xmlparse)
|
+ensc_pkgconfig(xmlrpc_xmlparse)
|
||||||
diff --git a/lib/expat/xmlparse/xmlrpc_xmlparse.pc.cmake b/lib/expat/xmlparse/xmlrpc_xmlparse.pc.cmake
|
diff --git a/lib/expat/xmlparse/xmlrpc_xmlparse.pc.cmake b/lib/expat/xmlparse/xmlrpc_xmlparse.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..cd9900f
|
index 0000000..71d77da
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/lib/expat/xmlparse/xmlrpc_xmlparse.pc.cmake
|
+++ b/lib/expat/xmlparse/xmlrpc_xmlparse.pc.cmake
|
||||||
@@ -0,0 +1,10 @@
|
@@ -0,0 +1,10 @@
|
||||||
@ -646,8 +646,8 @@ index 0000000..cd9900f
|
|||||||
+Description: XMLRPC xmlparse library
|
+Description: XMLRPC xmlparse library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc_xmltok
|
+Requires.private: xmlrpc_xmltok
|
||||||
+Libs: -L${libdir} -lxmlrpc_xmlparse
|
+Libs: -L${libdir} -lxmlrpc_xmlparse
|
||||||
+Cflags:
|
+Cflags:
|
||||||
diff --git a/lib/expat/xmltok/CMakeLists.txt b/lib/expat/xmltok/CMakeLists.txt
|
diff --git a/lib/expat/xmltok/CMakeLists.txt b/lib/expat/xmltok/CMakeLists.txt
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
@ -941,7 +941,7 @@ index 0000000..9ab2530
|
|||||||
+ SOVERSION ${XMLRPC_C_SOVERSION})
|
+ SOVERSION ${XMLRPC_C_SOVERSION})
|
||||||
diff --git a/src/cpp/xmlrpc++.pc.cmake b/src/cpp/xmlrpc++.pc.cmake
|
diff --git a/src/cpp/xmlrpc++.pc.cmake b/src/cpp/xmlrpc++.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..9c35667
|
index 0000000..cda7f56
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/cpp/xmlrpc++.pc.cmake
|
+++ b/src/cpp/xmlrpc++.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -953,12 +953,12 @@ index 0000000..9c35667
|
|||||||
+Description: XMLRPC C++ Base library
|
+Description: XMLRPC C++ Base library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc
|
+Requires.private: xmlrpc
|
||||||
+Libs: -L${libdir} -lxmlrpc++
|
+Libs: -L${libdir} -lxmlrpc++
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/src/cpp/xmlrpc_client++.pc.cmake b/src/cpp/xmlrpc_client++.pc.cmake
|
diff --git a/src/cpp/xmlrpc_client++.pc.cmake b/src/cpp/xmlrpc_client++.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..a02bd6e
|
index 0000000..188b3a6
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/cpp/xmlrpc_client++.pc.cmake
|
+++ b/src/cpp/xmlrpc_client++.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -970,12 +970,12 @@ index 0000000..a02bd6e
|
|||||||
+Description: XMLRPC C++ Client library
|
+Description: XMLRPC C++ Client library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc++ xmlrpc_client
|
+Requires.private: xmlrpc++ xmlrpc_client
|
||||||
+Libs: -L${libdir} -lxmlrpc_client++
|
+Libs: -L${libdir} -lxmlrpc_client++
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/src/cpp/xmlrpc_cpp.pc.cmake b/src/cpp/xmlrpc_cpp.pc.cmake
|
diff --git a/src/cpp/xmlrpc_cpp.pc.cmake b/src/cpp/xmlrpc_cpp.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..52c092c
|
index 0000000..b8f5af3
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/cpp/xmlrpc_cpp.pc.cmake
|
+++ b/src/cpp/xmlrpc_cpp.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -987,12 +987,12 @@ index 0000000..52c092c
|
|||||||
+Description: XMLRPC CPP library
|
+Description: XMLRPC CPP library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc xmlrpc_server xmlrpc_client
|
+Requires.private: xmlrpc xmlrpc_server xmlrpc_client
|
||||||
+Libs: -L${libdir} -lxmlrpc_cpp
|
+Libs: -L${libdir} -lxmlrpc_cpp
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/src/cpp/xmlrpc_server++.pc.cmake b/src/cpp/xmlrpc_server++.pc.cmake
|
diff --git a/src/cpp/xmlrpc_server++.pc.cmake b/src/cpp/xmlrpc_server++.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..71e394e
|
index 0000000..07b9e7b
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/cpp/xmlrpc_server++.pc.cmake
|
+++ b/src/cpp/xmlrpc_server++.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -1004,12 +1004,12 @@ index 0000000..71e394e
|
|||||||
+Description: XMLRPC C++ Server library
|
+Description: XMLRPC C++ Server library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc++ xmlrpc_server
|
+Requires.private: xmlrpc++ xmlrpc_server
|
||||||
+Libs: -L${libdir} -lxmlrpc_server++
|
+Libs: -L${libdir} -lxmlrpc_server++
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/src/cpp/xmlrpc_server_abyss++.pc.cmake b/src/cpp/xmlrpc_server_abyss++.pc.cmake
|
diff --git a/src/cpp/xmlrpc_server_abyss++.pc.cmake b/src/cpp/xmlrpc_server_abyss++.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..1d28749
|
index 0000000..d9eb456
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/cpp/xmlrpc_server_abyss++.pc.cmake
|
+++ b/src/cpp/xmlrpc_server_abyss++.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -1021,8 +1021,8 @@ index 0000000..1d28749
|
|||||||
+Description: XMLRPC C++ Abyss-Server library
|
+Description: XMLRPC C++ Abyss-Server library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc_server_abyss xmlrpc_server++
|
+Requires.private: xmlrpc_server_abyss xmlrpc_server++
|
||||||
+Libs: -L${libdir} -lxmlrpc_server_abyss++
|
+Libs: -L${libdir} -lxmlrpc_server_abyss++
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
|
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
@ -1059,7 +1059,7 @@ index 0000000..3deb9cb
|
|||||||
+add_test(runtests src-test)
|
+add_test(runtests src-test)
|
||||||
diff --git a/src/xmlrpc.pc.cmake b/src/xmlrpc.pc.cmake
|
diff --git a/src/xmlrpc.pc.cmake b/src/xmlrpc.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..7d74537
|
index 0000000..fd0c872
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/xmlrpc.pc.cmake
|
+++ b/src/xmlrpc.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -1071,12 +1071,12 @@ index 0000000..7d74537
|
|||||||
+Description: XMLRPC base library
|
+Description: XMLRPC base library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: @xmlrpc_pkgconfig_req@ xmlrpc_util
|
+Requires.private: @xmlrpc_pkgconfig_req@ xmlrpc_util
|
||||||
+Libs: -L${libdir} -lxmlrpc @xmlrpc_pkgconfig_libs@
|
+Libs: -L${libdir} -lxmlrpc @xmlrpc_pkgconfig_libs@
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/src/xmlrpc_client.pc.cmake b/src/xmlrpc_client.pc.cmake
|
diff --git a/src/xmlrpc_client.pc.cmake b/src/xmlrpc_client.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..4233a27
|
index 0000000..16bdd22
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/xmlrpc_client.pc.cmake
|
+++ b/src/xmlrpc_client.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -1088,12 +1088,12 @@ index 0000000..4233a27
|
|||||||
+Description: XMLRPC client library
|
+Description: XMLRPC client library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc @xmlrpc_client_pkgconfig_req@
|
+Requires.private: xmlrpc @xmlrpc_client_pkgconfig_req@
|
||||||
+Libs: -L${libdir} -lxmlrpc_client @client_libwww_LIBS@ @client_wininet_LIBS@
|
+Libs: -L${libdir} -lxmlrpc_client @client_libwww_LIBS@ @client_wininet_LIBS@
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/src/xmlrpc_server.pc.cmake b/src/xmlrpc_server.pc.cmake
|
diff --git a/src/xmlrpc_server.pc.cmake b/src/xmlrpc_server.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..3c585e5
|
index 0000000..ca7224c
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/xmlrpc_server.pc.cmake
|
+++ b/src/xmlrpc_server.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -1105,12 +1105,12 @@ index 0000000..3c585e5
|
|||||||
+Description: XMLRPC Server library
|
+Description: XMLRPC Server library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc
|
+Requires.private: xmlrpc
|
||||||
+Libs: -L${libdir} -lxmlrpc_server
|
+Libs: -L${libdir} -lxmlrpc_server
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/src/xmlrpc_server_abyss.pc.cmake b/src/xmlrpc_server_abyss.pc.cmake
|
diff --git a/src/xmlrpc_server_abyss.pc.cmake b/src/xmlrpc_server_abyss.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..be2e4c1
|
index 0000000..7fbecc9
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/xmlrpc_server_abyss.pc.cmake
|
+++ b/src/xmlrpc_server_abyss.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -1122,12 +1122,12 @@ index 0000000..be2e4c1
|
|||||||
+Description: XMLRPC Server Abyss library
|
+Description: XMLRPC Server Abyss library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc_server xmlrpc_abyss
|
+Requires.private: xmlrpc_server xmlrpc_abyss
|
||||||
+Libs: -L${libdir} -lxmlrpc_server_abyss
|
+Libs: -L${libdir} -lxmlrpc_server_abyss
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/src/xmlrpc_server_cgi.pc.cmake b/src/xmlrpc_server_cgi.pc.cmake
|
diff --git a/src/xmlrpc_server_cgi.pc.cmake b/src/xmlrpc_server_cgi.pc.cmake
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..ac0c031
|
index 0000000..8042912
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/xmlrpc_server_cgi.pc.cmake
|
+++ b/src/xmlrpc_server_cgi.pc.cmake
|
||||||
@@ -0,0 +1,11 @@
|
@@ -0,0 +1,11 @@
|
||||||
@ -1139,8 +1139,8 @@ index 0000000..ac0c031
|
|||||||
+Description: XMLRPC CGI-Server library
|
+Description: XMLRPC CGI-Server library
|
||||||
+Version: @XMLRPC_C_VERSION@
|
+Version: @XMLRPC_C_VERSION@
|
||||||
+
|
+
|
||||||
+Requires: xmlrpc_server
|
+Requires.private: xmlrpc_server
|
||||||
+Libs: -L${libdir} -lxmlrpc_server_cgi
|
+Libs: -L${libdir} -lxmlrpc_server_cgi
|
||||||
+Cflags: -I${includedir}
|
+Cflags: -I${includedir}
|
||||||
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
|
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
@ -1345,5 +1345,5 @@ index 0000000..98b37ef
|
|||||||
+
|
+
|
||||||
+#endif
|
+#endif
|
||||||
--
|
--
|
||||||
1.4.2
|
1.4.2.1
|
||||||
|
|
@ -5,14 +5,14 @@
|
|||||||
Summary: A lightweight RPC library based on XML and HTTP
|
Summary: A lightweight RPC library based on XML and HTTP
|
||||||
Name: xmlrpc-c
|
Name: xmlrpc-c
|
||||||
Version: 1.06.05
|
Version: 1.06.05
|
||||||
Release: %release_func 1
|
Release: %release_func 2
|
||||||
License: BSD/PSF -- see COPYING
|
License: BSD/PSF -- see COPYING
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://xmlrpc-c.sourceforge.net/
|
URL: http://xmlrpc-c.sourceforge.net/
|
||||||
Source0: http://dl.sourceforge.net/sourceforge/xmlrpc-c/%name-%version.tgz
|
Source0: http://dl.sourceforge.net/sourceforge/xmlrpc-c/%name-%version.tgz
|
||||||
Patch3: xmlrpc-c-1.05-typo.patch
|
Patch3: xmlrpc-c-1.05-typo.patch
|
||||||
Patch6: xmlrpc-c-1.06.04-sizet.patch
|
Patch6: xmlrpc-c-1.06.04-sizet.patch
|
||||||
Patch100: http://ensc.de/xmlrpc-c/0003-make-cmake-transition.txt
|
Patch100: http://ensc.de/xmlrpc-c/0001-make-cmake-transition.txt
|
||||||
BuildRoot: %_tmppath/%name-%version-%release-root
|
BuildRoot: %_tmppath/%name-%version-%release-root
|
||||||
#BuildRequires: w3c-libwww-devel
|
#BuildRequires: w3c-libwww-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -87,6 +87,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
cd fedora
|
cd fedora
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
chmod +x $RPM_BUILD_ROOT%_libdir/*.so
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -121,6 +123,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Wed Sep 20 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.05-1
|
||||||
- updated to 1.06.05
|
- updated to 1.06.05
|
||||||
- merged + updated patches
|
- merged + updated patches
|
||||||
|
Loading…
Reference in New Issue
Block a user