dapl/udapl/libdaplscm.map \
libdat.spec.in
-dist-hook: libdat.spec
- cp libdat.spec $(distdir)
+dist-hook: libdat.spec LICENSE*.txt
+ cp libdat.spec LICENSE*.txt $(distdir)
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT(dapl, 1.2.0, dapl-devel@lists.sourceforge.net)
+AC_INIT(libdat, 1.2.0, dapl-devel@lists.sourceforge.net)
AC_CONFIG_SRCDIR([dat/udat/udat.c])
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(dapl, 1.2.0)
+AM_INIT_AUTOMAKE(libdat, 1.2.0)
AM_PROG_LIBTOOL
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
Summary: Userspace DAT and DAPL API.
-Name: dapl
+Name: libdat
Version: %ver
Release: %rel
License: Dual GPL/BSD/CPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: http://openib.org/downloads/%{name}-%{version}.tar.gz
Url: http://openib.org/
+BuildRequires: libibverbs-devel librdmacm-devel
%description
Along with the OpenIB kernel drivers, libdat and libdapl provides a userspace
%package devel
Summary: Development files for the libdat and libdapl libraries
Group: System Environment/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
%description devel
Static libraries and header files for the libdat and libdapl library.
%files
%defattr(-,root,root)
%{_libdir}/libda*.so.*
-%{_sysconfdir}/dat.conf
-%doc AUTHORS COPYING ChangeLog NEWS README
+%config(noreplace) %{_sysconfdir}/dat.conf
+%doc AUTHORS COPYING README LICENSE*.txt
%files devel
%defattr(-,root,root,-)
%{_includedir}/dat/udat.h
%{_includedir}/dat/udat_redirection.h
%{_includedir}/dat/udat_vendor_specific.h
-%{_sysconfdir}/dat.conf