[ofa-general] [PATCH] uDAPL specfile cleanup

Arlin Davis arlin.r.davis at intel.com
Wed Mar 7 14:31:48 PST 2007


Updated the libdat.spec.in file to build dapl RPM's correctly.

 

Signed-off by: Arlin Davis ardavis at ichips.intel.com

 

diff --git a/libdat.spec.in b/libdat.spec.in
index 4cb1bdc..bcd78ad 100644
--- a/libdat.spec.in
+++ b/libdat.spec.in
@@ -31,19 +31,20 @@
 #
 # $Id: $
 
-%define ver      1.2.0
-%define RELEASE 1.2
+%define ver 1.2.1
+%define RELEASE pre 
 %define rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
 
 Summary: Userspace DAT and DAPL API.
 Name: dapl
 Version: %ver
-Release: %rel
+Release: %rel%{?dist}
+
 License: Dual GPL/BSD/CPL
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source: http://openib.org/downloads/%{name}-%{version}.tar.gz
-Url: http://openib.org/
+Source: http://openfabrics.org/~ardavis/%{name}-%{version}-%{release}.tgz
+Url: http://openfabrics.org/
 
 %description
 Along with the OpenIB kernel drivers, libdat and libdapl provides a userspace
@@ -57,10 +58,19 @@ Requires: %{name} = %{version}-%{release}
 %description devel
 Static libraries and header files for the libdat and libdapl library.
 
+%package utils
+Summary: Test suites for uDAPL library
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description utils
+Useful test suites to validate uDAPL library API's.
+
 %prep
-%setup -q -n %{name}-%{ver}
+%setup -q -n %{name}
 
 %build
+./autogen.sh
 %configure
 make
 
@@ -79,7 +89,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root)
 %{_libdir}/libda*.so.*
 %{_sysconfdir}/dat.conf
-%doc AUTHORS COPYING ChangeLog NEWS README
+%doc AUTHORS README
 
 %files devel
 %defattr(-,root,root,-)
@@ -96,3 +106,18 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/dat/udat_redirection.h
 %{_includedir}/dat/udat_vendor_specific.h
 %{_sysconfdir}/dat.conf
+
+%files utils
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_mandir}/man1/*
+
+%changelog
+* Wed Mar 7 2007 Arlin Davis <ardavis at ichips.intel.com> - 1.2.1.pre
+- OFED 1.2-alpha, added dtest and dapltest utilies to package
+
+* Fri Oct 20 2006 Arlin Davis <ardavis at ichips.intel.com> - 1.2.0
+- OFED 1.1, 
+
+* Wed May 31 2006 Arlin Davis <ardavis at ichips.intel.com> - 1.2.0
+- OFED 1.0 
 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070307/133b3675/attachment.html>


More information about the general mailing list