From 4792bec35928213d3277a986f13ca0f27a88cd2eecb65c984fe5c7db1a11c0b3 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 18 Oct 2011 15:40:06 +0000 Subject: [PATCH] Implement shlib policy OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=4 --- gsoap.changes | 4 ++++ gsoap.spec | 26 ++++++++++---------------- 2 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 gsoap.changes diff --git a/gsoap.changes b/gsoap.changes new file mode 100644 index 0000000..7edb5c2 --- /dev/null +++ b/gsoap.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Oct 18 15:39:46 UTC 2011 - jengelh@medozas.de + +- Initial package for build.opensuse.org diff --git a/gsoap.spec b/gsoap.spec index 222ed95..5798af5 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -1,4 +1,5 @@ Name: gsoap +%define lname libgsoap-2_8-0 Summary: Toolkit for C/C++ server and client web service applications Version: 2.8.3 Release: 0 @@ -25,23 +26,19 @@ SOAP-over-UDP, request-response and one-way messaging. The toolkit also supports WS-Addressing and WS-Security, with several other WS-* available or under development. -Authors: --------- - Robert A. van Engelen - %package devel Summary: Development files for the gSOAP toolkit Group: Development/Libraries/C and C++ Requires: %name = %version %description devel -This package contains the development files for gSOAP. +This package contains the runtime development programs for gSOAP. -%package -n libgsoap +%package -n %lname Summary: Runtime libraries for gSOAP Group: Development/Libraries/C and C++ -%description -n libgsoap +%description -n %lname The gSOAP toolkit provides a cross-platform software development toolkit for C and C++ server and client Web service applications, and simplifies the overall use of XML in any type of application. The @@ -51,17 +48,14 @@ SOAP-over-UDP, request-response and one-way messaging. The toolkit also supports WS-Addressing and WS-Security, with several other WS-* available or under development. -Authors: --------- - Robert A. van Engelen - %package -n libgsoap-devel Summary: Development files for libgsoap Group: Development/Libraries/C and C++ Requires: %name = %version %description -n libgsoap-devel -This package contains the development files for libgsoap. +This package contains the include headers and development library +symlinks for libgsoap. %prep %if 0%{?__xz:1} @@ -88,18 +82,18 @@ make install DESTDIR="$b"; find "$b" -type f -name "*.la" -delete; %fdupes %buildroot -%post -n libgsoap -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -n libgsoap -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig %files devel %defattr(-,root,root) %_bindir/* %_datadir/%name -%files -n libgsoap +%files -n %lname %defattr(-,root,root) -%_libdir/*.so.* +%_libdir/*-2.8.so.* %files -n libgsoap-devel %defattr(-,root,root)