~ubuntu-virt/ubuntu/maverick/eucalyptus/2.0

« back to all changes in this revision

Viewing changes to tools/euca-axis2c.spec-not

  • Committer: Dave Walker (Daviey)
  • Date: 2010-06-21 12:59:20 UTC
  • mfrom: (1048.1.14 ubuntu)
  • Revision ID: davewalker@ubuntu.com-20100621125920-60uhixwq174elnj1
* New major upstream version merge, 1.7 (r1200).
* debian/patches/:
  - 02-Makefile.patch: Updated to reflect new code layout.
  - 07-local_support_euca_conf-in.patch: Updated to reflect new code layout.
  - 08-ubuntu-default-networking.patch: Refreshed.
  - 09-small-128-192MB.patch: Updated to point to new location.
  - 10-disable-iscsi.patch: Refreshed.
  - 11-state-cleanup-memleakfix.patch: Refreshed.
  - 15-fix-default-ramdisk.patch: Updated to point to new location.
  - 16-kvm_libvirt_xml_default_use_kvm.patch: Updated to reflect changes.
  - 17-fix_walrus_OOM_errors.patch: Removed, fixed upstream.
  - 18-priv_security.patch: Updated to reflect upstream changes.
  - 20-brute-force-webui.patch: Updated to reflect upstream changes. 

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)
 
1
%global is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0)
 
2
%global is_centos %(grep CentOS /etc/redhat-release > /dev/null && echo 1 || echo 0)
 
3
%global is_fedora %(grep Fedora /etc/redhat-release > /dev/null && echo 1 || echo 0)
 
4
%global __httpd   httpd
3
5
%if %is_suse
4
 
%define __httpd   apache2
5
 
%endif
6
 
%if %is_centos
7
 
%define __httpd   httpd
 
6
%global __httpd   apache2
8
7
%endif
9
8
 
10
9
Summary:       Elastic Utility Computing Architecture - axis2c
11
10
Name:          euca-axis2c
12
11
Version:       1.6.0
13
 
Release:       1
 
12
Release:       3
14
13
License:       Apache
15
14
BuildRequires: %{__httpd}-devel
16
15
Requires:      %{__httpd}
17
16
Group:         Applications/System
18
 
Source:        http://open.eucalyptus.com/dependencies/1.6.0/axis2c-src-1.6.0.tgz
19
 
Patch0:        euca-axis2c-DESTDIRfix.patch
 
17
Source:        http://mirrors.igsobe.com/apache/ws/axis2/c/1_6_0/axis2c-src-1.6.0.tar.gz
 
18
Patch0:        02_fix_doc_dir.patch
 
19
Patch1:        03_enable-security.patch
 
20
Patch2:        04_fix_testsuite.patch
 
21
Patch3:        05-build-without-threading.patch
20
22
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-build
21
 
URL:           http://open.eucalyptus.com
 
23
URL:           http://ws.apache.org/axis2/c/
22
24
Provides:      euca-axis2c
23
25
 
24
26
%description
31
33
 
32
34
%prep
33
35
%setup -n axis2c-src-%{version}
34
 
%patch0 -p0
 
36
%patch0 -p1
 
37
%patch1 -p1
 
38
%patch2 -p1
 
39
%patch3 -p1
35
40
 
36
41
%build
37
42
CFLAGS="-w" ./configure --prefix=/opt/euca-axis2c --with-apache2=/usr/include/%{__httpd} --with-apr=/usr/include/apr-1 --disable-multi-thread
44
49
 
45
50
%clean
46
51
rm -rf %{buildroot}
47
 
rm -rf $RPM_BUILD_DIR/euca-axis2c-DESTDIRfix.patch
48
52
rm -rf $RPM_BUILD_DIR/axis2c-src-%{version}
49
53
 
50
54
%files