Blame SPECS/libpsm2.spec

e29f4b
#
e29f4b
#  This file is provided under a dual BSD/GPLv2 license.  When using or
e29f4b
#  redistributing this file, you may do so under either license.
e29f4b
#
e29f4b
#  GPL LICENSE SUMMARY
e29f4b
#
e29f4b
#  Copyright(c) 2015 Intel Corporation.
e29f4b
#
e29f4b
#  This program is free software; you can redistribute it and/or modify
e29f4b
#  it under the terms of version 2 of the GNU General Public License as
e29f4b
#  published by the Free Software Foundation.
e29f4b
#
e29f4b
#  This program is distributed in the hope that it will be useful, but
e29f4b
#  WITHOUT ANY WARRANTY; without even the implied warranty of
e29f4b
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
e29f4b
#  General Public License for more details.
e29f4b
#
e29f4b
#  Contact Information:
e29f4b
#  Intel Corporation, www.intel.com
e29f4b
#
e29f4b
#  BSD LICENSE
e29f4b
#
e29f4b
#  Copyright(c) 2015 Intel Corporation.
e29f4b
#
e29f4b
#  Redistribution and use in source and binary forms, with or without
e29f4b
#  modification, are permitted provided that the following conditions
e29f4b
#  are met:
e29f4b
#
e29f4b
#    * Redistributions of source code must retain the above copyright
e29f4b
#      notice, this list of conditions and the following disclaimer.
e29f4b
#    * Redistributions in binary form must reproduce the above copyright
e29f4b
#      notice, this list of conditions and the following disclaimer in
e29f4b
#      the documentation and/or other materials provided with the
e29f4b
#      distribution.
e29f4b
#    * Neither the name of Intel Corporation nor the names of its
e29f4b
#      contributors may be used to endorse or promote products derived
e29f4b
#      from this software without specific prior written permission.
e29f4b
#
e29f4b
#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
e29f4b
#  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
e29f4b
#  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
e29f4b
#  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
e29f4b
#  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
e29f4b
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
e29f4b
#  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
e29f4b
#  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
e29f4b
#  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
e29f4b
#  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
e29f4b
#  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
e29f4b
#
e29f4b
# Copyright (c) 2014-2015 Intel Corporation. All rights reserved.
e29f4b
#
e29f4b
Summary: Intel PSM Libraries
e29f4b
Name: libpsm2
435163
Version: 11.2.206
34077d
Release: 1%{?dist}
e29f4b
License: BSD or GPLv2
34077d
URL: https://github.com/intel/opa-psm2
e29f4b
e29f4b
# The tarball can be created by:
34077d
# git clone https://github.com/intel/opa-psm2.git
e29f4b
# cd opa-psm2
435163
# git checkout c3a7d9468d5623c0164b783346bada8664a9a2c9
e29f4b
# make dist
8d2409
Source0: %{name}-%{version}.tar.gz
e29f4b
8d2409
# The OPA product is supported on x86_64 only:
e29f4b
ExclusiveArch: x86_64
e29f4b
BuildRequires: libuuid-devel
e29f4b
BuildRequires: numactl-devel
e29f4b
BuildRequires: systemd
e29f4b
BuildRequires: gcc
e29f4b
Obsoletes: hfi1-psm < 1.0.0
e29f4b
e29f4b
%package devel
e29f4b
Summary: Development files for Intel PSM
e29f4b
Requires: %{name}%{?_isa} = %{version}-%{release}
e29f4b
Requires: libuuid-devel
e29f4b
e29f4b
%package compat
e29f4b
Summary: Compat library for Intel PSM
e29f4b
Requires: %{name}%{?_isa} = %{version}-%{release}
e29f4b
Requires: systemd-udev
e29f4b
e29f4b
%global _privatelibs libpsm_infinipath[.]so[.]1.*
e29f4b
%global __provides_exclude ^(%{_privatelibs})$
e29f4b
%global __requires_exclude ^(%{_privatelibs})$
e29f4b
e29f4b
%description
e29f4b
The PSM Messaging API, or PSM API, is the low-level
e29f4b
user-level communications interface for the Intel OPA
e29f4b
family of products. PSM users are enabled with mechanisms
e29f4b
necessary to implement higher level communications
e29f4b
interfaces in parallel environments.
e29f4b
e29f4b
%description devel
e29f4b
Development files for the Intel PSM library
e29f4b
e29f4b
%description compat
e29f4b
Support for MPIs linked with PSM versions < 2
e29f4b
e29f4b
%prep
8d2409
%setup -q -n %{name}-%{version}
e29f4b
e29f4b
%build
e29f4b
%{set_build_flags}
e29f4b
make %{?_smp_mflags}
e29f4b
e29f4b
%install
e29f4b
%make_install
e29f4b
rm -f %{buildroot}%{_libdir}/*.a
e29f4b
e29f4b
%post -p /sbin/ldconfig
e29f4b
%postun -p /sbin/ldconfig
e29f4b
e29f4b
%files
e29f4b
%license COPYING
8d2409
%{_libdir}/libpsm2.so.2.*
e29f4b
%{_libdir}/libpsm2.so.2
e29f4b
%if 0%{?rhel} >= 8
e29f4b
%{_udevrulesdir}/40-psm.rules
e29f4b
%endif
e29f4b
e29f4b
e29f4b
%files devel
e29f4b
%{_libdir}/libpsm2.so
e29f4b
%{_includedir}/psm2.h
e29f4b
%{_includedir}/psm2_mq.h
e29f4b
%{_includedir}/psm2_am.h
e29f4b
%{_includedir}/hfi1diag
e29f4b
e29f4b
%files compat
e29f4b
%{_libdir}/psm2-compat
e29f4b
%{_udevrulesdir}/40-psm-compat.rules
e29f4b
%{_prefix}/lib/libpsm2
e29f4b
%if 0%{?fedora}
e29f4b
%{_prefix}/lib/modprobe.d/libpsm2-compat.conf
e29f4b
%endif
e29f4b
%if 0%{?rhel} >= 8
e29f4b
%{_sysconfdir}/modprobe.d/libpsm2-compat.conf
e29f4b
%endif
e29f4b
e29f4b
%changelog
435163
* Tue Dec 07 2021 Honggang Li <honli@redhat.com> - 11.2.206-1
435163
- Rebase to latest upstream release 11.2.206
435163
- Resolves: bz1989162
435163
8d2409
* Wed Oct 28 2020 Honggang Li <honli@redhat.com> - 11.2.185-1
8d2409
- Rebase to latest upstream release 11.2.185
8d2409
- Resolves: bz1821736
8d2409
ecb1fa
* Thu Apr 09 2020 Honggang Li <honli@redhat.com> - 11.2.91-1
ecb1fa
- Rebase to latest upstream release 11.2.91
ecb1fa
- Resolves: bz1739284
ecb1fa
34077d
* Tue Oct 29 2019 Honggang Li <honli@redhat.com> - 11.2.86-1
34077d
- Rebase to latest upstream release 11.2.86
34077d
- Resolves: bz1719681
34077d
e29f4b
* Mon Sep 24 2018 Honggang Li <honli@redhat.com> - 10.3.58-2
e29f4b
- Fix corrupted libpsm2 debuginfo file
e29f4b
- Resolves: bz1630766
e29f4b
e29f4b
* Fri Jun 22 2018 Honggang Li <honli@redhat.com> - 10.3.58-1
e29f4b
- Rebase to latest upstream release 10.3.58.
e29f4b
- Resolves: bz1594073
e29f4b
e29f4b
* Thu Mar 15 2018 - 10.3.8-5
e29f4b
- Fix partial injection of Fedora build flags.
e29f4b
- Double the sizeof array fdesc to fix a gcc compiling issue.
e29f4b
- Resolves: bz1556062
e29f4b
e29f4b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.3.8-4
e29f4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e29f4b
e29f4b
* Thu Jan  4 2018 Honggang Li <honli@redhat.com> - 10.3.8-3
e29f4b
- Filter PSM1 library as private library
e29f4b
- Resolves: bz1530979
e29f4b
e29f4b
* Fri Dec 15 2017 Honggang Li <honli@redhat.com> - 10.3.8-2
e29f4b
- Minor enhancement
e29f4b
- Resolves: bz1526261
e29f4b
e29f4b
* Tue Dec 12 2017 Honggang Li <honli@redhat.com> - 10.3.8-1
e29f4b
- Rebase to latest upstream release
e29f4b
- Resolves: bz1524846
e29f4b
e29f4b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.103_1-3
e29f4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e29f4b
e29f4b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.103_1-2
e29f4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e29f4b
e29f4b
* Thu Apr 13 2017 Honggang Li <honli@redhat.com> - 10.2.103_1-1
e29f4b
- Rebase to latest upstream master branch.
e29f4b
- Fix build failures caught by gcc 7.x.
e29f4b
- Resolves: bz1423872
e29f4b
e29f4b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.2-3
e29f4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e29f4b
e29f4b
* Mon Jun 13 2016 Michal Schmidt <mschmidt@redhat.com> - 10.2.2-2
e29f4b
- Remove redundant %%setup -n argument.
e29f4b
- Packaging Guidelines: Never use "(R)" in description.
e29f4b
e29f4b
* Tue Jun 07 2016 Paul Reger <paul.j.reger@intel.com> - 10.2.2-1
e29f4b
- Fix build failures only.
e29f4b
e29f4b
* Tue Apr 05 2016 Paul Reger <paul.j.reger@intel.com> - 10.2.1-1
e29f4b
- Upstream PSM2 source code for Fedora.