Skip to content

Commit 9aeaa0a

Browse files
committed
split off client libraries as separate package: libwsman_client5
1 parent dd5ef4c commit 9aeaa0a

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

package/openwsman.spec.in

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,17 @@ computer systems using web services standards.
184184

185185
This subpackage provides the common libraries of OpenWSMAN.
186186

187+
%package -n libwsman_client5
188+
Summary: An implementation of the WS-MAN specification
189+
Group: System/Libraries
190+
191+
%description -n libwsman_client5
192+
OpenWSMAN is an implementation of the WS-Management protocol stack.
193+
Web Services for Management (WS-MAN) is a specification for managing
194+
computer systems using web services standards.
195+
196+
This subpackage provides the client libraries of OpenWSMAN.
197+
187198
%package -n libwsman-devel
188199
Summary: Development files for OpenWSMAN
189200
Group: Development/Libraries/C and C++
@@ -455,6 +466,9 @@ rm -f %{buildroot}/%{_bindir}/winrs
455466
%post -n libwsman3 -p /sbin/ldconfig
456467
%postun -n libwsman3 -p /sbin/ldconfig
457468

469+
%post -n libwsman_client5 -p /sbin/ldconfig
470+
%postun -n libwsman_client5 -p /sbin/ldconfig
471+
458472
%if 0%{?has_systemd}
459473
%pre server
460474
if [ -f /var/lib/systemd/migrated/%{name} ]; then
@@ -508,10 +522,16 @@ rm -f /var/log/wsmand.log
508522

509523
%files -n libwsman3
510524
%defattr(-,root,root)
511-
%doc AUTHORS COPYING ChangeLog README.md TODO src/plugins/redirect/redirect-README
525+
%doc AUTHORS ChangeLog README.md TODO src/plugins/redirect/redirect-README
526+
%license COPYING
512527
%{_libdir}/libwsman.so.*
513-
%{_libdir}/libwsman_client.so.*
514528
%{_libdir}/libwsman_curl_client_transport.so.*
529+
530+
%files -n libwsman_client5
531+
%defattr(-,root,root)
532+
%doc AUTHORS
533+
%license COPYING
534+
%{_libdir}/libwsman_client.so.*
515535
%dir %{_sysconfdir}/openwsman
516536
%config(noreplace) %{_sysconfdir}/openwsman/openwsman_client.conf
517537

@@ -571,6 +591,7 @@ rm -f /var/log/wsmand.log
571591

572592
%files server
573593
%defattr(-,root,root)
594+
%dir %{_sysconfdir}/openwsman
574595
%config(noreplace) %{_sysconfdir}/openwsman/openwsman.conf
575596
%config(noreplace) %{_sysconfdir}/openwsman/ssleay.cnf
576597
%attr(0755,root,root) %{_sysconfdir}/openwsman/owsmangencert.sh

0 commit comments

Comments
 (0)