Search
j0ke.net Open Build Service
>
Projects
>
OFED
>
libibcommon
> libibcommon.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libibcommon.spec of Package libibcommon
%define RELEASE @RELEASE@ %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} Summary: OpenFabrics Alliance InfiniBand management common library Name: libibcommon Version: 1.0.8 Release: 1.ofed1.3 License: GPLv2 or BSD Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source: http://www.openfabrics.org/downloads/libibcommon-1.0.8.tar.gz Url: http://openfabrics.org/ Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: libtool %description libibcommon provides common utility functions for the OFA diagnostic and management tools. %package devel Summary: Development files for the libibcommon library Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %description devel Development files for the libibcommon library. %package static Summary: Static library files for the libibcommon library Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description static Static library files for the libibcommon library. %prep %setup -q %build %configure make %{?_smp_mflags} %install make DESTDIR=${RPM_BUILD_ROOT} install # remove unpackaged files from the buildroot rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libibcommon*.so.* %doc AUTHORS COPYING ChangeLog %files devel %defattr(-,root,root) %{_libdir}/libibcommon.so %{_includedir}/infiniband/*.h %files static %defattr(-,root,root) %{_libdir}/libibcommon.a