mpi-selector/mpi-selector.spec

84 lines
2.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mpi-selector (Version 1.0.2)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: mpi-selector
Url: http://www.openfabrics.org
Summary: Tool to provide defaults for which MPI implementation to use
Version: 1.0.2
Release: 4
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
%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
%{_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 Oct 24 2008 jjolly@suse.de
- Updated to version from the OFED 1.4 RC3
* Thu Sep 11 2008 jjolly@suse.de
- Updated to version 1.0.2 from the OFED 1.4 RC1 release
* Tue Aug 21 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 06 2007 hvogel@suse.de
- Initial Package, Version 1.0.0