rebuilt with openpmix [release 3.0.2-2mamba;Thu Nov 02 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 10:34:05 +01:00
parent 0561831f87
commit bec22f88f6
2 changed files with 118 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# prrte
PMIx Reference RunTime Environment (PRRTE).

116
prrte.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 3.0.2-2mamba
- rebuilt with openpmix
* Thu Nov 02 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1mamba
- package created using the webbuild interface