Blame SPECS/compat-dapl.spec

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