2015-07-21 09:24:20 +00:00
|
|
|
Name: rpm-mpi-hooks
|
2015-07-26 19:56:53 +00:00
|
|
|
Version: 2
|
|
|
|
Release: 1%{?dist}
|
2015-07-21 09:24:20 +00:00
|
|
|
Summary: RPM dependency generator hooks for MPI packages
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Source0: mpi.attrs
|
2015-07-26 19:56:53 +00:00
|
|
|
Source1: mpilibsymlink.attr
|
|
|
|
Source2: mpi.prov
|
|
|
|
Source3: mpi.req
|
|
|
|
Source4: LICENSE
|
2015-07-21 09:24:20 +00:00
|
|
|
|
|
|
|
Requires: filesystem
|
|
|
|
Requires: rpm-build
|
|
|
|
# Instead of adding a BuildRequires to every MPI implementation spec
|
|
|
|
Requires: environment-modules
|
|
|
|
|
|
|
|
%description
|
|
|
|
RPM dependency generator hooks for MPI packages. This package should be added
|
|
|
|
as a BuildRequires to all mpi implementations (i.e. openmpi, mpich) as well as
|
|
|
|
a Requires to the their -devel packages.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2015-07-26 19:56:53 +00:00
|
|
|
cp -a %SOURCE4 .
|
2015-07-21 09:24:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Nothing to build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -Dpm 0644 %{SOURCE0} %{buildroot}%{_rpmconfigdir}/fileattrs/mpi.attr
|
2015-07-26 19:56:53 +00:00
|
|
|
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/fileattrs/mpilibsymlink.attr
|
|
|
|
install -Dpm 0755 %{SOURCE2} %{buildroot}%{_rpmconfigdir}/mpi.prov
|
|
|
|
install -Dpm 0755 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/mpi.req
|
2015-07-21 09:24:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%{_rpmconfigdir}/fileattrs/mpi.attr
|
2015-07-26 19:56:53 +00:00
|
|
|
%{_rpmconfigdir}/fileattrs/mpilibsymlink.attr
|
2015-07-21 09:24:20 +00:00
|
|
|
%{_rpmconfigdir}/mpi.req
|
|
|
|
%{_rpmconfigdir}/mpi.prov
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-07-26 19:56:53 +00:00
|
|
|
* Sun Jul 26 2015 Sandro Mani <manisandro@gmail.com> 2-1
|
|
|
|
- Add %%__mpi_magic, %%__mpi_flags to mpi.attrs
|
|
|
|
- Add mpilibsymlink.attr
|
|
|
|
|
2015-07-21 09:24:20 +00:00
|
|
|
* Thu Jul 09 2015 Sandro Mani <manisandro@gmail.com> 1.0-4
|
|
|
|
- mpi.prov, mpi.req: Use "module -t avail" instead of "module avail"
|
|
|
|
- mpi.prov, mpi.req: Also look in moduledirs in %%buildroot
|
|
|
|
- mpi.attrs: add %%__libsymlink_exclude_path
|
|
|
|
|
|
|
|
* Thu Jul 09 2015 Sandro Mani <manisandro@gmail.com> 1.0-3
|
|
|
|
- Add LICENSE
|
|
|
|
|
|
|
|
* Thu Jul 09 2015 Sandro Mani <manisandro@gmail.com> 1.0-2
|
|
|
|
- BuildRequires: rpm -> rpm-build
|
|
|
|
- Change license to MIT
|
|
|
|
|
|
|
|
* Thu Jul 09 2015 Sandro Mani <manisandro@gmail.com> 1.0-1
|
|
|
|
- Initial package
|