622a0c4
%global __remake_config 0
622a0c4
85649ba
Summary: OpenFabrics Alliance InfiniBand umad (user MAD) library
062e086
Name:    libibumad
622a0c4
Version: 1.3.10.2
610da24
Release: 2%{?dist}
85649ba
License: GPLv2 or BSD
062e086
Group:   System Environment/Libraries
622a0c4
Url:     https://www.openfabrics.org
622a0c4
Source:  https://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz
85649ba
Requires(post): /sbin/ldconfig
85649ba
Requires(postun): /sbin/ldconfig
622a0c4
%if %{__remake_config}
622a0c4
BuildRequires: libtool, automake, autoconf
622a0c4
%endif
622a0c4
BuildRequires: glibc-static
e9b2840
ExcludeArch: s390 s390x
85649ba
85649ba
%description
85649ba
libibumad provides the user MAD library functions which sit on top of 
85649ba
the user MAD modules in the kernel. These are used by the IB diagnostic
85649ba
and management tools, including OpenSM. 
85649ba
85649ba
%package devel
85649ba
Summary: Development files for the libibumad library
85649ba
Group: System Environment/Libraries
535e908
Requires: %{name} = %{version}-%{release}
85649ba
85649ba
%description devel
85649ba
Development files for the libibumad library.
85649ba
85649ba
%package static
85649ba
Summary: Static version of the libibumad library
85649ba
Group: System Environment/Libraries
85649ba
Requires: %{name}-devel = %{version}-%{release}
85649ba
85649ba
%description static
85649ba
Static version of the libibumad library.
85649ba
85649ba
%prep
85649ba
%setup -q
85649ba
85649ba
%build
622a0c4
%if %{__remake_config}
622a0c4
./autogen.sh
622a0c4
%endif
85649ba
%configure
85649ba
make %{?_smp_mflags}
85649ba
85649ba
%install
57cc9fa
make DESTDIR=%{buildroot} install
85649ba
# remove unpackaged files from the buildroot
062e086
find %{buildroot} -name '*.la' -exec rm -f {} ';'
85649ba
85649ba
%post -p /sbin/ldconfig
85649ba
%postun -p /sbin/ldconfig
85649ba
85649ba
%files
85649ba
%{_libdir}/libibumad*.so.*
85649ba
%{_mandir}/man3/*
85649ba
%doc AUTHORS COPYING ChangeLog 
85649ba
85649ba
%files devel
85649ba
%{_libdir}/libibumad.so
85649ba
%{_includedir}/infiniband/*.h
85649ba
85649ba
%files static
85649ba
%{_libdir}/libibumad.a
85649ba
85649ba
%changelog
610da24
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.10.2-2
610da24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
610da24
622a0c4
* Tue Mar 15 2016 Doug Ledford <dledford@redhat.com> - 1.3.10.2-1
622a0c4
- Update to latest upstream version
622a0c4
- Pick up the version needed to support OPA fabrics
622a0c4
- Resolves: bz1175172, bz1312134
622a0c4
55f610e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-5
55f610e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
55f610e
c589fbe
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.9-4
c589fbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c589fbe
a6103e9
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.9-3
a6103e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a6103e9
28d3619
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.9-2
28d3619
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
28d3619
062e086
* Mon Mar 17 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.3.9-1
062e086
- Update to 1.3.9
062e086
- Cleanup and modernise spec
062e086
2afcfb7
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-3
2afcfb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2afcfb7
0fbb43a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-2
0fbb43a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0fbb43a
57cc9fa
* Tue Nov 27 2012 Doug Ledford <dledford@redhat.com> - 1.3.8-1
57cc9fa
- Update to latest upstream version
57cc9fa
- Fix Url tag
57cc9fa
ba16f4c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.7-3
ba16f4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ba16f4c
8cbd6d8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.7-2
8cbd6d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8cbd6d8
1e5d1f6
* Wed Jul 20 2011 Doug Ledford <dledford@redhat.com> - 1.3.7-1
1e5d1f6
- Update to latest upstream source
1e5d1f6
3bbe576
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-2
3bbe576
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3bbe576
a799b0b
* Sat Feb 27 2010 Doug Ledford <dledford@redhat.com> - 1.3.4-1
a799b0b
- New upstream release
a799b0b
e9b2840
* Mon Jan 11 2010 Doug Ledford <dledford@redhat.com> - 1.3.3-2
e9b2840
- ExcludeArch s390(x) as there is no hardware support there
e9b2840
8232d28
* Thu Dec 03 2009 Doug Ledford <dledford@redhat.com> - 1.3.3-1
8232d28
- Update to latest upstream version
8232d28
61812b0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
61812b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
61812b0
535e908
* Mon Jul 20 2009 Doug Ledford <dledford@redhat.com> - 1.3.2-2
535e908
- Forgot to remove both instances of the libibcommon requires
060446c
- Add build requires on glibc-static
535e908
1daf30b
* Mon Jul 20 2009 Doug Ledford <dledford@redhat.com> - 1.3.2-1
1daf30b
- Update to latest upstream version
1daf30b
- Remove requirement on libibcommon since that library is no longer needed
92d6d81
- Fix a problem with man page listing
1daf30b
0f9585c
* Wed Apr 22 2009 Doug Ledford <dledford@redhat.com> - 1.3.1-1
0f9585c
- Update to latest upstream version
0f9585c
b489650
* Sat Mar 21 2009 Robert Scheck <robert@fedoraproject.org> - 1.2.0-3
b489650
- Rebuilt against libtool 2.2
b489650
20328fd
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
20328fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
20328fd
85649ba
* Sun Jun 08 2008 Doug Ledford <dledford@redhat.com> - 1.2.0-1
85649ba
- Initial package for Fedora review process