~tritone-team/tritone/eucalyptus

« back to all changes in this revision

Viewing changes to tools/euca-rampartc-1.2.0.spec-not

  • Committer: Bazaar Package Importer
  • Author(s): Dustin Kirkland
  • Date: 2009-12-01 21:09:28 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: james.westby@ubuntu.com-20091201210928-o2dvg0ubljhb0ft6
Tags: upstream-1.6.1~bzr1083
ImportĀ upstreamĀ versionĀ 1.6.1~bzr1083

Show diffs side-by-side

added added

removed removed

Lines of Context:
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)
3
 
%if %is_suse
4
 
%define __httpd   apache2
5
 
%endif
6
 
%if %is_centos
7
 
%define __httpd   httpd
8
 
%endif
9
 
 
10
 
Summary:       Elastic Utility Computing Architecture - rampartc
11
 
Name:          euca-rampartc
12
 
Version:       1.2.0
13
 
Release:       1
14
 
License:       Apache
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
23
 
 
24
 
%description
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.
29
 
 
30
 
This is the packaging of rampartc for Eucalyptus.
31
 
 
32
 
%prep
33
 
%setup -n rampartc-src-%{version}
34
 
%patch0 -p0
35
 
 
36
 
%build
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
39
 
make
40
 
 
41
 
 
42
 
%install
43
 
rm -rf %{buildroot}
44
 
make DESTDIR=%{buildroot} install
45
 
 
46
 
%post
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
50
 
 
51
 
%clean
52
 
rm -rf %{buildroot}
53
 
rm -rf $RPM_BUILD_DIR/euca-rampartc-DESTDIRfix.patch
54
 
rm -rf $RPM_BUILD_DIR/rampartc-src-%{version}
55
 
 
56
 
 
57
 
%files
58
 
/opt/euca-axis2c
59
 
 
60
 
%changelog
61
 
*Tue Jun 16 2009 Eucalyptus Systems (support@open.eucalyptus.com)
62
 
- created separate package for rampartc