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
|
License: BSD
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://xmlrpc-c.sourceforge.net
|
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
|
Source: xmlrpc-%{version}.tar.bz2
|
||||||
Patch0: xmlrpc-c-1.06.04-sizet.patch
|
Patch0: xmlrpc-c-1.06.04-sizet.patch
|
||||||
Patch1: xmlrpc-c-fix_as_needed.patch
|
Patch1: xmlrpc-c-fix_as_needed.patch
|
||||||
@@ -127,14 +127,13 @@ Authors:
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS_PERSONAL="%{optflags} -fPIC -DPIC"
|
export CFLAGS_PERSONAL="%{optflags} -fPIC -DPIC"
|
||||||
%configure --disable-static --enable-libxml2-backend
|
%configure --enable-libxml2-backend --enable-shared
|
||||||
# don't pass -j, breaks build
|
# don't pass -j, breaks build
|
||||||
%__make
|
%__make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
find "%{buildroot}/" -name '*.a' -exec %__rm {} \;
|
%__rm "%{buildroot}%{_libdir}"/*.la
|
||||||
find "%{buildroot}/" -name '*.la' -exec %__rm {} \;
|
|
||||||
|
|
||||||
%post -n libxmlrpc++%{soname} -p /sbin/ldconfig
|
%post -n libxmlrpc++%{soname} -p /sbin/ldconfig
|
||||||
%post -n libxmlrpc_client++%{soname} -p /sbin/ldconfig
|
%post -n libxmlrpc_client++%{soname} -p /sbin/ldconfig
|
||||||
@@ -161,28 +160,34 @@ test "%{buildroot}" != "/" && %__rm -rf "%{buildroot}"
|
|||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_bindir}/xmlrpc-c-config
|
%{_bindir}/xmlrpc-c-config
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/*.a
|
||||||
%{_includedir}/XmlRpcCpp.h
|
%{_includedir}/XmlRpcCpp.h
|
||||||
%{_includedir}/xmlrpc*
|
%{_includedir}/xmlrpc*
|
||||||
|
|
||||||
%files -n libxmlrpc++%{soname}
|
%files -n libxmlrpc++%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc++.so.%{soname}*
|
%{_libdir}/libxmlrpc++.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc++.so.%{soname}.*
|
||||||
|
|
||||||
%files -n libxmlrpc_client++%{soname}
|
%files -n libxmlrpc_client++%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc_client++.so.%{soname}*
|
%{_libdir}/libxmlrpc_client++.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_client++.so.%{soname}.*
|
||||||
|
|
||||||
%files -n libxmlrpc_cpp%{soname}
|
%files -n libxmlrpc_cpp%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc_cpp.so.%{soname}*
|
%{_libdir}/libxmlrpc_cpp.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_cpp.so.%{soname}.*
|
||||||
|
|
||||||
%files -n libxmlrpc_server++%{soname}
|
%files -n libxmlrpc_server++%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc_server++.so.%{soname}*
|
%{_libdir}/libxmlrpc_server++.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_server++.so.%{soname}.*
|
||||||
|
|
||||||
%files -n libxmlrpc_server_abyss++%{soname}
|
%files -n libxmlrpc_server_abyss++%{soname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}*
|
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}
|
||||||
|
%{_libdir}/libxmlrpc_server_abyss++.so.%{soname}.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Sep 28 2009 Pascal Bleser <pascal.bleser@opensuse.org>
|
* Mon Sep 28 2009 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||||
|
|||||||
Reference in New Issue
Block a user