Blame SPECS/libpsm2.spec

cb411c
#
cb411c
#  This file is provided under a dual BSD/GPLv2 license.  When using or
cb411c
#  redistributing this file, you may do so under either license.
cb411c
#
cb411c
#  GPL LICENSE SUMMARY
cb411c
#
cb411c
#  Copyright(c) 2015 Intel Corporation.
cb411c
#
cb411c
#  This program is free software; you can redistribute it and/or modify
cb411c
#  it under the terms of version 2 of the GNU General Public License as
cb411c
#  published by the Free Software Foundation.
cb411c
#
cb411c
#  This program is distributed in the hope that it will be useful, but
cb411c
#  WITHOUT ANY WARRANTY; without even the implied warranty of
cb411c
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
cb411c
#  General Public License for more details.
cb411c
#
cb411c
#  Contact Information:
cb411c
#  Intel Corporation, www.intel.com
cb411c
#
cb411c
#  BSD LICENSE
cb411c
#
cb411c
#  Copyright(c) 2015 Intel Corporation.
cb411c
#
cb411c
#  Redistribution and use in source and binary forms, with or without
cb411c
#  modification, are permitted provided that the following conditions
cb411c
#  are met:
cb411c
#
cb411c
#    * Redistributions of source code must retain the above copyright
cb411c
#      notice, this list of conditions and the following disclaimer.
cb411c
#    * Redistributions in binary form must reproduce the above copyright
cb411c
#      notice, this list of conditions and the following disclaimer in
cb411c
#      the documentation and/or other materials provided with the
cb411c
#      distribution.
cb411c
#    * Neither the name of Intel Corporation nor the names of its
cb411c
#      contributors may be used to endorse or promote products derived
cb411c
#      from this software without specific prior written permission.
cb411c
#
cb411c
#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
cb411c
#  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
cb411c
#  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
cb411c
#  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
cb411c
#  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
cb411c
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
cb411c
#  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
cb411c
#  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
cb411c
#  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
cb411c
#  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
cb411c
#  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cb411c
#
cb411c
# Copyright (c) 2014-2015 Intel Corporation. All rights reserved.
cb411c
#
cb411c
Summary: Intel PSM Libraries
cb411c
Name: libpsm2
49ed02
Version: 11.2.229
49ed02
Release: 2%{?dist}
cb411c
License: BSD or GPLv2
cb411c
URL: https://github.com/cornelisnetworks/opa-psm2/
cb411c
49ed02
Source0: https://github.com/cornelisnetworks/opa-psm2/archive/refs/tags/PSM2_%{version}.tar.gz
cb411c
cb411c
# The OPA product is supported on x86_64 only:
cb411c
ExclusiveArch: x86_64
cb411c
BuildRequires: libuuid-devel
cb411c
BuildRequires: numactl-devel
cb411c
BuildRequires: systemd
cb411c
BuildRequires: gcc
cb411c
BuildRequires: make
cb411c
Obsoletes: hfi1-psm < 1.0.0
cb411c
cb411c
%package devel
cb411c
Summary: Development files for Intel PSM
cb411c
Requires: %{name}%{?_isa} = %{version}-%{release}
cb411c
Requires: libuuid-devel
cb411c
cb411c
%package compat
cb411c
Summary: Compat library for Intel PSM
cb411c
Requires: %{name}%{?_isa} = %{version}-%{release}
cb411c
Requires: systemd-udev
cb411c
cb411c
%global _privatelibs libpsm_infinipath[.]so[.]1.*
cb411c
%global __provides_exclude ^(%{_privatelibs})$
cb411c
%global __requires_exclude ^(%{_privatelibs})$
cb411c
cb411c
%description
cb411c
The PSM Messaging API, or PSM API, is the low-level
cb411c
user-level communications interface for the Intel OPA
cb411c
family of products. PSM users are enabled with mechanisms
cb411c
necessary to implement higher level communications
cb411c
interfaces in parallel environments.
cb411c
cb411c
%description devel
cb411c
Development files for the Intel PSM library
cb411c
cb411c
%description compat
cb411c
Support for MPIs linked with PSM versions < 2
cb411c
cb411c
%prep
49ed02
%setup -q -n opa-psm2-PSM2_%{version}
cb411c
cb411c
%build
cb411c
%{set_build_flags}
cb411c
%{make_build}
cb411c
cb411c
%install
cb411c
%if 0%{?fedora}
cb411c
export DISTRO=fedora
cb411c
%endif
cb411c
%if 0%{?rhel}
cb411c
export DISTRO=rhel
cb411c
%endif
cb411c
%make_install
cb411c
rm -f %{buildroot}%{_libdir}/*.a
cb411c
cb411c
%ldconfig_scriptlets
cb411c
cb411c
%files
cb411c
%license COPYING
cb411c
%{_libdir}/libpsm2.so.2.*
cb411c
%{_libdir}/libpsm2.so.2
cb411c
%if 0%{?rhel} >= 8
cb411c
%{_udevrulesdir}/40-psm.rules
cb411c
%endif
cb411c
cb411c
cb411c
%files devel
cb411c
%{_libdir}/libpsm2.so
cb411c
%{_includedir}/psm2.h
cb411c
%{_includedir}/psm2_mq.h
cb411c
%{_includedir}/psm2_am.h
cb411c
%{_includedir}/hfi1diag
cb411c
cb411c
%files compat
cb411c
%{_libdir}/psm2-compat
cb411c
%{_udevrulesdir}/40-psm-compat.rules
cb411c
%{_prefix}/lib/libpsm2
cb411c
%if 0%{?fedora}
cb411c
%{_prefix}/lib/modprobe.d/libpsm2-compat.conf
cb411c
%endif
cb411c
%if 0%{?rhel} >= 8
cb411c
%{_sysconfdir}/modprobe.d/libpsm2-compat.conf
cb411c
%endif
cb411c
cb411c
%changelog
49ed02
* Tue Aug 02 2022 Michal Schmidt <mschmidt@redhat.com> - 11.2.229-2
49ed02
- Rebase to upstream release PSM2_11.2.229
49ed02
a5c384
* Tue Dec 07 2021 Honggang Li <honli@redhat.com> - 11.2.206-1
a5c384
- Rebase to latest upstream release PSM2_11.2.206
a5c384
- Resolves: rhbz#2015389
a5c384
cb411c
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 11.2.185-2
cb411c
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
cb411c
  Related: rhbz#1991688
cb411c
cb411c
* Thu Jun 17 2021 Honggang Li <honli@redhat.com> - 11.2.185-1
cb411c
- Rebase to latest upstream release PSM2_11.2.185
cb411c
- Resolves: rhbz#1924899
cb411c
cb411c
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 11.2.86-9
cb411c
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
cb411c
cb411c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.2.86-8
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cb411c
cb411c
* Mon Oct 19 2020 Jeff Law <law@redhat.com> - 11.2.86-7
cb411c
- Avoid out of bounds array index diagnostic with gcc-11
cb411c
cb411c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 11.2.86-6
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cb411c
cb411c
* Mon Jul 13 2020 Merlin Mathesius <mmathesi@redhat.com> - 11.2.86-5
cb411c
- Minor updates to enable building for ELN
cb411c
cb411c
* Mon Feb 10 2020 Honggang Li <honli@redhat.com> - 11.2.86-4
cb411c
- Fix FTBFS in Fedora rawhide/f32
cb411c
- Resolves: bz1799597
cb411c
cb411c
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 11.2.86-3
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
cb411c
cb411c
* Fri Jan 17 2020 Tom Stellard <tstellar@redhat.com> - 11.2.86-2
cb411c
- Use make_build macro
cb411c
cb411c
* Thu Oct 03 2019 Honggang Li <honli@redhat.com> - 11.2.86-1
cb411c
- Rebase to latest upstream release PSM2_11.2.86
cb411c
- Resolves: bz1758390
cb411c
cb411c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11.2.78-3
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cb411c
cb411c
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11.2.78-2
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
cb411c
cb411c
* Thu Jan 31 2019 Honggang Li <honli@redhat.com> - 11.2.78-1
cb411c
- Rebase to latest upstream release PSM2_11.2.77
cb411c
- Resolves: bz1671190
cb411c
cb411c
* Mon Oct  8 2018 Honggang Li <honli@redhat.com> - 11.2.23-1
cb411c
- Rebase to latest upstream release 11.2.23
cb411c
- Resolves: bz1637273
cb411c
cb411c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.3.58-2
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cb411c
cb411c
* Fri Jun 22 2018 Honggang Li <honli@redhat.com> - 10.3.58-1
cb411c
- Rebase to latest upstream release 10.3.58.
cb411c
- Resolves: bz1594073
cb411c
cb411c
* Thu Mar 15 2018 - 10.3.8-5
cb411c
- Fix partial injection of Fedora build flags.
cb411c
- Double the sizeof array fdesc to fix a gcc compiling issue.
cb411c
- Resolves: bz1556062
cb411c
cb411c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.3.8-4
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cb411c
cb411c
* Thu Jan  4 2018 Honggang Li <honli@redhat.com> - 10.3.8-3
cb411c
- Filter PSM1 library as private library
cb411c
- Resolves: bz1530979
cb411c
cb411c
* Fri Dec 15 2017 Honggang Li <honli@redhat.com> - 10.3.8-2
cb411c
- Minor enhancement
cb411c
- Resolves: bz1526261
cb411c
cb411c
* Tue Dec 12 2017 Honggang Li <honli@redhat.com> - 10.3.8-1
cb411c
- Rebase to latest upstream release
cb411c
- Resolves: bz1524846
cb411c
cb411c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.103_1-3
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cb411c
cb411c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.103_1-2
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cb411c
cb411c
* Thu Apr 13 2017 Honggang Li <honli@redhat.com> - 10.2.103_1-1
cb411c
- Rebase to latest upstream master branch.
cb411c
- Fix build failures caught by gcc 7.x.
cb411c
- Resolves: bz1423872
cb411c
cb411c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.2.2-3
cb411c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cb411c
cb411c
* Mon Jun 13 2016 Michal Schmidt <mschmidt@redhat.com> - 10.2.2-2
cb411c
- Remove redundant %%setup -n argument.
cb411c
- Packaging Guidelines: Never use "(R)" in description.
cb411c
cb411c
* Tue Jun 07 2016 Paul Reger <paul.j.reger@intel.com> - 10.2.2-1
cb411c
- Fix build failures only.
cb411c
cb411c
* Tue Apr 05 2016 Paul Reger <paul.j.reger@intel.com> - 10.2.1-1
cb411c
- Upstream PSM2 source code for Fedora.