forked from martinetd/mooshika
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibmooshika.spec.in
74 lines (56 loc) · 1.35 KB
/
libmooshika.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Summary: The mooshika library (libmooshika)
Name: libmooshika
Version: @VERSION@
Release: @_GIT_HEAD_DESCRIBE@
Group: Application/Devel
Packager: Dominique Martinet <dominique.martinet@cea.fr>
License: CeCILL
Source: %{name}-%{version}.tar.gz
BuildRoot: /tmp/%{name}-buildroot
Prefix: %{_prefix}
Requires: librdmacm, libibverbs
BuildRequires: librdmacm-devel, libibverbs-devel, gcc, automake, libtool
%package devel
Group: Application/Devel
Summary: Development files for libmooshika
Requires: librdmacm-devel, libibverbs-devel
%package rmitm
Group: Application/Devel
Summary: RDMA man in the middle and replay tool (rreplay)
Requires: libpcap
BuildRequires: libpcap-devel
%package rcat
Group:Application/Devel
Summary: RDMA equivalent of netcat
%description
This package contains the libmooshika library
It is an helper for rdma connection handling
%description devel
Development files for libmooshika
%description rmitm
RDMA man in the middle and replay tool
%description rcat
RDMA equivalent of netcat
%prep
%setup -q -n %{name}-%{version}
%build
%configure @ac_configure_args@ --enable-rmitm
make
%install
rm -rf %{buildroot}
%makeinstall
%clean
rm -rf %{buildroot}
%files
%{_libdir}/*.so*
%{_libdir}/*.la
%files rmitm
%{_bindir}/rmitm
%{_bindir}/rreplay
%files rcat
%{_bindir}/rcat
%files devel
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/pkgconfig/*.pc
%changelog