69 lines
1.8 KiB
RPMSpec
69 lines
1.8 KiB
RPMSpec
#
|
|
# 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
|