forked from martinetd/mooshika
-
Notifications
You must be signed in to change notification settings - Fork 2
/
libmooshika.spec.in
67 lines (50 loc) · 1.39 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
Summary: The mooshika library (libmooshika)
Name: libmooshika
Version: @VERSION@
Release: @_GIT_HEAD_DESCRIBE@%{?dist}
License: LGPLv3
Source: %{name}-%{version}.tar.gz
BuildRequires: librdmacm-devel, libibverbs-devel, automake, libtool
%package devel
Summary: Development files for libmooshika
Requires: librdmacm-devel, libibverbs-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
%package rmitm
Summary: RDMA man in the middle and replay tool (rreplay)
BuildRequires: libpcap-devel
%package rcat
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 %{?_smp_mflags}
%install
%makeinstall
# remove unpackaged files from the buildroot
rm -f %{buildroot}%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_libdir}/*.so.*
%files rmitm
%{_bindir}/rmitm
%{_bindir}/rreplay
%files rcat
%{_bindir}/rcat
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Jan 13 2015 Dominique Martinet <dominique.martinet@cea.fr> - @VERSION@-@_GIT_HEAD_DESCRIBE@%{?dist}
- Development package, see revision for git head.