From bec22f88f63e99d8a91799b8a6503dce73a9a198 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:34:05 +0100 Subject: [PATCH] rebuilt with openpmix [release 3.0.2-2mamba;Thu Nov 02 2023] --- README.md | 2 + prrte.spec | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 prrte.spec diff --git a/README.md b/README.md index 610225d..1227a10 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # prrte +PMIx Reference RunTime Environment (PRRTE). + diff --git a/prrte.spec b/prrte.spec new file mode 100644 index 0000000..5287f36 --- /dev/null +++ b/prrte.spec @@ -0,0 +1,116 @@ +Name: prrte +Version: 3.0.2 +Release: 2mamba +Summary: PMIx Reference RunTime Environment (PRRTE) +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pmix.github.io/ +Source: https://github.com/openpmix/prrte.git/v%{version}/prrte-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libevent-devel +BuildRequires: libhwloc-devel +BuildRequires: libnl-devel +BuildRequires: libopenpmix-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +PMIx Reference RunTime Environment (PRRTE). + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q +./autogen.pl + +%build +%configure \ + --sysconfdir=%{_sysconfdir}/%{name} + +# prevent excessive overlinking due to libtool +sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +# Resolve conflict with pterm from putty package +mv %{buildroot}%{_bindir}/pterm{,-prrte} +mv %{buildroot}%{_mandir}/man1/pterm{,-prrte}.1 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%dir %{_sysconfdir}/prrte +%config %{_sysconfdir}/prrte/prte-default-hostfile +%config %{_sysconfdir}/prrte/prte-mca-params.conf +%config %{_sysconfdir}/prrte/prte.conf +%{_bindir}/pcc +%{_bindir}/prte +%{_bindir}/prte_info +%{_bindir}/prted +%{_bindir}/prterun +%{_bindir}/prun +%{_bindir}/pterm-prrte +%dir %{_datadir}/prte +%{_datadir}/prte/* +%{_mandir}/man1/prte.1* +%{_mandir}/man1/prte_info.1* +%{_mandir}/man1/prted.1* +%{_mandir}/man1/prterun.1* +%{_mandir}/man1/prun.1* +%{_mandir}/man1/pterm-prrte.1* +%{_mandir}/man5/prte.5* + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libprrte.so.* +%doc LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/prte +%{_includedir}/prte/* +%{_includedir}/prte.h +%{_includedir}/prte_version.h +%{_libdir}/libprrte.so +%dir %{_docdir}/prrte +%dir %{_docdir}/prrte/html +%{_docdir}/prrte/html/* +%{_docdir}/prrte/html/.buildinfo +%doc README.md + + +%changelog +* Thu Nov 02 2023 Silvan Calarco 3.0.2-2mamba +- rebuilt with openpmix + +* Thu Nov 02 2023 Silvan Calarco 3.0.2-1mamba +- package created using the webbuild interface