From 6f3043fba2f9f195c140ab87b7bdf9b2eaf10448 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:36:34 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.3.9-1mamba;Tue Oct 14 2014] --- README.md | 3 +++ libibumad.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 libibumad.spec diff --git a/README.md b/README.md index 1b5c614..133ccb3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libibumad +libibumad provides the user MAD library functions which sit on top of the user MAD modules in the kernel. +These are used by the IB diagnostic and management tools, including OpenSM. + diff --git a/libibumad.spec b/libibumad.spec new file mode 100644 index 0000000..d3bee8c --- /dev/null +++ b/libibumad.spec @@ -0,0 +1,64 @@ +Name: libibumad +Version: 1.3.9 +Release: 1mamba +Summary: User MAD library functions which sit on top of the user MAD modules in the kernel +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.openfabrics.org +Source: https://www.openfabrics.org/downloads/management/libibumad-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libibumad provides the user MAD library functions which sit on top of the user MAD modules in the kernel. +These are used by the IB diagnostic and management tools, including OpenSM. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libibumad.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/infiniband/umad.h +%{_libdir}/libibumad.a +%{_libdir}/libibumad.la +%{_libdir}/libibumad.so +%{_mandir}/man3/umad_*.3* +%doc ChangeLog + +%changelog +* Tue Oct 14 2014 Silvan Calarco 1.3.9-1mamba +- package created using the webbuild interface