[packages/socket_wrapper] - new

qboosh qboosh at pld-linux.org
Sun Feb 9 15:22:20 CET 2014


commit 3a4186b0321ed62944e9b1c1108cf858b5b08e70
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 9 15:24:05 2014 +0100

    - new

 socket_wrapper.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
---
diff --git a/socket_wrapper.spec b/socket_wrapper.spec
new file mode 100644
index 0000000..0741ef6
--- /dev/null
+++ b/socket_wrapper.spec
@@ -0,0 +1,56 @@
+Summary:	Socket wrapper library
+Summary(pl.UTF-8):	Biblioteka obudowująca dla gniazd
+Name:		socket_wrapper
+Version:	1.0.1
+Release:	1
+License:	BSD
+Group:		Libraries
+Source0:	http://www.samba.org/ftp/cwrap/%{name}-%{version}.tar.gz
+# Source0-md5:	298e4b2d6cd88b9dbf3a4ac6566e8cd0
+URL:		http://cwrap.org/socket_wrapper.html
+BuildRequires:	cmake >= 2.8.5
+BuildRequires:	rpmbuild(macros) >= 1.605
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library makes possible to run several instances of the full
+software stack on the same machine and perform locally functional
+testing of complex network configurations. It passes all socket
+communication over unix domain sockets.
+
+%description -l pl.UTF-8
+Ta biblioteka umożliwia uruchamianie kilku instancji pełnego stosu
+programowego na tej samej maszynie i wykonywanie lokalnie testów
+funkcjonalnych złożonych konfiguracji sieciowych. Przekazuje całą
+komunikację przez gniazda uniksowe.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake ..
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog README TODO
+%attr(755,root,root) %{_libdir}/libsocket_wrapper.so.*.*.*
+%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-config*.cmake
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/socket_wrapper.git/commitdiff/3a4186b0321ed62944e9b1c1108cf858b5b08e70



More information about the pld-cvs-commit mailing list