]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ofed/libibverbs/libibverbs.spec.in
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ofed / libibverbs / libibverbs.spec.in
1 Name: libibverbs
2 Version: 1.1.4
3 Release: 1%{?dist}
4 Summary: A library for direct userspace use of RDMA (InfiniBand/iWARP) hardware
5
6 Group: System Environment/Libraries
7 License: GPLv2 or BSD
8 Url: http://openfabrics.org/
9 Source: http://openfabrics.org/downloads/verbs/libibverbs-1.1.4.tar.gz
10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
11 Requires(post): /sbin/ldconfig
12 Requires(postun): /sbin/ldconfig
13
14 %description
15 libibverbs is a library that allows userspace processes to use RDMA
16 "verbs" as described in the InfiniBand Architecture Specification and
17 the RDMA Protocol Verbs Specification.  This includes direct hardware
18 access from userspace to InfiniBand/iWARP adapters (kernel bypass) for
19 fast path operations.
20
21 For this library to be useful, a device-specific plug-in module should
22 also be installed.
23
24 %package devel
25 Summary: Development files for the libibverbs library
26 Group: System Environment/Libraries
27 Requires: %{name} = %{version}-%{release}
28
29 %description devel
30 Header files for the libibverbs library.
31
32 %package devel-static
33 Summary: Static development files for the libibverbs library
34 Group: System Environment/Libraries
35
36 %description devel-static
37 Static libraries for the libibverbs library.
38
39 %package utils
40 Summary: Examples for the libibverbs library
41 Group: System Environment/Libraries
42 Requires: %{name} = %{version}-%{release}
43
44 %description utils
45 Useful libibverbs1 example programs such as ibv_devinfo, which
46 displays information about RDMA devices.
47
48 %prep
49 %setup -q -n %{name}-@VERSION@
50
51 %build
52 %configure
53 make %{?_smp_mflags}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 make DESTDIR=%{buildroot} install
58 # remove unpackaged files from the buildroot
59 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
66
67 %files
68 %defattr(-,root,root,-)
69 %{_libdir}/libibverbs*.so.*
70 %doc AUTHORS COPYING ChangeLog README
71
72 %files devel
73 %defattr(-,root,root,-)
74 %{_libdir}/lib*.so
75 %{_includedir}/*
76 %{_mandir}/man3/*
77 %{_mandir}/man7/*
78
79 %files devel-static
80 %defattr(-,root,root,-)
81 %{_libdir}/*.a
82
83 %files utils
84 %defattr(-,root,root,-)
85 %{_bindir}/*
86 %{_mandir}/man1/*
87
88 %changelog
89 * Thu Jun 3 2010 Roland Dreier <rdreier@cisco.com> - 1.1.4-1
90 - New upstream release
91
92 * Thu Oct 29 2009 Roland Dreier <rdreier@cisco.com> - 1.1.3-1
93 - New upstream release
94
95 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-3
96 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
97
98 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
99 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
100
101 * Wed Apr 16 2008 Roland Dreier <rdreier@cisco.com> - 1.1.2-1
102 - New upstream release
103 - Update description to mention RDMA and iWARP, not just InfiniBand
104 - Add "Requires" tag for libibverbs base package to -devel
105
106 * Fri Jun 15 2007 Roland Dreier <rdreier@cisco.com> - 1.1.1-1
107 - New upstream release
108
109 * Wed Apr 11 2007 Roland Dreier <rdreier@cisco.com> - 1.1-1
110 - New upstream release
111
112 * Mon May 22 2006 Roland Dreier <rdreier@cisco.com> - 1.1-0.1.rc2
113 - New upstream release
114 - Remove dependency on libsysfs, since it is no longer used
115 - Put section 3 manpages in devel package.
116 - Spec file cleanups: remove unused ver macro, improve BuildRoot, add
117   Requires for /sbin/ldconfig, split static libraries into
118   devel-static package, and don't use makeinstall any more (all
119   suggested by Doug Ledford <dledford@redhat.com>).
120
121 * Thu May  4 2006 Roland Dreier <rdreier@cisco.com> - 1.0.4-1
122 - New upstream release
123
124 * Mon Mar 14 2006 Roland Dreier <rdreier@cisco.com> - 1.0.3-1
125 - New upstream release
126
127 * Mon Mar 13 2006 Roland Dreier <rdreier@cisco.com> - 1.0.1-1
128 - New upstream release
129
130 * Thu Feb 16 2006 Roland Dreier <rdreier@cisco.com> - 1.0-1
131 - New upstream release
132
133 * Wed Feb 15 2006 Roland Dreier <rolandd@cisco.com> - 1.0-0.5.rc7
134 - New upstream release
135
136 * Sun Jan 22 2006 Roland Dreier <rolandd@cisco.com> - 1.0-0.4.rc6
137 - New upstream release
138
139 * Tue Oct 25 2005 Roland Dreier <rolandd@cisco.com> - 1.0-0.3.rc5
140 - New upstream release
141
142 * Wed Oct  5 2005 Roland Dreier <rolandd@cisco.com> - 1.0-0.2.rc4
143 - Update to upstream 1.0-rc4 release
144
145 * Mon Sep 26 2005 Roland Dreier <rolandd@cisco.com> - 1.0-0.1.rc3
146 - Initial attempt at Fedora Extras-compliant spec file