]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/libibcm/libibcm.spec
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / libibcm / libibcm.spec
1 %define ver 1.0.5
2
3 Name: libibcm
4 Version: 1.0.5
5 Release: 1%{?dist}
6 Summary: Userspace InfiniBand Communication Manager.
7
8 Group: System Environment/Libraries
9 License: GPL/BSD
10 Url: http://www.openfabrics.org/
11 Source: http://www.openfabrics.org/downloads/%{name}-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14 %description
15 libibcm provides a userspace InfiniBand Communication Managment library.
16
17 %package devel
18 Summary: Development files for the libibcm library
19 Group: System Environment/Libraries
20 Requires: %{name} = %{version}-%{release} %{_includedir}/infiniband/verbs.h
21
22 %description devel
23 Development files for the libibcm library.
24
25 %prep
26 %setup -q -n %{name}-%{ver}
27
28 %build
29 %configure
30 make %{?_smp_mflags}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 %makeinstall
35 # remove unpackaged files from the buildroot
36 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %post -p /sbin/ldconfig
42 %postun -p /sbin/ldconfig
43
44 %files
45 %defattr(-,root,root,-)
46 %{_libdir}/libibcm*.so.*
47 %doc AUTHORS COPYING ChangeLog README
48
49 %files devel
50 %defattr(-,root,root,-)
51 %{_libdir}/lib*.so
52 %{_libdir}/*.a
53 %{_includedir}/*