Blame SPECS/dapl.spec

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