Blame SPECS/libpsm2.spec

278aaf
Summary: Intel PSM Libraries
278aaf
Name: libpsm2
278aaf
Version: 11.2.78
278aaf
Release: 1%{?dist}
278aaf
License: GPLv2 or BSD
278aaf
URL: https://github.com/01org/opa-psm2
278aaf
# Source tarball obtained by:
278aaf
# git clone https://github.com/01org/opa-psm2
278aaf
# cd opa-psm2
278aaf
# # Latest commit id is 816c0dbdf911dba097dcbb09f023c5113713c33e.
278aaf
# make dist
278aaf
Source0: %{name}-%{version}.tar.gz
278aaf
BuildRequires: kernel-headers >= 3.10.0-455
278aaf
BuildRequires: gcc
278aaf
BuildRequires: libuuid-devel
278aaf
BuildRequires: numactl-devel
278aaf
BuildRequires: pkgconfig(udev)
278aaf
# OPA HFI is Intel's thing
278aaf
ExclusiveArch: x86_64
278aaf
278aaf
%description
278aaf
The PSM Messaging API, or PSM API, is Intel's low-level
278aaf
user-level communications interface for the Intel(R) OPA
278aaf
family of products. PSM users are enabled with mechanisms
278aaf
necessary to implement higher level communications
278aaf
interfaces in parallel environments.
278aaf
278aaf
%package devel
278aaf
Summary: Development files for Intel PSM
278aaf
Group: Development/Libraries
278aaf
Requires: %{name}%{?_isa} = %{version}-%{release}
278aaf
Requires: libuuid-devel
278aaf
278aaf
%description devel
278aaf
Development files for the libpsm2 library
278aaf
278aaf
%package compat
278aaf
Summary: Support for MPIs linked with PSM1
278aaf
Group: System Environment/Libraries
278aaf
Requires: %{name}%{?_isa} = %{version}-%{release}
278aaf
278aaf
%global _privatelibs libpsm_infinipath[.]so[.]1.*
278aaf
%global __provides_exclude ^(%{_privatelibs})$
278aaf
%global __requires_exclude ^(%{_privatelibs})$
278aaf
278aaf
%description compat
278aaf
Support for MPIs linked with PSM1.
278aaf
The compat library is installed in a non-standard directory to avoid
278aaf
conflicting with infinipath-psm. To use it, set:
278aaf
LD_LIBRARY_PATH=%{_libdir}/psm2-compat
278aaf
278aaf
%prep
278aaf
%setup -q
278aaf
find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
278aaf
278aaf
%build
278aaf
CFLAGS="%{optflags}" make %{?_smp_mflags}
278aaf
278aaf
%install
278aaf
%make_install
278aaf
rm -f %{buildroot}%{_libdir}/*.a
278aaf
278aaf
%post -p /sbin/ldconfig
278aaf
%postun -p /sbin/ldconfig
278aaf
278aaf
%files
278aaf
%doc README
278aaf
%license COPYING
278aaf
%{_libdir}/libpsm2.so.2.1
278aaf
%{_libdir}/libpsm2.so.2
278aaf
%{_udevrulesdir}/40-psm.rules
278aaf
278aaf
%files devel
278aaf
%{_libdir}/libpsm2.so
278aaf
%{_includedir}/psm2.h
278aaf
%{_includedir}/psm2_mq.h
278aaf
%{_includedir}/psm2_am.h
278aaf
%{_includedir}/hfi1diag
278aaf
278aaf
%files compat
278aaf
%{_udevrulesdir}/40-psm-compat.rules
278aaf
%{_libdir}/psm2-compat
278aaf
%{_sysconfdir}/modprobe.d/libpsm2-compat.conf
278aaf
%{_prefix}/lib/libpsm2
278aaf
278aaf
278aaf
%changelog
278aaf
* Thu Jan 31 2019 Honggang Li <honli@redhat.com> - 11.2.78-1
278aaf
- Rebase to latest upstream release PSM2_11.2.78
278aaf
- Resolves: bz1637248
278aaf
278aaf
* Wed Jun 20 2018 Honggang Li <honli@redhat.com> - 10.3.58-1
278aaf
- Rebase to latest upstream release PSM2_10.3.58
278aaf
- Resolves: bz1483573
278aaf
278aaf
* Tue Jan  9 2018 Honggang Li <honli@redhat.com> - 10.3.8-3
278aaf
- libpsm2-compat: Filter libpsm_infinipath.so.1 as private library
278aaf
- Resolves: bz1396213
278aaf
278aaf
* Sat Oct  7 2017 Honggang Li <honli@redhat.com> - 10.3.8-2
278aaf
- BuildRequires numactl-devel.
278aaf
- Resolves: bz1452794, bz1498142
278aaf
278aaf
* Fri Oct  6 2017 Honggang Li <honli@redhat.com> - 10.3.8-1
278aaf
- Rebase to latest upstream release 10.3.8.
278aaf
- Resolves: bz1452794, bz1498142
278aaf
278aaf
* Mon Mar  6 2017 Honggang Li <honli@redhat.com> - 10.2.63-2
278aaf
- Make sure all C source code is not executable.
278aaf
- Resolves: bz1382802
278aaf
278aaf
* Fri Mar  3 2017 Honggang Li <honli@redhat.com> - 10.2.63-1
278aaf
- Rebase to upstream latest release 10.2.63.
278aaf
- Resolves: bz1382802
278aaf
278aaf
* Fri Aug  5 2016 Honggang Li <honli@redhat.com> - 10.2.33-1
278aaf
- Rebase to upstream latest release 10.2.33.
278aaf
- Related: bz1273155
278aaf
278aaf
* Thu Jun 30 2016 Honggang Li <honli@redhat.com> - 10.2.23-1
278aaf
- Rebase to upstream latest release 10.2.23.
278aaf
- Related: bz1273155
278aaf
278aaf
* Mon May 30 2016 Honggang Li <honli@redhat.com> - 10.2.1-1
278aaf
- Rebase to upstream latest release 10.2.1.
278aaf
- Related: bz1273155
278aaf
278aaf
* Tue Sep 01 2015 Michal Schmidt <mschmidt@redhat.com> - 0.7-4
278aaf
- Prevent executable stack.
278aaf
- Related: bz1173296
278aaf
278aaf
* Wed Aug 19 2015 Michal Schmidt <mschmidt@redhat.com> - 0.7-3
278aaf
- Move the compat lib to /usr/lib64/psm2, drop Conflict with infinipath-psm.
278aaf
278aaf
* Tue Aug 18 2015 Michal Schmidt <mschmidt@redhat.com> - 0.7-2
278aaf
- Conflict with rather than Obsolete infinipath-psm.
278aaf
278aaf
* Wed Aug 12 2015 Michal Schmidt <mschmidt@redhat.com> - 0.7-1
278aaf
- Initial packaging for RHEL, based on upstream spec.