2007-06-12 10:13:48 +00:00
|
|
|
Name: xmlrpc-c
|
2007-06-12 11:44:29 +00:00
|
|
|
Version: 1.06.11
|
2007-06-12 10:13:48 +00:00
|
|
|
Release: 0
|
|
|
|
License: BSD, Python
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
URL: http://xmlrpc-c.sourceforge.net/
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Summary: A library implementing XML-based remote procedure calls
|
|
|
|
Group: System/Libraries
|
|
|
|
Autoreqprov: on
|
2007-06-12 10:19:24 +00:00
|
|
|
BuildRequires: curl-devel file gcc-c++ libxml2-devel openssl-devel pkgconfig
|
2007-06-12 11:32:15 +00:00
|
|
|
|
|
|
|
# sipxvxml requires xmlrpc-c built against w3c-libwww :-(
|
|
|
|
Requires: w3c-libwww
|
|
|
|
BuildRequires: w3c-libwww-devel
|
2007-03-14 15:08:23 +00:00
|
|
|
|
2007-06-12 10:13:48 +00:00
|
|
|
%description
|
|
|
|
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++.
|
2007-03-14 15:08:23 +00:00
|
|
|
|
|
|
|
|
2007-06-12 10:02:37 +00:00
|
|
|
|
2007-06-12 10:13:48 +00:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Eric Kidd <eric.kidd@pobox.com>
|
2007-03-14 15:08:23 +00:00
|
|
|
|
2007-06-12 10:13:48 +00:00
|
|
|
%debug_package
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for xmlrpc-c
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %name = %version
|
|
|
|
Requires: openssl libxml2
|
2007-06-12 11:32:15 +00:00
|
|
|
Requires: w3c-libwww
|
2007-03-14 15:08:23 +00:00
|
|
|
|
|
|
|
%description devel
|
2007-06-12 10:13:48 +00:00
|
|
|
Files needed for software development using xmlrpc-c.
|
2007-03-14 15:08:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-06-12 10:13:48 +00:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Eric Kidd <eric.kidd@pobox.com>
|
2007-03-14 15:08:23 +00:00
|
|
|
|
|
|
|
%prep
|
2007-06-05 21:03:54 +00:00
|
|
|
%setup -q
|
2007-03-14 15:08:23 +00:00
|
|
|
|
|
|
|
%build
|
2007-06-12 10:13:48 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
CPPFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
./configure --prefix=%_prefix \
|
|
|
|
--libdir=%_libdir \
|
|
|
|
--sysconfdir=%_sysconfdir\
|
|
|
|
--mandir=%_mandir \
|
|
|
|
--infodir=%_infodir \
|
2007-06-12 11:16:50 +00:00
|
|
|
--localstatedir=%_localstatedir \
|
|
|
|
--enable-libxml2-backend
|
2007-06-12 10:13:48 +00:00
|
|
|
# --disable-cplusplus \
|
|
|
|
# --disable-libwww-client \
|
|
|
|
# --disable-cgi-server
|
|
|
|
# --disable-abyss-server \
|
2007-03-14 15:08:23 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-06-12 10:13:48 +00:00
|
|
|
%post
|
|
|
|
%run_ldconfig
|
2007-03-14 15:08:23 +00:00
|
|
|
|
2007-06-12 10:13:48 +00:00
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
2007-03-14 15:08:23 +00:00
|
|
|
|
|
|
|
%files
|
2007-06-12 10:13:48 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%_libdir/libxmlrpc*so.*
|
2007-03-14 15:08:23 +00:00
|
|
|
|
|
|
|
%files devel
|
2007-06-12 10:13:48 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%_libdir/libxmlrpc*a
|
|
|
|
%_libdir/libxmlrpc*so
|
|
|
|
%_includedir/*
|
|
|
|
%_bindir/*
|
|
|
|
#%_mandir/man*/*
|
|
|
|
|
|
|
|
%changelog -n xmlrpc-c
|
|
|
|
* Wed Mar 14 2006 - peter+rpmspam@suntel.com.tr
|
|
|
|
- enabled abyss-server
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Thu Mar 18 2004 - hvogel@suse.de
|
|
|
|
- fix files list
|
|
|
|
* Tue Mar 16 2004 - kkaempf@suse.de
|
|
|
|
- fix libdir for 64bit
|
|
|
|
* Tue Mar 16 2004 - hvogel@suse.de
|
|
|
|
- fix bogus %%prefix usage
|
|
|
|
* Tue Mar 16 2004 - kkaempf@suse.de
|
|
|
|
- fix filelist
|
|
|
|
* Tue Mar 16 2004 - kkaempf@suse.de
|
|
|
|
- initial package version 0.9.10
|