# 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 # # Name: component-openjdk-devel Version: 1.6.0 Release: 1%{?dist} Summary: OCS component for OpenJDK development tools Group: System Environment/Base License: GPLv2 with exceptions URL: http://icedtea.classpath.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: java-%{version}-openjdk-devel BuildArch: noarch %description OCS component for OpenJDK development tools %prep %build %install rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc %postun # Generate scripts for the CFM to remove other packages /bin/cat << 'EOF' >> /opt/kusu/lib/plugins/cfmclient/%{name}.remove #!/bin/sh yum -y remove java-%{version}-openjdk-devel rm -rf /opt/kusu/lib/plugins/cfmclient/%{name}.remove EOF %changelog * Tue Aug 8 2008 Mike Frisch 1.6.0-1 - Initial release