forked from pool/xmlrpc-c
This commit is contained in:
parent
37fd546062
commit
80c458e18a
212
xmlrpc-c.spec
212
xmlrpc-c.spec
@ -1,97 +1,169 @@
|
|||||||
Name: xmlrpc-c
|
%{!?release_func:%global release_func() %1%{?dist}}
|
||||||
BuildRequires: curl-devel gcc-c++ libxml2-devel openssl-devel pkgconfig
|
|
||||||
BuildRequires: w3c-libwww-devel
|
Summary: A lightweight RPC library based on XML and HTTP
|
||||||
Version: 1.06.14
|
Name: xmlrpc-c
|
||||||
Release: 0
|
Version: 1.06.11
|
||||||
License: BSD, Python
|
Release: %release_func 2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
License: BSD/PSF -- see COPYING
|
||||||
URL: http://xmlrpc-c.sourceforge.net/
|
Group: System Environment/Libraries
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
URL: http://xmlrpc-c.sourceforge.net/
|
||||||
Summary: A library implementing XML-based remote procedure calls
|
Source0: http://dl.sourceforge.net/sourceforge/xmlrpc-c/%name-%version.tgz
|
||||||
Group: System/Libraries
|
Patch6: xmlrpc-c-1.06.04-sizet.patch
|
||||||
Autoreqprov: on
|
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 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
|
%description
|
||||||
XML-RPC is a lightweight RPC protocol based on XML and HTTP. This
|
XML-RPC is a quick-and-easy way to make procedure calls over the
|
||||||
package is used by XML-RPC clients and servers written in C and C++.
|
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++.
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Eric Kidd <eric.kidd@pobox.com>
|
|
||||||
|
|
||||||
%debug_package
|
|
||||||
%package devel
|
|
||||||
Summary: Development package for xmlrpc-c
|
|
||||||
Group: System/Libraries
|
|
||||||
Requires: %name = %version
|
|
||||||
Requires: openssl libxml2
|
|
||||||
#Requires: w3c-libwww
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Files needed for software development using xmlrpc-c.
|
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.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Eric Kidd <eric.kidd@pobox.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch6 -p1 -b .sizet
|
||||||
|
%patch100 -p1
|
||||||
|
|
||||||
|
## not needed...
|
||||||
|
rm doc/{INSTALL,configure_doc}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
mkdir fedora
|
||||||
CPPFLAGS="$RPM_OPT_FLAGS -fPIC"
|
cd fedora
|
||||||
./configure --prefix=%_prefix \
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
--libdir=%_libdir \
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||||
--sysconfdir=%_sysconfdir\
|
cmake .. \
|
||||||
--mandir=%_mandir \
|
-D_lib:STRING=%_lib \
|
||||||
--infodir=%_infodir \
|
-DMUST_BUILD_CURL_CLIENT:BOOL=ON \
|
||||||
--localstatedir=%_localstatedir
|
-DMUST_BUILD_LIBWWW_CLIENT:BOOL=OFF \
|
||||||
# --disable-cplusplus \
|
-DCMAKE_INSTALL_PREFIX:PATH=%_prefix \
|
||||||
# --disable-libwww-client \
|
-DBUILD_SHARED_LIBS:BOOL=ON
|
||||||
# --disable-cgi-server
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
# --enable-libxml2-backend
|
|
||||||
# --disable-abyss-server \
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
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
|
||||||
|
|
||||||
%post
|
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun
|
%post -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
%_libdir/libxmlrpc*so.*
|
%doc doc/*
|
||||||
|
%_libdir/*.so.*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
%_libdir/libxmlrpc*a
|
%_bindir/xmlrpc-c-config
|
||||||
%_libdir/libxmlrpc*so
|
%_includedir/xmlrpc-c
|
||||||
%_includedir/*
|
%_includedir/*.h
|
||||||
%_bindir/*
|
%_libdir/pkgconfig/*.pc
|
||||||
#%_mandir/man*/*
|
%_libdir/*.so
|
||||||
|
|
||||||
%changelog -n xmlrpc-c
|
|
||||||
* Wed Mar 14 2006 - peter+rpmspam@suntel.com.tr
|
%files apps
|
||||||
- enabled abyss-server
|
%defattr(-,root,root,-)
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
%doc tools/xmlrpc/xmlrpc.html
|
||||||
- converted neededforbuild to BuildRequires
|
%doc tools/xmlrpc_transport/xmlrpc_transport.html
|
||||||
* Thu Mar 18 2004 - hvogel@suse.de
|
%_mandir/man1/*
|
||||||
- fix files list
|
%_bindir/xmlrpc
|
||||||
* Tue Mar 16 2004 - kkaempf@suse.de
|
%_bindir/xmlrpc_transport
|
||||||
- fix libdir for 64bit
|
%_bindir/xml-rpc-api2cpp
|
||||||
* Tue Mar 16 2004 - hvogel@suse.de
|
|
||||||
- fix bogus %%prefix usage
|
|
||||||
* Tue Mar 16 2004 - kkaempf@suse.de
|
%changelog
|
||||||
- fix filelist
|
* Sun Apr 1 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.06.11-2
|
||||||
* Tue Mar 16 2004 - kkaempf@suse.de
|
- rediffed cmake patch against current version
|
||||||
- initial package version 0.9.10
|
- 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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user