Implement shlib policy

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=4
This commit is contained in:
Jan Engelhardt 2011-10-18 15:40:06 +00:00 committed by Git OBS Bridge
parent 13b7b19d36
commit 4792bec359
2 changed files with 14 additions and 16 deletions

4
gsoap.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Oct 18 15:39:46 UTC 2011 - jengelh@medozas.de
- Initial package for build.opensuse.org

View File

@ -1,4 +1,5 @@
Name: gsoap Name: gsoap
%define lname libgsoap-2_8-0
Summary: Toolkit for C/C++ server and client web service applications Summary: Toolkit for C/C++ server and client web service applications
Version: 2.8.3 Version: 2.8.3
Release: 0 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-* also supports WS-Addressing and WS-Security, with several other WS-*
available or under development. available or under development.
Authors:
--------
Robert A. van Engelen <engelen@acm.org>
%package devel %package devel
Summary: Development files for the gSOAP toolkit Summary: Development files for the gSOAP toolkit
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %name = %version Requires: %name = %version
%description devel %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 Summary: Runtime libraries for gSOAP
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%description -n libgsoap %description -n %lname
The gSOAP toolkit provides a cross-platform software development The gSOAP toolkit provides a cross-platform software development
toolkit for C and C++ server and client Web service applications, and toolkit for C and C++ server and client Web service applications, and
simplifies the overall use of XML in any type of application. The 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-* also supports WS-Addressing and WS-Security, with several other WS-*
available or under development. available or under development.
Authors:
--------
Robert A. van Engelen <engelen@acm.org>
%package -n libgsoap-devel %package -n libgsoap-devel
Summary: Development files for libgsoap Summary: Development files for libgsoap
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %name = %version Requires: %name = %version
%description -n libgsoap-devel %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 %prep
%if 0%{?__xz:1} %if 0%{?__xz:1}
@ -88,18 +82,18 @@ make install DESTDIR="$b";
find "$b" -type f -name "*.la" -delete; find "$b" -type f -name "*.la" -delete;
%fdupes %buildroot %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 %files devel
%defattr(-,root,root) %defattr(-,root,root)
%_bindir/* %_bindir/*
%_datadir/%name %_datadir/%name
%files -n libgsoap %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/*.so.* %_libdir/*-2.8.so.*
%files -n libgsoap-devel %files -n libgsoap-devel
%defattr(-,root,root) %defattr(-,root,root)