]> git.pld-linux.org Git - packages/socket_wrapper.git/blob - socket_wrapper.spec
0741ef67763113a4d8f10d1840ff3449a90ce1df
[packages/socket_wrapper.git] / socket_wrapper.spec
1 Summary:        Socket wrapper library
2 Summary(pl.UTF-8):      Biblioteka obudowująca dla gniazd
3 Name:           socket_wrapper
4 Version:        1.0.1
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://www.samba.org/ftp/cwrap/%{name}-%{version}.tar.gz
9 # Source0-md5:  298e4b2d6cd88b9dbf3a4ac6566e8cd0
10 URL:            http://cwrap.org/socket_wrapper.html
11 BuildRequires:  cmake >= 2.8.5
12 BuildRequires:  rpmbuild(macros) >= 1.605
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This library makes possible to run several instances of the full
17 software stack on the same machine and perform locally functional
18 testing of complex network configurations. It passes all socket
19 communication over unix domain sockets.
20
21 %description -l pl.UTF-8
22 Ta biblioteka umożliwia uruchamianie kilku instancji pełnego stosu
23 programowego na tej samej maszynie i wykonywanie lokalnie testów
24 funkcjonalnych złożonych konfiguracji sieciowych. Przekazuje całą
25 komunikację przez gniazda uniksowe.
26
27 %prep
28 %setup -q
29
30 %build
31 install -d build
32 cd build
33 %cmake ..
34
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} -C build install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %post   -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS COPYING ChangeLog README TODO
52 %attr(755,root,root) %{_libdir}/libsocket_wrapper.so.*.*.*
53 %attr(755,root,root) %ghost %{_libdir}/libsocket_wrapper.so.0
54 %attr(755,root,root) %{_libdir}/libsocket_wrapper.so
55 %{_pkgconfigdir}/socket_wrapper.pc
56 %{_libdir}/cmake/socket_wrapper-config*.cmake
This page took 0.037547 seconds and 2 git commands to generate.