d7ff29c
Name: dapl
d7ff29c
Version: 2.1.9
cafab70
Release: 11%{?dist}
d7ff29c
Summary: Library providing access to the DAT 2.0 API
d7ff29c
License: GPLv2 or BSD or CPL
d7ff29c
Url: https://www.openfabrics.org/
d7ff29c
Source0: https://www.openfabrics.org/downloads/%{name}/%{name}-%{version}.tar.gz
d7ff29c
BuildRequires: libibverbs-devel >= 1.2.1
d7ff29c
BuildRequires: librdmacm-devel >= 1.1.0
d7ff29c
BuildRequires: ibacm-devel
d7ff29c
BuildRequires: gcc
d7ff29c
Requires: rdma
d7ff29c
# Platforms missing in dapl/udapl/linux/dapl_osd.h
d7ff29c
ExcludeArch: s390, armv7hl
d7ff29c
%description
d7ff29c
Along with the RDMA kernel drivers, libdat and libdapl provide
d7ff29c
a user-space RDMA API that supports DAT 2.0 specification and IB
d7ff29c
transport extensions for atomic operations and RDMA write with
d7ff29c
immediate data.
d7ff29c
d7ff29c
%package devel
d7ff29c
Summary: Development files for the libdat and libdapl libraries
d7ff29c
Requires: %{name}%{?_isa} = %{version}-%{release}
d7ff29c
%description devel
d7ff29c
Header files for libdat and libdapl libraries.
d7ff29c
d7ff29c
%package static
d7ff29c
Summary: Static libdat and libdapl libraries
d7ff29c
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
d7ff29c
%description static
d7ff29c
Static versions of the libdat and libdapl libraries.
d7ff29c
d7ff29c
%package utils
d7ff29c
Summary: Test suites for dapl libraries
d7ff29c
Requires: %{name}%{?_isa} = %{version}-%{release}
d7ff29c
%description utils
d7ff29c
Useful test suites to validate the dapl library APIs and operation.
d7ff29c
d7ff29c
%prep
d7ff29c
%setup -q
d7ff29c
find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
d7ff29c
d7ff29c
%build
d7ff29c
%configure --sysconfdir=/etc/rdma
d7ff29c
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
d7ff29c
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
d7ff29c
make %{?_smp_mflags} V=1
d7ff29c
d7ff29c
%install
d7ff29c
make DESTDIR=%{buildroot} install
d7ff29c
# remove unpackaged files from the buildroot
d7ff29c
rm -f %{buildroot}%{_libdir}/*.la
d7ff29c
455ce78
%ldconfig_scriptlets
d7ff29c
d7ff29c
%files
d7ff29c
%{_libdir}/*.so.*
d7ff29c
%{_mandir}/man5/*
d7ff29c
%config(noreplace) %{_sysconfdir}/rdma/dat.conf
d7ff29c
%doc AUTHORS README ChangeLog README.mcm
d7ff29c
%license COPYING LICENSE.txt LICENSE2.txt LICENSE3.txt
d7ff29c
d7ff29c
%files devel
d7ff29c
%{_libdir}/*.so
d7ff29c
%dir %{_includedir}/dat2
d7ff29c
%{_includedir}/dat2/*
d7ff29c
d7ff29c
%files static
d7ff29c
%{_libdir}/*.a
d7ff29c
d7ff29c
%files utils
d7ff29c
%{_bindir}/*
d7ff29c
%{_mandir}/man1/*
d7ff29c
d7ff29c
%changelog
cafab70
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.9-11
cafab70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
cafab70
8e4ecff
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.9-10
8e4ecff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8e4ecff
25ff3df
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.9-9
25ff3df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
25ff3df
3886a09
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.9-8
3886a09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3886a09
1ce0cec
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.9-7
1ce0cec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1ce0cec
86e99d4
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.9-6
86e99d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
86e99d4
b2a6655
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.9-5
b2a6655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b2a6655
8dd9998
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.9-4
8dd9998
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8dd9998
d7ff29c
* Tue Nov 29 2016 Honggang Li <honli@redhat.com> - 2.1.9-3
d7ff29c
- Remove unnecessary configuration parameters
d7ff29c
- Fix spelling issues
d7ff29c
- Add Requires against rdma package
d7ff29c
- Resolves: bz1397643
d7ff29c
d7ff29c
* Sat Nov 26 2016 Honggang Li <honli@redhat.com> - 2.1.9-2
d7ff29c
- Drop all the Obsoletes lines
d7ff29c
- Removing rpath by patching local libtool
d7ff29c
- Add BuildRequires for the C compiler
d7ff29c
- Resolves: bz1397643
d7ff29c
d7ff29c
* Wed Nov 16 2016 Honggang Li <honli@redhat.com> - 2.1.9-1
d7ff29c
- Import dapl for Fedora.
d7ff29c
d7ff29c
* Thu Apr 21 2016 Honggang Li <honli@redhat.com> - 2.1.5-2
d7ff29c
- Ensure dapltest with no argument working in ppc64 arch.
d7ff29c
- Resolves: bz1056487
d7ff29c
d7ff29c
* Tue Jun 09 2015 Doug Ledford <dledford@redhat.com> - 2.1.5-1
d7ff29c
- Update to latest upstream release
d7ff29c
- Include support for s390x
d7ff29c
- Include support for aarch64
d7ff29c
- Drop old fix for NULL not defined, upstream has it resolved
d7ff29c
- Resolves: bz1182180, bz1197216, bz1172462, bz1044727, bz1056487
d7ff29c
d7ff29c
* Tue Oct 28 2014 Doug Ledford <dledford@redhat.com> - 2.0.39-5
d7ff29c
- Bump and rebuild after retagging the latest libibverbs and librdmacm
d7ff29c
  into the build root
d7ff29c
- Related: bz1123996
d7ff29c
d7ff29c
* Tue Oct 28 2014 Doug Ledford <dledford@redhat.com> - 2.0.39-4
d7ff29c
- Switch from ExclusiveArch to ExcludeArch
d7ff29c
- Related: bz1123996
d7ff29c
d7ff29c
* Tue Sep 09 2014 Dan HorĂ¡k <dhorak@redhat.com> - 2.0.39-3
d7ff29c
- enable on ppc64le
d7ff29c
- Resolves: #1123996
d7ff29c
d7ff29c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0.39-2
d7ff29c
- Mass rebuild 2013-12-27
d7ff29c
d7ff29c
* Wed Dec 18 2013 Jay Fenlason <fenlason@redhat.com> - 2.0.39-1
d7ff29c
- Upgrade to latest version
d7ff29c
  Resolves: rhbz#985117
d7ff29c
- Fix a compile problem with NULL not being defined
d7ff29c
  Resolves: rhbz#1029509
d7ff29c
d7ff29c
* Mon Jan 23 2012 Doug Ledford <dledford@redhat.com> - 2.0.34-1
d7ff29c
- Update to latest upstream version
d7ff29c
- Rebuild against new libibverbs (FDR link speed capable and IBoE enabled)
d7ff29c
- Related: bz750609
d7ff29c
d7ff29c
* Fri Jul 22 2011 Doug Ledford <dledford@redhat.com> - 2.0.32-1
d7ff29c
- Update to latest upstream version (2.0.25 -> 2.0.32)
d7ff29c
- Remove 4 patches folded into upstream release
d7ff29c
- Rebuild against new libibverbs and librdmacm
d7ff29c
- Update exclusive arch to accommodate i686 arch
d7ff29c
- Related: bz724896, bz725016
d7ff29c
d7ff29c
* Fri Jan 28 2011 Jay Fenlason <fenlason@redhat.com> 2.0.25-5.2.el6
d7ff29c
- Actually install the signal-handler patch
d7ff29c
  Resolves: bz667742	Error mapping bug in dapls_wait_comp_channel
d7ff29c
d7ff29c
* Thu Jan 27 2011 Jay Fenlason <fenlason@redhat.com> 2.0.25-5.1.el6
d7ff29c
- dapl-2.0.25-signal-handler.patch
d7ff29c
  Resolves: bz667742	Error mapping bug in dapls_wait_comp_channel
d7ff29c
- dapl-2.0.25-new-providers.patch
d7ff29c
  Resolves: bz636596
d7ff29c
- dapl-2.0.25-dat_ia_open_hang.patch
d7ff29c
  Resolves: bz649360
d7ff29c
- dapl-2.0.25-cleanup-cr-linkings-after-dto-error-on-ep.patch
d7ff29c
  Resolves: bz626541
d7ff29c
- dapl-2.0.25-verbs-cq-completion-channels-leak.patch
d7ff29c
  Resolves: bz637980
d7ff29c
d7ff29c
* Sun Mar 07 2010 Doug Ledford <dledford@redhat.com> - 2.0.25-5.el6
d7ff29c
- I missed that the license was in an invalid form, correct that
d7ff29c
- Related: bz555835
d7ff29c
d7ff29c
* Sun Mar 07 2010 Doug Ledford <dledford@redhat.com> - 2.0.25-4.el6
d7ff29c
- Clean up rpmlint warnings about unversioned obsoletes
d7ff29c
- Make setup quite
d7ff29c
- Include COPYING file in docs
d7ff29c
- Fix naked macro in changelog
d7ff29c
- Related: bz555835
d7ff29c
d7ff29c
* Thu Jan 21 2010 Doug Ledford <dledford@redhat.com> - 2.0.25-3.el6
d7ff29c
- Update config directory for rhel6 (from /etc/ofed to /etc/rdma)
d7ff29c
- Remove compat-dapl and split it off to its own rpm
d7ff29c
- Related: bz543948
d7ff29c
d7ff29c
* Tue Dec 22 2009 Doug Ledford <dledford@redhat.com> - 2.0.25-2.el5
d7ff29c
- Fix up file lists for upstream binary name changes
d7ff29c
d7ff29c
* Tue Dec 22 2009 Doug Ledford <dledford@redhat.com> - 2.0.25-1.el5
d7ff29c
- Update to latest upstream version
d7ff29c
- Related: bz518218
d7ff29c
d7ff29c
* Mon Jun 22 2009 Doug Ledford <dledford@redhat.com> - 2.0.19-2
d7ff29c
- Rebuild against libibverbs that isn't missing the proper ppc wmb() macro
d7ff29c
- Related: bz506258
d7ff29c
d7ff29c
* Fri Jun 19 2009 Doug Ledford <dledford@redhat.com> - 2.0.19-1
d7ff29c
- Recompile against non-XRC libibverbs
d7ff29c
- Update to OFED 1.4.1 final bits
d7ff29c
- Related: bz506258, bz506097
d7ff29c
d7ff29c
* Fri Apr 24 2009 Doug Ledford <dledford@redhat.com> - 2.0.17-2
d7ff29c
- Add -fno-strict-aliasing to CFLAGS
d7ff29c
d7ff29c
* Thu Apr 16 2009 Doug Ledford <dledford@redhat.com> - 2.0.17-1
d7ff29c
- Move the dat-1.2 conf file to /etc/ofed/compat-dapl/dat.conf
d7ff29c
- Update to ofed 1.4.1-rc3 versions of dapl
d7ff29c
- Related: bz459652
d7ff29c
d7ff29c
* Thu Oct 16 2008 Doug Ledford <dledford@redhat.com> - 2.0.13-4
d7ff29c
- Import the upstream fix for bug 465840
d7ff29c
- Related: bz465840
d7ff29c
d7ff29c
* Mon Oct 13 2008 Doug Ledford <dledford@redhat.com> - 2.0.13-3
d7ff29c
- Add a compat-dapl-utils package so people can test their dapl-1.2
d7ff29c
  setups
d7ff29c
- Even though we tell dapl to look for its config in /etc/ofed, it wasn't
d7ff29c
  actually looking there.  Fix that.
d7ff29c
- Resolves: bz465841, bz465840
d7ff29c
d7ff29c
* Wed Sep 17 2008 Doug Ledford <dledford@redhat.com> - 2.0.13-2
d7ff29c
- I don't know what I was thinking putting the version into the compat
d7ff29c
  dapl packages names...makes upgrades not work and makes things like
d7ff29c
  buildrequire compat-dapl-devel not work.  Removed, and we now obsolete
d7ff29c
  the existing compat-dapl*-{version} packages.
d7ff29c
d7ff29c
* Wed Sep 17 2008 Doug Ledford <dledford@redhat.com> - 2.0.13-1
d7ff29c
- Update to latest upstream versions for both dapl and compat-dapl
d7ff29c
- Resolves: bz451468
d7ff29c
d7ff29c
* Thu Apr 03 2008 Doug Ledford <dledford@redhat.com> - 2.0.7-2
d7ff29c
- Need a new brew build in order to get the filelist correct in the errata
d7ff29c
- Related: bz428197
d7ff29c
d7ff29c
* Tue Apr 01 2008 Doug Ledford <dledford@redhat.com> - 2.0.7-1
d7ff29c
- Update to same dapl versions as OFED 1.3 final bits
d7ff29c
- Upstream modified dapl-1.2 and dapl-2.0 to coexist, so undo the changes we
d7ff29c
  made in order for them to coexist in our package
d7ff29c
- Related: bz428197
d7ff29c
d7ff29c
* Tue Jan 29 2008 Doug Ledford <dledford@redhat.com> - 2.0.3-3
d7ff29c
- Make dapl-1.2 and dapl-2.0 devel environments coexist, and make dapl-1.2
d7ff29c
  the default lib so that unported apps continue to build, and ported apps
d7ff29c
  build properly by adding -L%%{_libdir}/dat -ldat to their LDFLAGS.
d7ff29c
d7ff29c
* Tue Jan 15 2008 Doug Ledford <dledford@redhat.com> - 2.0.3-2
d7ff29c
- Import upstream package, gut spec file, copy over dapl spec from openib spec
d7ff29c
- Merge dapl 1.2 and 2.0 support into a single rpm
d7ff29c
- Related: bz428197
d7ff29c
d7ff29c
* Tue Nov 20 2007 Arlin Davis <ardavis@ichips.intel.com> - 2.0.3
d7ff29c
- DAT/DAPL Version 2.0.3 Release 1
d7ff29c
d7ff29c
* Tue Oct 30 2007 Arlin Davis <ardavis@ichips.intel.com> - 2.0.2
d7ff29c
- DAT/DAPL Version 2.0.2 Release 1
d7ff29c
d7ff29c
* Tue Sep 18 2007 Arlin Davis <ardavis@ichips.intel.com> - 2.0.1-1
d7ff29c
- OFED 1.3-alpha, co-exist with DAT 1.2 library package.  
d7ff29c
d7ff29c
* Wed Mar 7 2007 Arlin Davis <ardavis@ichips.intel.com> - 2.0.0.pre
d7ff29c
- Initial release of DAT 2.0 APIs, includes IB extensions