# 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: Platform OFED Development Component Name: component-Platform-OFED-devel-v1_3 Version: 1.3 Release: 3 License: Kit is GPL. OpenIB.org is BSD license Group: System Environment/Base Vendor: Platform Computing Corporation BuildArchitectures: noarch # Use Exact versions to allow different versions of this kit to co-exist Requires: libnes-devel-static = 0.5 Requires: libcxgb3-devel = 1.1.4 Requires: opensm-devel = 3.1.10 Requires: libibmad-devel = 1.1.6 Requires: kernel-ib-devel = 1.3 Requires: libsdp-devel = 1.1.99 Requires: libibcommon-devel = 1.0.8 Requires: libibcm-devel = 1.0.2 Requires: libmlx4-devel-static = 1.0 Requires: libibverbs-devel = 1.1.1 Requires: libmthca-devel-static = 1.0.4 Requires: librdmacm-devel = 1.0.6 Requires: dapl-devel-static = 1.2.5 Requires: libibumad-devel = 1.1.7 Requires: dapl-devel = 1.2.5 Requires: libipathverbs-devel = 1.1 Requires: libibverbs-devel-static = 1.1.1 %description This package is a meta package for OFED development packages %prep %files %pre %post # Place any component post install code here %preun %postun # 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 \ dapl-devel-static \ kernel-ib-devel \ libcxgb3-devel \ libibcm-devel \ libibcommon-devel \ libibmad-devel \ libibumad-devel \ libibverbs-devel \ libibverbs-devel-static \ libipathverbs-devel \ libmlx4-devel-static \ libmthca-devel-static \ libnes-devel-static \ librdmacm-devel \ libsdp-devel \ opensm-devel rm -rf /opt/kusu/lib/plugins/cfmclient/%{name}.remove EOF