Blame SPECS/libpsm2.spec

f567cd
Summary: Intel PSM Libraries
f567cd
Name: libpsm2
b76167
Version: 10.2.63
b76167
Release: 2%{?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
b76167
# # Latest commit id is a1cb2adaedb3bd3fa84dc0bcf66333b2e598d777.
b76167
# make dist
d6be0f
Source0: %{name}-%{version}.tar.gz
d6be0f
BuildRequires: kernel-headers >= 3.10.0-455
d6be0f
BuildRequires: gcc
f567cd
BuildRequires: libuuid-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
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
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
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.