]> git.pld-linux.org Git - packages/socket_wrapper.git/commitdiff
- updated to 1.3.3 auto/th/socket_wrapper-1.3.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 24 Mar 2021 20:37:42 +0000 (21:37 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 24 Mar 2021 20:37:42 +0000 (21:37 +0100)
- added noop library packages

socket_wrapper.spec

index 314e9f248d2514ec210c4ae20cca42f0bcf7e2c8..6313e6fff305897a8c72b06c1bc98e5c76d33005 100644 (file)
@@ -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
This page took 0.127014 seconds and 4 git commands to generate.