# Copyright (C) 2007 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 # # # Summary: RHEL OFED Development Component Name: component-RHEL-OFED-devel Version: 1.3 Release: 5 License: GPL/BSD Group: System Environment/Base Vendor: Platform Computing Corporation BuildArch: noarch Buildroot: %{_tmppath}/%{name}-%{version}-buildroot # Use Exact versions if different versions of the kit can coexist Requires: dapl-devel Requires: dapl-static Requires: compat-dapl-static-1.2.5 Requires: libibcm-devel Requires: libibcommon-devel Requires: libibmad-devel Requires: libibumad-devel Requires: libibverbs-devel # Can't find this in RHEL 5.2 #Requires: libmthca-devel Requires: librdmacm-devel Requires: ibutils-devel # Can't find this in RHEL 5.2 #Requires: libipathverbs-devel Requires: opensm-devel %description This package is a meta package for OFED development packages %prep %build %install rm -rf %{buildroot} mkdir %{buildroot} %files %clean rm -rf %{buildroot} %pre %post # Place any component post install code here %preun %postun if [ $1 -eq 0 ]; then # Place any component uninstall code here # Generate scripts for the CFM to remove other packages /bin/cat << 'EOF' >> /opt/kusu/lib/plugins/cfmclient/%{name}.remove #!/bin/sh yum -y remove dapl-devel compat-dapl-devel-1.2.5 libibcm-devel libibcommon-devel libibmad-devel libibumad-devel libibverbs-devel librdmacm-devel ibutils-devel opensm-devel rm -rf /opt/kusu/lib/plugins/cfmclient/%{name}.remove EOF fi %changelog * Tue Oct 28 2008 Mehdi Bozzo-Rey 1.3-5 - remove compat-dapl-devel, now part of the default component (ICR) * Thu Sep 18 2008 Mark Black 1.3-4 - add dapl-static and compat-dapl-static * Thu Sep 11 2008 Mehdi Bozzo-Rey 1.3-3 - add compat-dapl-devel * Mon Jun 9 2008 Mark Black 1.2.5-2 - When upgrading rpm do not create removal script * Thu Apr 10 2008 Mike Frisch 1.2.5-1 - Initial release