prrte/prrte.spec

164 lines
4.7 KiB
RPMSpec
Raw Normal View History

2021-11-02 02:24:39 +00:00
Name: prrte
2023-10-27 02:24:10 +00:00
Version: 3.0.2
Release: 4%{?dist}
2021-11-02 02:24:39 +00:00
Summary: PMIx Reference RunTime Environment (PRRTE)
# src/mca/prtereachable/netlink/reachable_netlink_utils_common.c is BSD-2-Clause
# -devel related licenses:
# src/docs/show-help-files/_build/text/_static/jquery.js is MIT
# docs/_build/html/_static/js/html5shiv.min.js is MIT OR GPL-2.0-or-later
# docs/_build/html/_static/css/fonts/* are (OFL-1.1 OR MIT)
License: BSD-3-Clause-Open-MPI AND BSD-2-Clause
2021-11-02 02:24:39 +00:00
URL: https://github.com/openpmix/%{name}
2023-10-27 02:24:10 +00:00
Source0: https://github.com/openpmix/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
2021-11-02 02:24:39 +00:00
BuildRequires: flex
BuildRequires: gcc
BuildRequires: make
BuildRequires: hwloc-devel
2022-01-24 02:23:48 +00:00
BuildRequires: libevent-devel
2023-10-27 02:24:10 +00:00
BuildRequires: pmix-devel >= 4.2.2
2022-04-26 03:06:43 +00:00
# For pmixcc - https://bugzilla.redhat.com/show_bug.cgi?id=2078048
BuildRequires: pmix-tools
2021-11-02 02:24:39 +00:00
BuildRequires: perl-interpreter
BuildRequires: torque-devel
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# openmpi, pmix no longer support 32-bit platforms
ExcludeArch: %{ix86}
2021-11-02 02:24:39 +00:00
%description
PRRTE is the PMIx Reference Run Time Environment.
The project is formally referred to in documentation by "PRRTE", and
the GitHub repository is "openpmix/%{name}".
However, we have found that most users do not like typing the two
consecutive "r"s in the name. Hence, all of the internal API symbols,
environment variables, MCA frameworks, and CLI executables all use the
abbreviated "prte" (one "r", not two) for convenience.
%package libs
Summary: Libraries for %{name}
%description libs
Runtime libraries for %{name}.
%package devel
Summary: Development files for %{name}
License: BSD-3-Clause-Open-MPI AND BSD-2-Clause AND MIT AND (MIT OR GPL-2.0-or-later) AND (OFL-1.1 OR MIT)
2021-11-02 02:24:39 +00:00
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
2023-10-27 02:24:10 +00:00
%setup -q -n %{name}-%{version}
2021-11-02 02:24:39 +00:00
# touch lexer sources to recompile them
find src -name \*.l -print -exec touch --no-create {} \;
# Remove “BSD with advertising” licensed qsort implementation, which was only
# needed to work around ancient Solaris bugs. The typedef keeps the translation
# unit from being empty.
echo '' > src/util/qsort.h
echo 'typedef int x;' > src/util/qsort.c
%build
%configure \
--sysconfdir=%{_sysconfdir}/prte \
--disable-static \
--disable-silent-rules \
--enable-shared \
--with-sge
%make_build
%check
%make_build check
%install
%make_install
# remove libtool archives
find %{buildroot} -name '*.la' -delete
%files
2023-10-27 02:24:10 +00:00
%doc README.md
2021-11-02 02:24:39 +00:00
%{_bindir}/prte
%{_bindir}/prte_info
%{_bindir}/prted
%{_bindir}/prterun
%{_bindir}/prun
%{_bindir}/pterm
%{_mandir}/man1/*.1*
2023-10-27 02:24:10 +00:00
%{_mandir}/man5/*.5*
2021-11-02 02:24:39 +00:00
%files libs
%license LICENSE
%dir %{_sysconfdir}/prte
2023-10-27 02:24:10 +00:00
%config(noreplace) %{_sysconfdir}/prte/*
2021-11-02 02:24:39 +00:00
%{_datadir}/prte/
2023-10-27 02:24:10 +00:00
%{_libdir}/lib%{name}.so.3*
2021-11-02 02:24:39 +00:00
%{_libdir}/prte/
%files devel
%{_bindir}/pcc
2023-10-27 02:24:10 +00:00
%{_docdir}/prrte/
2021-11-02 02:24:39 +00:00
%{_includedir}/prte*.h
2023-10-27 02:24:10 +00:00
%{_includedir}/prte/
2021-11-02 02:24:39 +00:00
%{_libdir}/lib%{name}.so
%changelog
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Nov 07 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 3.0.2-2
- Drop obsolete pandoc dependency
2023-10-27 02:24:10 +00:00
* Fri Oct 27 2023 Orion Poplawski <orion@nwra.com> - 3.0.2-1
- Update to 3.0.2
* Mon Sep 25 2023 Michel Lind <salimma@fedoraproject.org> - 2.0.2-5
- Rebuild for pmix 4.1.3
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-04-23 02:16:31 +00:00
* Sat Apr 23 2022 Orion Poplawski <orion@nwra.com> - 2.0.2-1
- Update to 2.0.2
2022-01-24 02:23:48 +00:00
* Mon Jan 24 2022 Orion Poplawski <orion@nwra.com> - 2.0.0-5
- Add explicit BR on hwloc-devel and libevent-devel
2022-01-24 02:23:48 +00:00
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-11-02 02:24:39 +00:00
* Sun Oct 31 2021 Orion Poplawski <orion@nwra.com> - 2.0.0-3
- Explicitly list binaries
* Thu Oct 28 2021 Orion Poplawski <orion@nwra.com> - 2.0.0-2
- Split libraries into -libs sub-package
- Add BR make
- Remove old qsort
* Mon Oct 11 2021 Orion Poplawski <orion@nwra.com> - 2.0.0-1
- Initial Fedora package