forked from pool/xmlrpc-c
also ship .a libs
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/xmlrpc-c?expand=0&rev=57
This commit is contained in:
committed by
Git OBS Bridge
parent
fa41a25e2f
commit
638c9e5023
@@ -8,7 +8,7 @@ Release: 1.0
|
||||
License: BSD
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://xmlrpc-c.sourceforge.net
|
||||
# http://prdownloads.sourceforge.net/xmlrpc-c/xmlrpc-1.06.37.tgz
|
||||
# http://prdownloads.sourceforge.net/xmlrpc-c/xmlrpc-%{version}.tgz
|
||||
Source: xmlrpc-%{version}.tar.bz2
|
||||
Patch0: xmlrpc-c-1.06.04-sizet.patch
|
||||
Patch1: xmlrpc-c-fix_as_needed.patch
|
||||
@@ -127,14 +127,13 @@ Authors:
|
||||
|
||||
%build
|
||||
export CFLAGS_PERSONAL="%{optflags} -fPIC -DPIC"
|
||||
%configure --disable-static --enable-libxml2-backend
|
||||
%configure --enable-libxml2-backend --enable-shared
|
||||
# don't pass -j, breaks build
|
||||
%__make
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
find "%{buildroot}/" -name '*.a' -exec %__rm {} \;
|
||||
find "%{buildroot}/" -name '*.la' -exec %__rm {} \;
|
||||
%__rm "%{buildroot}%{_libdir}"/*.la
|
||||
|
||||
%post -n libxmlrpc++%{soname} -p /sbin/ldconfig
|
||||
%post -n libxmlrpc_client++%{soname} -p /sbin/ldconfig
|
||||
@@ -161,28 +160,34 @@ test "%{buildroot}" != "/" && %__rm -rf "%{buildroot}"
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/xmlrpc-c-config
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%{_includedir}/XmlRpcCpp.h
|
||||
%{_includedir}/xmlrpc*
|
||||
|
||||
%files -n libxmlrpc++%{soname}
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libxmlrpc++.so.%{soname}*
|
||||
%{_libdir}/libxmlrpc++.so.%{soname}
|
||||
%{_libdir}/libxmlrpc++.so.%{soname}.*
|
||||
|
||||
%files -n libxmlrpc_client++%{soname}
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libxmlrpc_client++.so.%{soname}*
|
||||
%{_libdir}/libxmlrpc_client++.so.%{soname}
|
||||
%{_libdir}/libxmlrpc_client++.so.%{soname}.*
|
||||
|
||||
%files -n libxmlrpc_cpp%{soname}
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libxmlrpc_cpp.so.%{soname}*
|
||||
%{_libdir}/libxmlrpc_cpp.so.%{soname}
|
||||
%{_libdir}/libxmlrpc_cpp.so.%{soname}.*
|
||||
|
||||
%files -n libxmlrpc_server++%{soname}
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libxmlrpc_server++.so.%{soname}*
|
||||
%{_libdir}/libxmlrpc_server++.so.%{soname}
|
||||
%{_libdir}/libxmlrpc_server++.so.%{soname}.*
|
||||
|
||||
%files -n libxmlrpc_server_abyss++%{soname}
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}*
|
||||
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}
|
||||
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}.*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 28 2009 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||
|
||||
Reference in New Issue
Block a user