- updated to 1.16.4
- rediffed/updated patches - splitted some subpackages (c++, client) out of main package as they introduce additional dependencies (c++, curl)
This commit is contained in:
parent
015bac30ca
commit
27a1defebc
100
xmlrpc-c.spec
100
xmlrpc-c.spec
@ -1,34 +1,54 @@
|
|||||||
%global advanced_branch 1
|
%global advanced_branch 1
|
||||||
|
%global svnrev 1567
|
||||||
|
|
||||||
%{!?release_func:%global release_func() %1%{?dist}}
|
%{!?release_func:%global release_func() %1%{?dist}}
|
||||||
|
|
||||||
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.14.8
|
Version: 1.16.4
|
||||||
Release: %release_func 2
|
Release: %release_func 2.%svnrev
|
||||||
# See COPYING for details.
|
# See COPYING for details.
|
||||||
# The Python 1.5.2 license used by a few files is just BSD.
|
# The Python 1.5.2 license used by a few files is just BSD.
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://xmlrpc-c.sourceforge.net/
|
URL: http://xmlrpc-c.sourceforge.net/
|
||||||
%{!?advanced_branch:Source0: http://dl.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-%version.tgz}
|
%{!?advanced_branch:Source0: http://dl.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-%version.tgz}
|
||||||
# generated by 'make svn-sources [SVN_BASEVER=%version]'. Unfortunately,
|
# generated by 'make svn-sources [SVN_VER=%version SVN_REV=%svnrev]'. Unfortunately,
|
||||||
# upstream does not tag versions so we must fetch from the branch and
|
# upstream does not tag versions so we must fetch from the branch and
|
||||||
# check which version was used for it
|
# check which version was used for it
|
||||||
%{?advanced_branch:Source0: xmlrpc-c-%version.tar.bz2}
|
%{?advanced_branch:Source0: xmlrpc-c-%version.tar.bz2}
|
||||||
Patch100: make-cmake-transition.patch
|
Patch100: xmlrpc-c-cmake.patch
|
||||||
Patch102: fixed-broken-format-string-modifiers-for-size_t-type.patch
|
Patch102: xmlrpc-c-printf-size_t.patch
|
||||||
Patch105: use-proper-datatypes.patch
|
Patch105: xmlrpc-c-longlong.patch
|
||||||
|
Patch106: xmlrpc-c-va_list.patch
|
||||||
|
Patch107: xmlrpc-c-c++.patch
|
||||||
|
Patch108: xmlrpc-c-stdlib.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRoot: %_tmppath/%name-%version-%release-root
|
BuildRoot: %_tmppath/%name-%version-%release-root
|
||||||
#BuildRequires: w3c-libwww-devel
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: curl-devel libxml2-devel
|
BuildRequires: curl-devel libxml2-devel
|
||||||
|
|
||||||
|
%package c++
|
||||||
|
Summary: C++ libraries for xmlrpc-c
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %name = %version-%release
|
||||||
|
|
||||||
|
%package client
|
||||||
|
Summary: C client libraries for xmlrpc-c
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %name = %version-%release
|
||||||
|
|
||||||
|
%package client++
|
||||||
|
Summary: C++ client libraries for xmlrpc-c
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: %name = %version-%release
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for xmlrpc-c based programs
|
Summary: Development files for xmlrpc-c based programs
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %name = %version-%release
|
Requires: %name = %version-%release
|
||||||
|
Requires: %name-c++ = %version-%release
|
||||||
Requires: libxml2-devel curl-devel
|
Requires: libxml2-devel curl-devel
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
@ -42,8 +62,32 @@ 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
|
Internet. It converts the procedure call into XML document, sends it
|
||||||
to a remote server using HTTP, and gets back the response as XML.
|
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
|
This library provides a modular implementation of XML-RPC for C.
|
||||||
C++.
|
|
||||||
|
|
||||||
|
%description c++
|
||||||
|
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++.
|
||||||
|
|
||||||
|
|
||||||
|
%description client
|
||||||
|
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
|
||||||
|
clients.
|
||||||
|
|
||||||
|
%description client++
|
||||||
|
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++
|
||||||
|
clients.
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -64,6 +108,9 @@ This package contains some handy XML-RPC demo applications.
|
|||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
%patch105 -p1
|
%patch105 -p1
|
||||||
|
%patch106 -p1
|
||||||
|
%patch107 -p1
|
||||||
|
%patch108 -p1
|
||||||
|
|
||||||
## not needed...
|
## not needed...
|
||||||
rm doc/{INSTALL,configure_doc}
|
rm doc/{INSTALL,configure_doc}
|
||||||
@ -98,11 +145,38 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post client -p /sbin/ldconfig
|
||||||
|
%postun client -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post c++ -p /sbin/ldconfig
|
||||||
|
%postun c++ -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post client++ -p /sbin/ldconfig
|
||||||
|
%postun client++ -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc/*
|
%doc doc/*
|
||||||
%_libdir/*.so.*
|
%_libdir/*.so.3*
|
||||||
|
%exclude %_libdir/libxmlrpc_client.so*
|
||||||
|
|
||||||
|
|
||||||
|
%files client
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%_libdir/libxmlrpc_client.so.*
|
||||||
|
|
||||||
|
|
||||||
|
%files c++
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%_libdir/*.so.4*
|
||||||
|
%exclude %_libdir/libxmlrpc_client++.so*
|
||||||
|
|
||||||
|
|
||||||
|
%files client++
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%_libdir/libxmlrpc_client++.so.*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -126,6 +200,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 15 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.16.4.1567-2
|
||||||
|
- updated to 1.16.4
|
||||||
|
- rediffed/updated patches
|
||||||
|
- splitted some subpackages (c++, client) out of main package as they
|
||||||
|
introduce additional dependencies (c++, curl)
|
||||||
|
|
||||||
* Sat Sep 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14.8-2
|
* Sat Sep 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14.8-2
|
||||||
- fix license tag
|
- fix license tag
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user