1
%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0)
2
%define is_centos %(test -e /etc/redhat-release && echo 1 || echo 0)
4
%define __httpd apache2
10
Summary: Elastic Utility Computing Architecture - rampartc
15
BuildRequires: %{__httpd}-devel, euca-axis2c >= 1.5.0
16
Requires: euca-axis2c >= 1.5.0
17
Group: Applications/System
18
Source: http://open.eucalyptus.com/dependencies/1.5.0/rampartc-src-1.2.0.tgz
19
Patch0: euca-rampartc-DESTDIRfix.patch
20
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
21
URL: http://open.eucalyptus.com
22
Provides: euca-rampartc
25
EUCALYPTUS is an open source service overlay that implements elastic
26
computing using existing resources. The goal of EUCALYPTUS is to allow
27
sites with existing clusters and server infrastructure to co-host an
28
elastic computing service that is interface-compatible with Amazon's EC2.
30
This is the packaging of rampartc for Eucalyptus.
33
%setup -n rampartc-src-%{version}
37
export LD_LIBRARY_PATH=/opt/euca-axis2c/lib:$LD_LIBRARY_PATH
38
./configure --prefix=/opt/euca-axis2c --enable-static=no --with-axis2=/opt/euca-axis2c/include/axis2-1.5.0
44
make DESTDIR=%{buildroot} install
47
# need to add the security
48
cp /opt/euca-axis2c/axis2.xml /opt/euca-axis2c/axis2.xml.orig
49
sed 's:<!--phase name="Security"/-->:<phase name="Security"/>:' < /opt/euca-axis2c/axis2.xml.orig > /opt/euca-axis2c/axis2.xml
53
rm -rf $RPM_BUILD_DIR/euca-rampartc-DESTDIRfix.patch
54
rm -rf $RPM_BUILD_DIR/rampartc-src-%{version}
61
*Tue Jun 16 2009 Eucalyptus Systems (support@open.eucalyptus.com)
62
- created separate package for rampartc