# Copyright (C) 2008 Platform Computing Inc # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA %define _unpackaged_files_terminate_build 0 %define debug_package %{nil} Summary: component-openmpi-libraries package Name: component-openmpi-libraries Version: 0.1 Release: 5 License: LGPL Group: System Environment/Base Vendor: Platform Computing Corporation BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot AutoReq: no BuildArch: noarch Requires: openmpi Requires: openmpi-devel Requires: hdf5-openmpi-gnu Requires: linpack-openmpi-gnu Requires: blacs-openmpi-gnu Requires: scalapack-openmpi-gnu %description This component contains a collection of OpenMPI libraries. %prep %install %pre %post %preun %postun if [ $1 -eq 0 ]; then # Uninstall the component # Generate scripts for the CFM to remove other packages /bin/cat << 'EOF' >> /opt/kusu/lib/plugins/cfmclient/%{name}.remove #!/bin/sh yum -y remove openmpi openmpi-libs openmpi-devel hdf5-openmpi-gnu linpack-openmpi-gnu blacs-openmpi-gnu scalapack-openmpi-gnu rm -rf /opt/kusu/lib/plugins/cfmclient/%{name}.remove EOF fi %clean %files %changelog * Thu Aug 28 2008 Mehdi Bozzo-Rey 0.1.5 - install / remove openmpi-devel * Wed Aug 27 2008 Mehdi Bozzo-Rey 0.1.4 - install openmpi / remove openmpi and openmpi-libs * Wed Jun 25 2008 Mike Frisch 0.1-3 - Modified to use openmpi-libs * Mon Jun 10 2008 Mark Black 0.1-2 - Added code to deal with upgrades * Fri Apr 11 2008 Mike Frisch 0.1-1 - Initial release