Blame SPECS/libpsm2.spec

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