commit aef1fdd97d563b01315aba88af702e2729d4627a20bff94b65f03fa2c9652825 Author: OBS User unknown Date: Tue Jul 17 02:38:05 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpi-selector?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/mpi-selector-1.0.0-no_shebang.patch b/mpi-selector-1.0.0-no_shebang.patch new file mode 100644 index 0000000..8ea4a55 --- /dev/null +++ b/mpi-selector-1.0.0-no_shebang.patch @@ -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 diff --git a/mpi-selector-1.0.0-no_sourced_xbit.patch b/mpi-selector-1.0.0-no_sourced_xbit.patch new file mode 100644 index 0000000..8e9c1b1 --- /dev/null +++ b/mpi-selector-1.0.0-no_sourced_xbit.patch @@ -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 diff --git a/mpi-selector-1.0.0-perl_path.patch b/mpi-selector-1.0.0-perl_path.patch new file mode 100644 index 0000000..3d93568 --- /dev/null +++ b/mpi-selector-1.0.0-perl_path.patch @@ -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. + # diff --git a/mpi-selector-1.0.0.tar.bz2 b/mpi-selector-1.0.0.tar.bz2 new file mode 100644 index 0000000..596b2f9 --- /dev/null +++ b/mpi-selector-1.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8905ea1abb35180fd4fc41d5e82e2b03a0e3fac96c4ab558df696b98f28b78a +size 16304 diff --git a/mpi-selector.changes b/mpi-selector.changes new file mode 100644 index 0000000..3ebbcfa --- /dev/null +++ b/mpi-selector.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +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..7544d0f --- /dev/null +++ b/mpi-selector.spec @@ -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 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4