[packages/socket_wrapper] - updated to 1.3.3 - added noop library packages

qboosh qboosh at pld-linux.org
Wed Mar 24 21:36:29 CET 2021


commit 564712293811011d5267b5794746458b5a267695
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 24 21:37:42 2021 +0100

    - updated to 1.3.3
    - added noop library packages

 socket_wrapper.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 70 insertions(+), 4 deletions(-)
---
diff --git a/socket_wrapper.spec b/socket_wrapper.spec
index 314e9f2..6313e6f 100644
--- a/socket_wrapper.spec
+++ b/socket_wrapper.spec
@@ -1,12 +1,12 @@
 Summary:	Socket wrapper library
 Summary(pl.UTF-8):	Biblioteka obudowująca dla gniazd
 Name:		socket_wrapper
-Version:	1.2.5
+Version:	1.3.3
 Release:	1
 License:	BSD
 Group:		Libraries
-Source0:	https://www.samba.org/ftp/cwrap/%{name}-%{version}.tar.gz
-# Source0-md5:	2c5bd1337de9ce5f09d48a6c3f553b5a
+Source0:	https://download.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
+# Source0-md5:	e0f7574b1c1812dd4991f16023a19bcc
 URL:		https://cwrap.org/socket_wrapper.html
 BuildRequires:	cmake >= 3.5.0
 # for tests
@@ -26,6 +26,55 @@ programowego na tej samej maszynie i wykonywanie lokalnie testów
 funkcjonalnych złożonych konfiguracji sieciowych. Przekazuje całą
 komunikację przez gniazda uniksowe.
 
+%package noop
+Summary:	Socket wrapper noop library
+Summary(pl.UTF-8):	Biblioteka socket wrapper noop
+Group:		Libraries
+
+%description noop
+Applications with the need to alter their behaviour when socket
+wrapper is active, can link to this with -lsocket_wrapper_noop in
+order to call get the required public functions at link time.
+
+During runtime these are overloaded with LD_PRELOAD by the real
+libsocket_wrapper.so.
+
+%description noop -l pl.UTF-8
+Aplikacje potrzebujące zmienić swoje zachowanie, kiedy moduł socket
+wrapper jest aktywny mogą włączyć tę bibliotekę jako
+-lsocket_wrapper_noop, aby uzyskać potrzebne funkcje publiczne w
+czasie budowania.
+
+W czasie działania funkcje te są nadpisywane poprzez LD_PRELOAD
+prawdziwej biblioteki libsocket_wrapper.so.
+
+%package noop-devel
+Summary:	Header file for socket_wrapper_noop library
+Summary(pl.UTF-8):	Plik nagłówkowy biblioteki socket_wrapper_noop
+Group:		Development/Libraries
+Requires:	%{name}-noop = %{version}-%{release}
+
+%description noop-devel
+Applications with the need to alter their behaviour when socket
+wrapper is active, can link to this with -lsocket_wrapper_noop in
+order to call get the required public functions at link time.
+
+During runtime these are overloaded with LD_PRELOAD by the real
+libsocket_wrapper.so.
+
+This package contains header file with public functions.
+
+%description noop-devel -l pl.UTF-8
+Aplikacje potrzebujące zmienić swoje zachowanie, kiedy moduł socket
+wrapper jest aktywny mogą włączyć tę bibliotekę jako
+-lsocket_wrapper_noop, aby uzyskać potrzebne funkcje publiczne w
+czasie budowania.
+
+W czasie działania funkcje te są nadpisywane poprzez LD_PRELOAD
+prawdziwej biblioteki libsocket_wrapper.so.
+
+Ten pakiet zawiera plik nagłówkowy z funkcjami publicznymi.
+
 %prep
 %setup -q
 
@@ -48,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
+%post	noop -p /sbin/ldconfig
+%postun	noop -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS CHANGELOG LICENSE README.md TODO
@@ -55,5 +107,19 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %ghost %{_libdir}/libsocket_wrapper.so.0
 %attr(755,root,root) %{_libdir}/libsocket_wrapper.so
 %{_pkgconfigdir}/socket_wrapper.pc
-%{_libdir}/cmake/socket_wrapper
+%dir %{_libdir}/cmake/socket_wrapper
+%{_libdir}/cmake/socket_wrapper/socket_wrapper-config*.cmake
 %{_mandir}/man1/socket_wrapper.1*
+
+%files noop
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsocket_wrapper_noop.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libsocket_wrapper_noop.so.0
+
+%files noop-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsocket_wrapper_noop.so
+%{_includedir}/socket_wrapper.h
+%{_pkgconfigdir}/socket_wrapper_noop.pc
+%dir %{_libdir}/cmake/socket_wrapper
+%{_libdir}/cmake/socket_wrapper/socket_wrapper_noop-config*.cmake
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/socket_wrapper.git/commitdiff/564712293811011d5267b5794746458b5a267695



More information about the pld-cvs-commit mailing list