This commit is contained in:
commit
aef1fdd97d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
14
mpi-selector-1.0.0-no_shebang.patch
Normal file
14
mpi-selector-1.0.0-no_shebang.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- mpi-selector.csh.in
|
||||
+++ mpi-selector.csh.in
|
||||
@@ -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
|
||||
--- mpi-selector.sh.in
|
||||
+++ mpi-selector.sh.in
|
||||
@@ -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
|
10
mpi-selector-1.0.0-no_sourced_xbit.patch
Normal file
10
mpi-selector-1.0.0-no_sourced_xbit.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -68,7 +68,6 @@
|
||||
do
|
||||
if test -f "$file"; then
|
||||
chmod -w $file
|
||||
- chmod +x $file
|
||||
fi
|
||||
done])
|
||||
AC_OUTPUT
|
16
mpi-selector-1.0.0-perl_path.patch
Normal file
16
mpi-selector-1.0.0-perl_path.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- mpi-selector-menu
|
||||
+++ mpi-selector-menu
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env perl
|
||||
+#!/usr/bin/perl
|
||||
#
|
||||
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
||||
#
|
||||
--- mpi-selector.in
|
||||
+++ mpi-selector.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env perl
|
||||
+#!/usr/bin/perl
|
||||
#
|
||||
# Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
|
||||
#
|
3
mpi-selector-1.0.0.tar.bz2
Normal file
3
mpi-selector-1.0.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f8905ea1abb35180fd4fc41d5e82e2b03a0e3fac96c4ab558df696b98f28b78a
|
||||
size 16304
|
5
mpi-selector.changes
Normal file
5
mpi-selector.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 6 11:31:26 CEST 2007 - hvogel@suse.de
|
||||
|
||||
- Initial Package, Version 1.0.0
|
||||
|
68
mpi-selector.spec
Normal file
68
mpi-selector.spec
Normal file
@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package mpi-selector (Version 1.0.0)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: mpi-selector
|
||||
URL: http://www.openfabrics.org
|
||||
Summary: Tool to provide defaults for which MPI implementation to use
|
||||
Version: 1.0.0
|
||||
Release: 1
|
||||
License: BSD 3-Clause
|
||||
Group: System/Console
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch0: mpi-selector-1.0.0-no_shebang.patch
|
||||
Patch1: mpi-selector-1.0.0-no_sourced_xbit.patch
|
||||
Patch2: mpi-selector-1.0.0-perl_path.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%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
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --with-shell-startup-dir=/etc/profile.d
|
||||
make
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%_libdir/mpi/gcc
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root, -)
|
||||
%doc README LICENSE ofed-mpi-selector-proposal.txt
|
||||
%{_bindir}/mpi-selector
|
||||
%{_bindir}/mpi-selector-menu
|
||||
%{_mandir}/man1/mpi-selector.*
|
||||
%{_mandir}/man1/mpi-selector-menu.*
|
||||
%attr(644,root,root) /etc/profile.d/*
|
||||
%dir %_libdir/mpi
|
||||
%dir %_libdir/mpi/gcc
|
||||
|
||||
%changelog
|
||||
* Fri Jul 06 2007 - hvogel@suse.de
|
||||
- Initial Package, Version 1.0.0
|
Loading…
Reference in New Issue
Block a user