diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index 674110889c460e287e5927372d418d30594b6179..9864f654cd203dfb68ee74661b63effe2f97235d 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: xmlrpc-c Version: 1.54.05 @@ -53,6 +53,11 @@ Requires: %{name}-c++ = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}-client = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}-client++ = %{?epoch:%{epoch}:}%{version}-%{release} +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + %description XML-RPC is a quick-and-easy way to make procedure calls over the @@ -100,6 +105,10 @@ to a remote server using HTTP, and gets back the response as XML. This package contains some handy XML-RPC demo applications. +%description doc +The %{name}-doc package contains documentation files for %{name}. + + %prep %autosetup -Sgit @@ -126,37 +135,59 @@ find %{buildroot} -name "*.a" -delete %ldconfig_scriptlets c++ %ldconfig_scriptlets client++ +%generate_compatibility_deps + %files +%dir %{abidir} %license doc/COPYING lib/abyss/license.txt -%doc doc/CREDITS doc/HISTORY %{_libdir}/libxmlrpc_xml*.so.* +%{abidir}/libxmlrpc_xml*.dump %{_libdir}/libxmlrpc_openssl.so.* +%{abidir}/libxmlrpc_openssl.dump %{_libdir}/libxmlrpc.so.* +%{abidir}/libxmlrpc.dump %{_libdir}/libxmlrpc_util.so.* +%{abidir}/libxmlrpc_util.dump %{_libdir}/libxmlrpc_abyss.so.* +%{abidir}/libxmlrpc_abyss.dump %{_libdir}/libxmlrpc_server.so.* +%{abidir}/libxmlrpc_server.dump %{_libdir}/libxmlrpc_server_abyss.so.* +%{abidir}/libxmlrpc_server_abyss.dump %{_libdir}/libxmlrpc_server_cgi.so.* +%{abidir}/libxmlrpc_server_cgi.dump %files client %{_libdir}/libxmlrpc_client.so.* +%{abidir}/libxmlrpc_client.dump %files c++ %{_libdir}/libxmlrpc_cpp.so.* +%{abidir}/libxmlrpc_cpp.dump %{_libdir}/libxmlrpc++.so.* +%{abidir}/libxmlrpc++.dump %{_libdir}/libxmlrpc_util++.so.* +%{abidir}/libxmlrpc_util++.dump %{_libdir}/libxmlrpc_abyss++.so.* +%{abidir}/libxmlrpc_abyss++.dump %{_libdir}/libxmlrpc_server++.so.* +%{abidir}/libxmlrpc_server++.dump %{_libdir}/libxmlrpc_server_abyss++.so.* +%{abidir}/libxmlrpc_server_abyss++.dump %{_libdir}/libxmlrpc_server_cgi++.so.* +%{abidir}/libxmlrpc_server_cgi++.dump %{_libdir}/libxmlrpc_packetsocket.so.* +%{abidir}/libxmlrpc_packetsocket.dump %{_libdir}/libxmlrpc_server_pstream++.so.* +%{abidir}/libxmlrpc_server_pstream++.dump %files client++ %{_libdir}/libxmlrpc_client++.so.* +%{abidir}/libxmlrpc_client++.dump %files devel %{_bindir}/xmlrpc-c-config +%{abidir}/xmlrpc-c-config-option.list %{_includedir}/xmlrpc-c/ %{_includedir}/*.h %{_libdir}/pkgconfig/xmlrpc*.pc @@ -166,15 +197,21 @@ find %{buildroot} -name "*.a" -delete %{_bindir}/xmlrpc_parsecall %{_bindir}/xmlrpc %{_bindir}/xmlrpc_transport -%doc tools/xmlrpc_transport/xmlrpc_transport.html %{_bindir}/xml-rpc-api2cpp %{_mandir}/man1/xml-rpc-api2cpp.1* %{_bindir}/xml-rpc-api2txt %{_mandir}/man1/xml-rpc-api2txt.1* %{_bindir}/xmlrpc_cpp_proxy %{_bindir}/xmlrpc_pstream +%{abidir}/xmlrpc_pstream-option.list %{_bindir}/xmlrpc_dumpserver +%files doc +%doc doc/CREDITS doc/HISTORY tools/xmlrpc_transport/xmlrpc_transport.html + %changelog +* Sat Mar 04 2023 Shawn Wang - 1.54.05-2 +- optimize the spec file + * Fri Apr 15 2022 Chunmei Xu - 1.54.05-1 - init from upstream