Репозиторий Sisyphus
Последнее обновление: 26 марта 2023 | Пакетов: 18292 | Посещений: 27173785
en ru br
Репозитории ALT
5.1: 1.0.2-alt1
4.1: 1.0.2-alt0.M41.1

Группа :: Система/Основа
Пакет: mpi-selector

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Summary: A simple tool to provide site-wide and per-user defaults for which MPI implementation to use

Name: mpi-selector
Version: 1.0.3
Release: alt4
License: BSD
Group: System/Base

Source: %name-%version.tar
Source1: post_mpi_selector
Source2: preun_mpi_selector

BuildArch: noarch

Packager: Stanislav Ievlev <inger at altlinux.org>
Requires: rpm-macros-%{name} = %{version}-%{release}
BuildRequires: perl-podlators

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.

%package -n rpm-macros-%{name}
Summary: Set of RPM macros for packaging %name-based applications
Group: Development/Other

%description -n rpm-macros-%{name}
Set of RPM macros for packaging %name-based applications for ALT Linux.
Install this package if you want to create RPM packages that use %name.


%setup -q -n %name-%version


%configure --with-shell-startup-dir=%buildroot%_sysconfdir/profile.d


install -d -m 755 %buildroot%_localstatedir/%name/data
install -Dpm 644 /dev/null %buildroot%_sysconfdir/sysconfig/%name

install -d %buildroot%_rpmmacrosdir
cat >%buildroot%_rpmmacrosdir/%name<<EOF
%%post_mpi_selector %_sbindir/post_mpi_selector
%%preun_mpi_selector %_sbindir/preun_mpi_selector

install -Dpm755 %SOURCE1 %buildroot%_sbindir/post_mpi_selector
install -Dpm755 %SOURCE2 %buildroot%_sbindir/preun_mpi_selector

%ghost %config(noreplace) %_sysconfdir/sysconfig/%name
%exclude %_rpmmacrosdir/*

%files -n rpm-macros-%{name}


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin