]> git.pld-linux.org Git - packages/socket_wrapper.git/commitdiff
- new auto/th/socket_wrapper-1.0.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Feb 2014 14:24:05 +0000 (15:24 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Feb 2014 14:24:05 +0000 (15:24 +0100)
socket_wrapper.spec [new file with mode: 0644]

diff --git a/socket_wrapper.spec b/socket_wrapper.spec
new file mode 100644 (file)
index 0000000..0741ef6
--- /dev/null
@@ -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
This page took 0.155812 seconds and 4 git commands to generate.