pmix/pmix.spec

100 lines
2.7 KiB
RPMSpec
Raw Normal View History

2020-03-06 18:21:33 +08:00
Name: pmix
Version: 5.0.3
Release: 1
2020-03-06 18:21:33 +08:00
Summary: Process Management Interface Exascale (PMIx)
License: BSD
URL: https://pmix.org
Source0: https://github.com/openpmix/openpmix/releases/download/v%{version}/pmix-%{version}.tar.bz2
Patch0: fix-pmix_found_linux-typo.patch
2022-05-19 17:51:38 +08:00
BuildRequires: autoconf automake flex hwloc-devel libevent-devel libtool munge-devel perl-interpreter zlib-devel
2023-09-21 19:17:37 +08:00
Obsoletes: pmix-pmi < 4.1.2 pmix-pmi-devel < 4.1.2
2020-03-06 18:21:33 +08:00
%description
PMI has been used for quite some time as a means of exchanging wireup information needed
for interprocess communication.
%package devel
Summary: Development files for pmix
Requires: pmix = %{version}-%{release}
2022-05-19 17:51:38 +08:00
Requires: %{name}-tools = %{version}-%{release}
2020-03-06 18:21:33 +08:00
%description devel
Libraries and header files for developing with pmix.
%package tools
Summary: Pmix tools
Requires: pmix = %{version}-%{release}
%description tools
Contains for use with PMIx-based RMs and language-based starters (e.g., mpirun).
%prep
%autosetup -n pmix-%{version} -p1
2020-03-06 18:21:33 +08:00
find src -name \*.l -print -exec touch --no-create {} \;
%build
%{_builddir}/pmix-%{version}/autogen.pl
%configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}/pmix --disable-static \
--disable-silent-rules --enable-shared --enable-pmi-backward-compatibility --with-munge
%make_build
%check
%make_build check
%install
%make_install
%delete_la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
%files
2023-07-26 10:45:51 +08:00
%doc LICENSE README.md
2020-03-06 18:21:33 +08:00
%dir %{_datadir}/pmix
%dir %{_libdir}/pmix
%dir %{_sysconfdir}/pmix
%config(noreplace) %{_sysconfdir}/pmix/*.conf
%{_datadir}/pmix/*.txt
2023-07-26 10:45:51 +08:00
%{_datadir}/doc/pmix/html/
2022-05-19 17:51:38 +08:00
%{_libdir}/libpmix.so.2*
%{_libdir}/pmix/*.so
%{_mandir}/man1/*.1*
2023-07-26 10:45:51 +08:00
%{_mandir}/man3/*.3*
%{_mandir}/man5/*.5*
2020-03-06 18:21:33 +08:00
%files devel
%{_datadir}/pmix/*.supp
%{_includedir}/pmix*.h
2023-07-26 10:45:51 +08:00
%{_includedir}/pmix/src/*
2022-05-19 17:51:38 +08:00
%{_libdir}/libpmix.so
%{_libdir}/pkgconfig/*.pc
2020-03-06 18:21:33 +08:00
%files tools
%{_bindir}/*
%changelog
* Thu Dec 26 2024 wangkai <13474090681@163.com> - 5.0.3-1
- update to version 5.0.3 for fix remote execution command of openmpi
* Fri Feb 23 2024 liweigang <izmirvii@gmail.com> - 4.2.9-1
- update to version 4.2.9
2023-09-21 19:17:37 +08:00
* Thu Sep 21 2023 liyanan <thistleslyn@163.com> - 4.2.6-2
- Add Obsoletes pmix-pmi pmix-pmi-devel
2023-09-21 19:17:37 +08:00
2023-09-18 15:23:47 +08:00
* Mon Sep 18 2023 yaoxin <yao_xin001@hoperun.com> - 4.2.6-1
- Update to 4.2.6 for fix CVE-2023-41915
2023-07-26 10:45:51 +08:00
* Wed Jul 26 2023 yaoxin <yao_xin001@hoperun.com> - 4.2.4-1
- Update to 4.2.4
2022-05-19 17:51:38 +08:00
* Thu May 19 2022 liyanan <liyanan32@h-partners.com> - 4.1.2-1
- Update to 4.1.2
* Sat Sep 18 2021 caodongxia <caodongxia@huawei.com> - 3.1.4-3
- Correct the help information
2020-03-06 18:21:33 +08:00
* Wed Mar 4 2020 Ling Yang <lingyang2@huawei.com> - 3.1.4-2
- Package Init