Blame SPECS/dapl.spec

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