From a3893ef72660d2c6fd94279368655241740bd15bc4173912b2e454bf51bd14a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 16:50:59 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main mpi-selector revision 6d14762c00d7f2cdcc442926c25a5ab1 --- .gitattributes | 23 ++++++++++ mpi-selector-1.0.3.tar.gz | 3 ++ mpi-selector-no_bang_line.patch | 18 ++++++++ mpi-selector-perl_path.patch | 10 +++++ mpi-selector.changes | 77 +++++++++++++++++++++++++++++++++ mpi-selector.spec | 64 +++++++++++++++++++++++++++ 6 files changed, 195 insertions(+) create mode 100644 .gitattributes create mode 100644 mpi-selector-1.0.3.tar.gz create mode 100644 mpi-selector-no_bang_line.patch create mode 100644 mpi-selector-perl_path.patch create mode 100644 mpi-selector.changes create mode 100644 mpi-selector.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/mpi-selector-1.0.3.tar.gz b/mpi-selector-1.0.3.tar.gz new file mode 100644 index 0000000..12b07e8 --- /dev/null +++ b/mpi-selector-1.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17f8737e088dd83d786dea3ca98e93c944d3415ac649cbac38ff5b00c8ed78da +size 53793 diff --git a/mpi-selector-no_bang_line.patch b/mpi-selector-no_bang_line.patch new file mode 100644 index 0000000..b32dc88 --- /dev/null +++ b/mpi-selector-no_bang_line.patch @@ -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 diff --git a/mpi-selector-perl_path.patch b/mpi-selector-perl_path.patch new file mode 100644 index 0000000..ff2a9a8 --- /dev/null +++ b/mpi-selector-perl_path.patch @@ -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. + # diff --git a/mpi-selector.changes b/mpi-selector.changes new file mode 100644 index 0000000..2db7e28 --- /dev/null +++ b/mpi-selector.changes @@ -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 + diff --git a/mpi-selector.spec b/mpi-selector.spec new file mode 100644 index 0000000..5bcf6e1 --- /dev/null +++ b/mpi-selector.spec @@ -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