2008-02-26 21:27:37 +00:00
|
|
|
%global advanced_branch 1
|
2008-12-11 08:37:36 +00:00
|
|
|
%global svnrev 1582
|
2008-02-26 21:27:37 +00:00
|
|
|
|
2005-12-18 18:16:01 +00:00
|
|
|
%{!?release_func:%global release_func() %1%{?dist}}
|
|
|
|
|
|
|
|
Summary: A lightweight RPC library based on XML and HTTP
|
|
|
|
Name: xmlrpc-c
|
2008-12-11 08:37:36 +00:00
|
|
|
Version: 1.16.6
|
|
|
|
Release: %release_func 1.%svnrev
|
2008-09-06 21:48:12 +00:00
|
|
|
# See COPYING for details.
|
|
|
|
# The Python 1.5.2 license used by a few files is just BSD.
|
|
|
|
License: BSD and MIT
|
2005-12-18 18:16:01 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://xmlrpc-c.sourceforge.net/
|
2008-02-26 21:27:37 +00:00
|
|
|
%{!?advanced_branch:Source0: http://dl.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-%version.tgz}
|
2008-11-15 13:47:35 +00:00
|
|
|
# generated by 'make svn-sources [SVN_VER=%version SVN_REV=%svnrev]'. Unfortunately,
|
2008-02-26 21:27:37 +00:00
|
|
|
# upstream does not tag versions so we must fetch from the branch and
|
|
|
|
# check which version was used for it
|
|
|
|
%{?advanced_branch:Source0: xmlrpc-c-%version.tar.bz2}
|
2008-11-15 13:47:35 +00:00
|
|
|
Patch100: xmlrpc-c-cmake.patch
|
|
|
|
Patch102: xmlrpc-c-printf-size_t.patch
|
|
|
|
Patch105: xmlrpc-c-longlong.patch
|
|
|
|
Patch106: xmlrpc-c-va_list.patch
|
|
|
|
|
2008-02-26 21:27:37 +00:00
|
|
|
|
2005-12-18 18:16:01 +00:00
|
|
|
BuildRoot: %_tmppath/%name-%version-%release-root
|
2006-09-18 06:34:09 +00:00
|
|
|
BuildRequires: cmake
|
2005-12-18 18:16:01 +00:00
|
|
|
BuildRequires: curl-devel libxml2-devel
|
|
|
|
|
2008-11-15 13:47:35 +00:00
|
|
|
%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
|
|
|
|
|
2005-12-18 18:16:01 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for xmlrpc-c based programs
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %name = %version-%release
|
2008-11-15 13:47:35 +00:00
|
|
|
Requires: %name-c++ = %version-%release
|
2005-12-18 18:16:01 +00:00
|
|
|
Requires: libxml2-devel curl-devel
|
2006-09-18 06:22:42 +00:00
|
|
|
Requires: pkgconfig
|
2005-12-18 18:16:01 +00:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2008-11-15 13:47:35 +00:00
|
|
|
This library provides a modular implementation of XML-RPC for 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.
|
2005-12-18 18:16:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
%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
|
2008-02-26 21:27:37 +00:00
|
|
|
%setup -q
|
2007-04-01 12:54:10 +00:00
|
|
|
%patch100 -p1
|
2008-02-26 21:27:37 +00:00
|
|
|
%patch102 -p1
|
2008-04-12 08:45:52 +00:00
|
|
|
%patch105 -p1
|
2008-11-15 13:47:35 +00:00
|
|
|
%patch106 -p1
|
2005-12-18 18:16:01 +00:00
|
|
|
|
|
|
|
## not needed...
|
|
|
|
rm doc/{INSTALL,configure_doc}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2008-02-26 21:27:37 +00:00
|
|
|
mkdir -p fedora
|
2006-09-18 06:22:42 +00:00
|
|
|
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 \
|
2006-09-20 18:45:55 +00:00
|
|
|
-DBUILD_SHARED_LIBS:BOOL=ON
|
2008-03-16 12:54:10 +00:00
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
2005-12-18 18:16:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-09-18 06:22:42 +00:00
|
|
|
cd fedora
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2006-10-02 15:02:03 +00:00
|
|
|
|
|
|
|
chmod +x $RPM_BUILD_ROOT%_libdir/*.so
|
|
|
|
|
2005-12-18 18:16:01 +00:00
|
|
|
|
2008-11-15 14:13:58 +00:00
|
|
|
%check
|
|
|
|
unset PKG_CONFIG_PATH
|
|
|
|
export PKG_CONFIG_LIBDIR=$RPM_BUILD_ROOT%_libdir/pkgconfig:%_libdir/pkgconfig:%_datadir/pkgconfig
|
|
|
|
PATH=$RPM_BUILD_ROOT%_bindir:$PATH
|
|
|
|
|
|
|
|
for comp in c++ cgi-server server-util abyss-server client libwww-client; do
|
|
|
|
for opt in '--version' '--libs' 'c++2 --libs' 'c++ --libs --static'; do
|
|
|
|
xmlrpc-c-config "$comp" $opt
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
2005-12-18 18:16:01 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2008-11-15 13:47:35 +00:00
|
|
|
%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
|
|
|
|
|
|
|
|
|
2005-12-18 18:16:01 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc doc/*
|
2008-11-15 13:47:35 +00:00
|
|
|
%_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.*
|
2005-12-18 18:16:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%_bindir/xmlrpc-c-config
|
2007-04-01 12:54:10 +00:00
|
|
|
%_includedir/xmlrpc-c
|
|
|
|
%_includedir/*.h
|
2006-09-18 06:22:42 +00:00
|
|
|
%_libdir/pkgconfig/*.pc
|
2005-12-18 18:16:01 +00:00
|
|
|
%_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
|
2008-02-26 21:27:37 +00:00
|
|
|
%_bindir/xmlrpc_cpp_proxy
|
2005-12-18 18:16:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2008-12-11 08:37:36 +00:00
|
|
|
* Thu Dec 11 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.16.6-2.1582
|
|
|
|
- updated to 1.16.6; rediffed patches
|
|
|
|
- fixed client headers (bug #475887)
|
|
|
|
|
2008-11-15 13:47:35 +00:00
|
|
|
* 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)
|
|
|
|
|
2008-09-06 21:48:12 +00:00
|
|
|
* Sat Sep 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.14.8-2
|
|
|
|
- fix license tag
|
|
|
|
|
2008-06-21 14:26:59 +00:00
|
|
|
* Sat Jun 21 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.14.8-1
|
|
|
|
- updated to 1.14.8
|
|
|
|
|
2008-05-25 10:41:41 +00:00
|
|
|
* Sun May 25 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.14.6-1
|
|
|
|
- updated to 1.14.6
|
|
|
|
|
2008-04-12 08:45:52 +00:00
|
|
|
* Sat Apr 12 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.14.2-1
|
|
|
|
- updated to 1.14.2
|
|
|
|
- rediffed patches
|
|
|
|
- added patch to fix broken usage of 'long long' datatype
|
|
|
|
|
2008-03-17 20:00:13 +00:00
|
|
|
* Mon Mar 17 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.13.8-2
|
|
|
|
- fixed cmake quoting so that pkgconfig files get correct version number
|
|
|
|
- fixed handling of 'server-util' and '--cflags' within xmlrpc-c-config
|
|
|
|
|
2008-03-16 12:54:10 +00:00
|
|
|
* Sun Mar 16 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.13.8-1
|
|
|
|
- updated to 1.13.8
|
|
|
|
- removed some patches which were applied upstream
|
|
|
|
|
2008-02-26 21:27:37 +00:00
|
|
|
* Tue Feb 26 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.13.07-2
|
|
|
|
- moved to advanced branched; rediffed/updated existing cmake patch
|
|
|
|
and fixed other compilation issues (#369841)
|
|
|
|
|
2008-02-19 02:40:57 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.06.23-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-02 00:36:18 +00:00
|
|
|
* Wed Jan 2 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.23-1
|
|
|
|
- use correct pkg-config script for 'xmlrpc-config abyss-server'
|
|
|
|
output (#355411)
|
|
|
|
- updated to 1.06.23 (#355411)
|
|
|
|
|
2007-09-04 07:41:11 +00:00
|
|
|
* Tue Sep 4 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.18-1
|
|
|
|
- updated to 1.06.18
|
|
|
|
|
2007-08-16 17:58:38 +00:00
|
|
|
* Thu Aug 16 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.17-1
|
|
|
|
- updated to 1.06.17
|
|
|
|
|
2007-07-22 11:54:19 +00:00
|
|
|
* Sun Jul 22 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.16-1
|
|
|
|
- updated to 1.06.16
|
|
|
|
|
2007-06-14 07:07:01 +00:00
|
|
|
* Thu Jun 14 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.14-1
|
|
|
|
- updated to 1.06.14
|
|
|
|
|
2007-04-01 12:54:10 +00:00
|
|
|
* 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)
|
|
|
|
|
2007-03-17 17:25:18 +00:00
|
|
|
* Sat Mar 17 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.11-1
|
|
|
|
- updated to 1.06.11
|
|
|
|
|
2007-02-03 17:33:12 +00:00
|
|
|
* 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
|
|
|
|
|
2006-11-06 14:01:36 +00:00
|
|
|
* Mon Nov 6 2006 Jindrich Novy <jnovy@redhat.com> - 1.06.05-3
|
|
|
|
- rebuild against the new curl
|
|
|
|
|
2006-10-02 15:02:03 +00:00
|
|
|
* Mon Oct 2 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.05-2
|
|
|
|
- updated cmake patch
|
|
|
|
- strip installed libraries
|
|
|
|
|
2006-09-20 18:45:55 +00:00
|
|
|
* Wed Sep 20 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.05-1
|
2006-09-20 16:48:17 +00:00
|
|
|
- updated to 1.06.05
|
2006-09-20 18:45:55 +00:00
|
|
|
- merged + updated patches
|
2006-09-20 16:48:17 +00:00
|
|
|
|
2006-09-18 06:22:42 +00:00
|
|
|
* 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
|
|
|
|
|
2006-06-04 16:26:19 +00:00
|
|
|
* Sun Jun 4 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.05-1
|
2006-06-04 16:21:22 +00:00
|
|
|
- updated to 1.05
|
|
|
|
- updated patches
|
|
|
|
|
2006-02-18 11:56:06 +00:00
|
|
|
* Sat Feb 18 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.04-2
|
|
|
|
- rebuilt for FC5
|
|
|
|
|
2005-12-18 18:16:01 +00:00
|
|
|
* 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.
|