Sync from SUSE:SLFO:Main mpi-selector revision 6d14762c00d7f2cdcc442926c25a5ab1

This commit is contained in:
Adrian Schröter 2024-05-03 16:50:59 +02:00
commit a3893ef726
6 changed files with 195 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
mpi-selector-1.0.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,18 @@
Index: mpi-selector.csh.in
===================================================================
--- mpi-selector.csh.in.orig 2009-08-02 09:58:22.000000000 +0200
+++ mpi-selector.csh.in 2010-12-10 16:44:40.618387677 +0100
@@ -1,4 +1,3 @@
-#!/bin/csh
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
#
# File installed for Bourne-shell startups to select which MPI
Index: mpi-selector.sh.in
===================================================================
--- mpi-selector.sh.in.orig 2009-08-02 09:58:22.000000000 +0200
+++ mpi-selector.sh.in 2010-12-10 16:44:44.690098294 +0100
@@ -1,4 +1,3 @@
-#!/bin/sh
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
#
# File installed for Bourne-shell startups to select which MPI

View File

@ -0,0 +1,10 @@
Index: mpi-selector.in
===================================================================
--- mpi-selector.in.orig 2008-10-19 14:15:53.000000000 +0200
+++ mpi-selector.in 2010-06-02 15:33:58.043227260 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
#
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
#

77
mpi-selector.changes Normal file
View File

@ -0,0 +1,77 @@
-------------------------------------------------------------------
Tue Jun 3 11:24:34 CEST 2014 - pth@suse.de
- Update to OFED 3.12 final.
-------------------------------------------------------------------
Fri Jan 24 19:04:47 CET 2014 - pth@suse.de
- Update to OFED 3.12 daily
-------------------------------------------------------------------
Wed Apr 24 13:55:24 CEST 2013 - pth@suse.de
- Don't use a macro for calling 'make install' as it changes
between distributions.
-------------------------------------------------------------------
Tue Apr 16 10:22:37 UTC 2013 - idonmez@suse.com
- Add Source URL, see https://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Tue May 8 18:32:35 CEST 2012 - pth@suse.de
- BuildRequire automake, autoconf and libtool.
-------------------------------------------------------------------
Thu Feb 16 09:21:17 UTC 2012 - saschpe@suse.de
- No need to own %{_libdir}/mpi/gcc/, so package can be noarch
- Mark stuff under /etc/profile.d as config and remove rpmlintrc
-------------------------------------------------------------------
Mon Feb 13 10:50:42 UTC 2012 - coolo@suse.com
- patch license to follow spdx.org standard
-------------------------------------------------------------------
Fri Dec 10 16:48:40 CET 2010 - pth@suse.de
- Fix use of perl_requires.
- Remove hash bang lines from files to be sourced.
- Add a rpmlintrc.
-------------------------------------------------------------------
Wed Jun 2 15:42:12 CEST 2010 - pth@suse.de
- Explicitely use /usr/bin/perl not 'env perl', mainly so that
rpm automatically detects the dependency.
-------------------------------------------------------------------
Thu Dec 3 08:35:07 CET 2009 - jjolly@suse.de
- Update to v1.0.3 from OFED 1.4.2
-------------------------------------------------------------------
Fri Oct 24 18:39:27 CEST 2008 - jjolly@suse.de
- Updated to version from the OFED 1.4 RC3
-------------------------------------------------------------------
Thu Sep 11 17:14:20 CEST 2008 - jjolly@suse.de
- Updated to version 1.0.2 from the OFED 1.4 RC1 release
-------------------------------------------------------------------
Tue Aug 21 13:48:41 CEST 2007 - kejohnson@suse.de
- Updated source tarball to OFED-1.2.5 release.
- In the spec file, removed autogen.sh from %build and also
removed ofed-mpi-selector-proposal.txt from %doc.
-------------------------------------------------------------------
Fri Jul 6 11:31:26 CEST 2007 - hvogel@suse.de
- Initial Package, Version 1.0.0

64
mpi-selector.spec Normal file
View File

@ -0,0 +1,64 @@
#
# spec file for package mpi-selector
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mpi-selector
Url: http://www.openfabrics.org
Summary: Tool to provide defaults for which MPI implementation to use
Version: 1.0.3
Release: 0
License: BSD-3-Clause
Group: System/Console
Source: http://www.openfabrics.org/downloads/mpi-selector/%{name}-%{version}.tar.gz
Patch3: mpi-selector-perl_path.patch
Patch4: mpi-selector-no_bang_line.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake autoconf libtool
%{perl_requires}
%description
A simple tool that allows system administrators to set a site-wide
default for which MPI implementation is to be used, but also allow
users to set their own defaults MPI implementation, thereby overriding
the site-wide default.
The default can be changed easily via the mpi-selector command --
editing of shell startup files is not required.
%prep
%setup -q
%patch3
%patch4
%build
%configure --with-shell-startup-dir=/etc/profile.d
make
%install
make DESTDIR=%{buildroot} install
%files
%defattr(-, root, root, -)
%doc README LICENSE
%{_bindir}/mpi-selector
%{_bindir}/mpi-selector-menu
%{_mandir}/man1/mpi-selector.*
%{_mandir}/man1/mpi-selector-menu.*
%config %attr(644,root,root) /etc/profile.d/*
%changelog