Blame SPECS/dapl.spec

7d3275
Name: dapl
c29b7c
Version: 2.1.5
84b328
Release: 3%{?dist}
7d3275
Summary: Library providing access to the DAT 2.0 API
7d3275
Group: System Environment/Libraries
7d3275
License: GPLv2 or BSD or CPL
c29b7c
Url: https://www.openfabrics.org/
c29b7c
Source0: https://www.openfabrics.org/downloads/dapl/dapl-%{version}.tar.gz
84f175
Patch1: 0001-dapltest-dapltest-with-no-argument-not-working-in-pp.patch
84b328
Patch2: 0001-workaround-for-librdmacm-resource-leak.patch
84b328
7d3275
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7d3275
Requires(post): /sbin/ldconfig
7d3275
Requires(postun): /sbin/ldconfig
7d3275
Obsoletes: udapl < 1.3
c29b7c
BuildRequires: libibverbs-devel > 1.1.7, librdmacm-devel > 1.0.18, ibacm-devel
c29b7c
BuildRequires: chrpath
c29b7c
ExcludeArch: s390
c29b7c
#BuildRequires: autoconf, libtool
7d3275
%description
7d3275
libdat and libdapl provide a userspace implementation of the DAT 2.0
7d3275
API and is built to natively support InfiniBand/iWARP network technology.
7d3275
7d3275
%package devel
7d3275
Summary: Development files for the libdat and libdapl libraries
7d3275
Group: System Environment/Libraries
7d3275
Requires: %{name} = %{version}-%{release}
7d3275
Obsoletes: udapl-devel < 1.3
7d3275
%description devel
7d3275
Header files for libdat and libdapl library.
7d3275
7d3275
%package static
7d3275
Summary: Static libdat and libdapl libraries
7d3275
Group: System Environment/Libraries
7d3275
Requires: %{name}-devel = %{version}-%{release}
7d3275
Obsoletes: dapl-devel-static < 2.0.24
7d3275
%description static
7d3275
Static versions of the libdat and libdapl libraries.
7d3275
7d3275
%package utils
7d3275
Summary: Test suites for dapl libraries
7d3275
Group: System Environment/Libraries
7d3275
Requires: %{name} = %{version}-%{release}
7d3275
%description utils
7d3275
Useful test suites to validate the dapl library API's and operation.
7d3275
7d3275
%prep
7d3275
%setup -q
c29b7c
#aclocal -I config && libtoolize --force --copy && autoheader && \
c29b7c
#    automake --foreign --add-missing --copy && autoconf
84f175
%patch1 -p1
84b328
%patch2 -p1
7d3275
7d3275
%build
7d3275
%configure CFLAGS="$CFLAGS -fno-strict-aliasing" --enable-ext-type=ib --sysconfdir=/etc/rdma
7d3275
make %{?_smp_mflags}
7d3275
7d3275
%install
7d3275
rm -rf %{buildroot}
7d3275
make DESTDIR=%{buildroot} install
7d3275
# remove unpackaged files from the buildroot
7d3275
rm -f %{buildroot}%{_libdir}/*.la
c29b7c
chrpath -d %{buildroot}%{_bindir}/*
7d3275
7d3275
%clean
7d3275
rm -rf %{buildroot}
7d3275
7d3275
%post -p /sbin/ldconfig
7d3275
%postun -p /sbin/ldconfig
7d3275
7d3275
%files
7d3275
%defattr(-,root,root,-)
7d3275
%{_libdir}/*.so.*
7d3275
%{_mandir}/man5/*
7d3275
%config(noreplace) %{_sysconfdir}/rdma/dat.conf
7d3275
%doc AUTHORS README ChangeLog COPYING
7d3275
7d3275
%files devel
7d3275
%defattr(-,root,root,-)
7d3275
%{_libdir}/*.so
7d3275
%dir %{_includedir}/dat2
7d3275
%{_includedir}/dat2/*
7d3275
7d3275
%files static
7d3275
%defattr(-,root,root,-)
7d3275
%{_libdir}/*.a
7d3275
7d3275
%files utils
7d3275
%defattr(-,root,root,-)
7d3275
%{_bindir}/*
7d3275
%{_mandir}/man1/*
7d3275
7d3275
%changelog
84b328
* Fri Jan 31 2020 Honggang Li <honli@redhat.com> - 2.1.5-3
84b328
- Fix file descriptor leak issue for cma provider
84b328
- Resolves: bz1784193
84b328
84f175
* Thu Apr 21 2016 Honggang Li <honli@redhat.com> - 2.1.5-2
84f175
- Ensure dapltest with no argument working in ppc64 arch.
84f175
- Resolves: bz1056487
84f175
c29b7c
* Tue Jun 09 2015 Doug Ledford <dledford@redhat.com> - 2.1.5-1
c29b7c
- Update to latest upstream release
c29b7c
- Include support for s390x
c29b7c
- Include support for aarch64
c29b7c
- Drop old fix for NULL not defined, upstream has it resolved
c29b7c
- Resolves: bz1182180, bz1197216, bz1172462, bz1044727, bz1056487
c29b7c
cfec64
* Tue Oct 28 2014 Doug Ledford <dledford@redhat.com> - 2.0.39-5
cfec64
- Bump and rebuild after retagging the latest libibverbs and librdmacm
cfec64
  into the build root
cfec64
- Related: bz1123996
cfec64
cfec64
* Tue Oct 28 2014 Doug Ledford <dledford@redhat.com> - 2.0.39-4
cfec64
- Switch from ExclusiveArch to ExcludeArch
cfec64
- Related: bz1123996
cfec64
cfec64
* Tue Sep 09 2014 Dan Horák <dhorak@redhat.com> - 2.0.39-3
cfec64
- enable on ppc64le
cfec64
- Resolves: #1123996
cfec64
ae023e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0.39-2
ae023e
- Mass rebuild 2013-12-27
ae023e
c29b7c
* Wed Dec 18 2013 Jay Fenlason <fenlason@redhat.com> - 2.0.39-1
ae023e
- Upgrade to latest version
ae023e
  Resolves: rhbz#985117
ae023e
- Fix a compile problem with NULL not being defined
ae023e
  Resolves: rhbz#1029509
ae023e
7d3275
* Mon Jan 23 2012 Doug Ledford <dledford@redhat.com> - 2.0.34-1
7d3275
- Update to latest upstream version
7d3275
- Rebuild against new libibverbs (FDR link speed capable and IBoE enabled)
7d3275
- Related: bz750609
7d3275
7d3275
* Fri Jul 22 2011 Doug Ledford <dledford@redhat.com> - 2.0.32-1
7d3275
- Update to latest upstream version (2.0.25 -> 2.0.32)
7d3275
- Remove 4 patches folded into upstream release
7d3275
- Rebuild against new libibverbs and librdmacm
7d3275
- Update exclusive arch to accommodate i686 arch
7d3275
- Related: bz724896, bz725016
7d3275
7d3275
* Fri Jan 28 2011 Jay Fenlason <fenlason@redhat.com> 2.0.25-5.2.el6
7d3275
- Actually install the signal-handler patch
7d3275
  Resolves: bz667742	Error mapping bug in dapls_wait_comp_channel
7d3275
7d3275
* Thu Jan 27 2011 Jay Fenlason <fenlason@redhat.com> 2.0.25-5.1.el6
7d3275
- dapl-2.0.25-signal-handler.patch
7d3275
  Resolves: bz667742	Error mapping bug in dapls_wait_comp_channel
7d3275
- dapl-2.0.25-new-providers.patch
7d3275
  Resolves: bz636596
7d3275
- dapl-2.0.25-dat_ia_open_hang.patch
7d3275
  Resolves: bz649360
7d3275
- dapl-2.0.25-cleanup-cr-linkings-after-dto-error-on-ep.patch
7d3275
  Resolves: bz626541
7d3275
- dapl-2.0.25-verbs-cq-completion-channels-leak.patch
7d3275
  Resolves: bz637980
7d3275
7d3275
* Sun Mar 07 2010 Doug Ledford <dledford@redhat.com> - 2.0.25-5.el6
7d3275
- I missed that the license was in an invalid form, correct that
7d3275
- Related: bz555835
7d3275
7d3275
* Sun Mar 07 2010 Doug Ledford <dledford@redhat.com> - 2.0.25-4.el6
7d3275
- Clean up rpmlint warnings about unversioned obsoletes
7d3275
- Make setup quite
7d3275
- Include COPYING file in docs
7d3275
- Fix naked macro in changelog
7d3275
- Related: bz555835
7d3275
7d3275
* Thu Jan 21 2010 Doug Ledford <dledford@redhat.com> - 2.0.25-3.el6
7d3275
- Update config directory for rhel6 (from /etc/ofed to /etc/rdma)
7d3275
- Remove compat-dapl and split it off to its own rpm
7d3275
- Related: bz543948
7d3275
7d3275
* Tue Dec 22 2009 Doug Ledford <dledford@redhat.com> - 2.0.25-2.el5
7d3275
- Fix up file lists for upstream binary name changes
7d3275
7d3275
* Tue Dec 22 2009 Doug Ledford <dledford@redhat.com> - 2.0.25-1.el5
7d3275
- Update to latest upstream version
7d3275
- Related: bz518218
7d3275
7d3275
* Mon Jun 22 2009 Doug Ledford <dledford@redhat.com> - 2.0.19-2
7d3275
- Rebuild against libibverbs that isn't missing the proper ppc wmb() macro
7d3275
- Related: bz506258
7d3275
7d3275
* Fri Jun 19 2009 Doug Ledford <dledford@redhat.com> - 2.0.19-1
7d3275
- Recompile against non-XRC libibverbs
7d3275
- Update to OFED 1.4.1 final bits
7d3275
- Related: bz506258, bz506097
7d3275
7d3275
* Fri Apr 24 2009 Doug Ledford <dledford@redhat.com> - 2.0.17-2
7d3275
- Add -fno-strict-aliasing to CFLAGS
7d3275
7d3275
* Thu Apr 16 2009 Doug Ledford <dledford@redhat.com> - 2.0.17-1
7d3275
- Move the dat-1.2 conf file to /etc/ofed/compat-dapl/dat.conf
7d3275
- Update to ofed 1.4.1-rc3 versions of dapl
7d3275
- Related: bz459652
7d3275
7d3275
* Thu Oct 16 2008 Doug Ledford <dledford@redhat.com> - 2.0.13-4
7d3275
- Import the upstream fix for bug 465840
7d3275
- Related: bz465840
7d3275
7d3275
* Mon Oct 13 2008 Doug Ledford <dledford@redhat.com> - 2.0.13-3
7d3275
- Add a compat-dapl-utils package so people can test their dapl-1.2
7d3275
  setups
7d3275
- Even though we tell dapl to look for its config in /etc/ofed, it wasn't
7d3275
  actually looking there.  Fix that.
7d3275
- Resolves: bz465841, bz465840
7d3275
7d3275
* Wed Sep 17 2008 Doug Ledford <dledford@redhat.com> - 2.0.13-2
7d3275
- I don't know what I was thinking putting the version into the compat
7d3275
  dapl packages names...makes upgrades not work and makes things like
7d3275
  buildrequire compat-dapl-devel not work.  Removed, and we now obsolete
7d3275
  the existing compat-dapl*-{version} packages.
7d3275
7d3275
* Wed Sep 17 2008 Doug Ledford <dledford@redhat.com> - 2.0.13-1
7d3275
- Update to latest upstream versions for both dapl and compat-dapl
7d3275
- Resolves: bz451468
7d3275
7d3275
* Thu Apr 03 2008 Doug Ledford <dledford@redhat.com> - 2.0.7-2
7d3275
- Need a new brew build in order to get the filelist correct in the errata
7d3275
- Related: bz428197
7d3275
7d3275
* Tue Apr 01 2008 Doug Ledford <dledford@redhat.com> - 2.0.7-1
7d3275
- Update to same dapl versions as OFED 1.3 final bits
7d3275
- Upstream modified dapl-1.2 and dapl-2.0 to coexist, so undo the changes we
7d3275
  made in order for them to coexist in our package
7d3275
- Related: bz428197
7d3275
7d3275
* Tue Jan 29 2008 Doug Ledford <dledford@redhat.com> - 2.0.3-3
7d3275
- Make dapl-1.2 and dapl-2.0 devel environments coexist, and make dapl-1.2
7d3275
  the default lib so that unported apps continue to build, and ported apps
7d3275
  build properly by adding -L%%{_libdir}/dat -ldat to their LDFLAGS.
7d3275
7d3275
* Tue Jan 15 2008 Doug Ledford <dledford@redhat.com> - 2.0.3-2
7d3275
- Import upstream package, gut spec file, copy over dapl spec from openib spec
7d3275
- Merge dapl 1.2 and 2.0 support into a single rpm
7d3275
- Related: bz428197
7d3275
7d3275
* Tue Nov 20 2007 Arlin Davis <ardavis@ichips.intel.com> - 2.0.3
7d3275
- DAT/DAPL Version 2.0.3 Release 1
7d3275
7d3275
* Tue Oct 30 2007 Arlin Davis <ardavis@ichips.intel.com> - 2.0.2
7d3275
- DAT/DAPL Version 2.0.2 Release 1
7d3275
7d3275
* Tue Sep 18 2007 Arlin Davis <ardavis@ichips.intel.com> - 2.0.1-1
7d3275
- OFED 1.3-alpha, co-exist with DAT 1.2 library package.  
7d3275
7d3275
* Wed Mar 7 2007 Arlin Davis <ardavis@ichips.intel.com> - 2.0.0.pre
7d3275
- Initial release of DAT 2.0 APIs, includes IB extensions