diff --git a/.cvsignore b/.cvsignore index e69de29..f9d3013 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libibcm-1.0.2.tar.gz diff --git a/libibcm.spec b/libibcm.spec new file mode 100644 index 0000000..f7ad11a --- /dev/null +++ b/libibcm.spec @@ -0,0 +1,66 @@ +Name: libibcm +Version: 1.0.2 +Release: 1%{?dist} +Summary: Userspace InfiniBand Connection Manager +Group: System Environment/Libraries +License: GPLv2 or BSD +Url: http://www.openfabrics.org/ +Source: http://www.openfabrics.org/downloads/rdmacm/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libibverbs-devel >= 1.1 +ExclusiveArch: i386 x86_64 ia64 ppc ppc64 +%description +libibcm provides a userspace library that handles the majority of the low +level work required to open an RDMA connection between two machines. + +%package devel +Summary: Development files for the libibcm library +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release}, libibverbs-devel >= 1.1 +%description devel +Development files for the libibcm library. + +%package static +Summary: Static version of libibcm libraries +Group: System Environment/Libraries +Requires: %{name}-devel = %{version}-%{release} +%description static +Static version of libibcm library. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall +# 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 + +%files +%defattr(-,root,root,-) +%{_libdir}/libibcm*.so.* +%doc AUTHORS COPYING README + +%files devel +%defattr(-,root,root,-) +%{_libdir}/lib*.so +%{_includedir}/* + +%files static +%defattr(-,root,root,-) +%{_libdir}/*.a + +%changelog +* Sun Jun 08 2008 Doug Ledford - 1.0.2-1 +- Initial package for submission to Fedora review process + diff --git a/sources b/sources index e69de29..d2e4398 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +11ce46edcb45de4276060661b2068749 libibcm-1.0.2.tar.gz