Blame SPECS/compat-dapl.spec

dd4be8
Name: compat-dapl
dd4be8
Epoch: 1
dd4be8
Version: 1.2.19
ef3c79
Release: 4%{?dist}
dd4be8
Summary: Library providing access to the DAT 1.2 API
dd4be8
Group: System Environment/Libraries
dd4be8
Obsoletes: udapl < 1.3, dapl < 1.2.2, compat-dapl-1.2.5 < 2.1
dd4be8
License: GPLv2 or BSD or CPL
ef3c79
Url: https://openfabrics.org/
ef3c79
Source0: https://www.openfabrics.org/downloads/dapl/%{name}-%{version}.tar.gz
db4c65
Patch0: compat-dapl-1.2.19-compile.patch
ef3c79
Patch1: 0005-compat-dapl-add-s390x-platform-support.patch
dd4be8
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
dd4be8
Requires(post): /sbin/ldconfig
dd4be8
Requires(postun): /sbin/ldconfig
dd4be8
BuildRequires: libibverbs-devel > 1.1.4, librdmacm-devel > 1.0.14
dd4be8
BuildRequires: autoconf, libtool, dapl-devel > 2.0.31
ef3c79
ExcludeArch: aarch64 s390
dd4be8
%description
dd4be8
The DAT programming API provides a means of utilizing high performance
dd4be8
network technologies, such as InfiniBand and iWARP, without needing to
dd4be8
write your program to use those technologies directy.  This package
dd4be8
contains the libraries that implement version 1.2 of the DAT API.  The
dd4be8
current (and recommended version for any new code) is 2.0.  These 1.2
dd4be8
libraries are provided solely for backward compatibily.
dd4be8
dd4be8
%package devel
dd4be8
Summary: Development files for the dapl-1.2 compat libdat and libdapl libraries
dd4be8
Group: System Environment/Libraries
dd4be8
Requires: %{name} = %{epoch}:%{version}-%{release}
dd4be8
Obsoletes: udapl-devel < 1.3, dapl-devel < 1.2.2, compat-dapl-devel-1.2.5 < 2.1
dd4be8
%description devel
dd4be8
Header files for the dapl-1.2 compat libdat and libdapl library.
dd4be8
dd4be8
%package static
dd4be8
Summary: Static libdat and libdapl libraries
dd4be8
Group: System Environment/Libraries
dd4be8
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
dd4be8
Obsoletes: dapl-devel-static < 1.2.14, compat-dapl-static-1.2.5 < 2.1
dd4be8
%description static
dd4be8
Static versions of the dapl-1.2 compat libdat and libdapl libraries.
dd4be8
dd4be8
%package utils
dd4be8
Summary: Test suites for dapl 1.2 libraries
dd4be8
Group: System Environment/Libraries
dd4be8
Requires: %{name} = %{epoch}:%{version}-%{release}
dd4be8
%description utils
dd4be8
Useful test suites to validate the dapl library API's and operation.
dd4be8
dd4be8
%prep
dd4be8
%setup -q
ef3c79
%patch0 -p1 -b .compile
ef3c79
%patch1 -p1 -b .s390x
dd4be8
aclocal -I config && libtoolize --force --copy && autoheader && \
dd4be8
    automake --foreign --add-missing --copy && autoconf
dd4be8
dd4be8
%build
dd4be8
%configure CFLAGS="$CFLAGS -fno-strict-aliasing" --sysconfdir=%{_sysconfdir}/rdma/compat-dapl
dd4be8
make %{?_smp_mflags}
dd4be8
dd4be8
%install
dd4be8
rm -rf %{buildroot}
dd4be8
make DESTDIR=%{buildroot} install
dd4be8
# remove unpackaged files from the buildroot
dd4be8
rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{_mandir}/man5/*
dd4be8
dd4be8
%clean
dd4be8
rm -rf %{buildroot}
dd4be8
dd4be8
%post -p /sbin/ldconfig
dd4be8
%postun -p /sbin/ldconfig
dd4be8
dd4be8
%files
dd4be8
%defattr(-,root,root,-)
dd4be8
%{_libdir}/libdat.so.*
dd4be8
%{_libdir}/libdaplcma.so.*
dd4be8
%{_libdir}/libdaplscm.so.*
dd4be8
%config(noreplace) %{_sysconfdir}/rdma/compat-dapl/dat.conf
dd4be8
%doc AUTHORS ChangeLog COPYING README
dd4be8
dd4be8
%files devel
dd4be8
%defattr(-,root,root,-)
dd4be8
%{_libdir}/libdat.so
dd4be8
%{_libdir}/libdaplcma.so
dd4be8
%{_libdir}/libdaplscm.so
dd4be8
%dir %{_includedir}/dat
dd4be8
%{_includedir}/dat/*
dd4be8
dd4be8
%files static
dd4be8
%defattr(-,root,root,-)
dd4be8
%{_libdir}/libdat.a
dd4be8
%{_libdir}/libdaplcma.a
dd4be8
%{_libdir}/libdaplscm.a
dd4be8
dd4be8
%files utils
dd4be8
%defattr(-,root,root,-)
dd4be8
%{_bindir}/*1
dd4be8
%{_mandir}/man1/*1.1.gz
dd4be8
dd4be8
%changelog
ef3c79
* Thu Jul 16 2015 Doug Ledford <dledford@redhat.com> - 1:1.2.19-4
ef3c79
- Add s390 support patch
ef3c79
- Resolves: bz1196211
ef3c79
db4c65
* Mon Jan 6 2014 Jay Fenlason <fenlason@redhat.com> - 1:1.2.19-3
db4c65
- Add -compile patch
db4c65
  Resolves: rhbz1048849
db4c65
db4c65
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com>
db4c65
- Mass rebuild 2013-12-27
db4c65
dd4be8
* Mon Jan 23 2012 Doug Ledford <dledford@redhat.com> - 1:1.2.19-2
dd4be8
- Bump and rebuild against new libibverbs (FDR link speed support)
dd4be8
- Related: bz750609
dd4be8
dd4be8
* Fri Jul 22 2011 Doug Ledford <dledford@redhat.com> - 1:1.2.19-1
dd4be8
- Update to latest upstream release (1.2.15 -> 1.2.19)
dd4be8
- Remove 3 patches rolled into upstream
dd4be8
- Update exclusive arch to accommodate i686 arch
dd4be8
- Related: bz725016, bz724896
dd4be8
dd4be8
* Fri Jan 28 2011 Jay Fenlason <fenlason@redhat.com> - 1:1.2.15-2.2.el6
dd4be8
- compat-dapl-cleanup-cr-linkings-after-dto-error-on-ep.patch
dd4be8
  Resolves: bz635155
dd4be8
db4c65
* Mon Aug 02 2010 Jay Fenlason <fenlason@redhat.com> - 1:1.2.15-2.1.el6
dd4be8
- Include pipe-leak patch to close
dd4be8
  Resolves: rhbz619439 - OFED1.5.1: uDAPL - cma: memory leak of FD's (DB2 pureScale)
dd4be8
  This required some whitspace editing--apparently the patch was garbled
dd4be8
  somewhere in transit.
dd4be8
- Include the cma-memleak-verbs-CQ-compl-chans-fix patch to close
dd4be8
  Resolves: rhbz619443 - OFED1.5.1: uDAPL handles close on forked child exit (DB2 pureScale)
dd4be8
dd4be8
* Sun Mar 07 2010 Doug Ledford <dledford@redhat.com> - 1:1.2.15-2.el6
dd4be8
- Fix various rpmlint wanrings in spec file
dd4be8
- Version all of the obsoletes
dd4be8
- Now that this is no longer part of the dapl rpm, it needs its own
dd4be8
  doc macro so that the license and whatnot are on the system when the
dd4be8
  package is installed
dd4be8
- Related: bz555835
dd4be8
dd4be8
* Thu Jan 21 2010 Jay Fenlason <fenlason@redhat.com> 1:1.2.15-1.el5
dd4be8
- Change sysconfig file to /etc/rdma/compat-dapl to match the change in dapl
dd4be8
- Split out into separate source rpm from the dapl-2.0.25-2.el5.src.rpm
dd4be8
  Resolves: rhbz#557170 split compat-dapl into a separate srpm