forked from eucalyptus/load-balancer-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eucalyptus-load-balancer-image.spec
63 lines (48 loc) · 1.92 KB
/
eucalyptus-load-balancer-image.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Name: eucalyptus-load-balancer-image%{?devbuild:-devel}
Version: %{build_version}
Release: 0%{?build_id:.%build_id}%{?dist}
Summary: Elastic Load Balancer Machine Image
Group: Applications/System
# License needs to be the *distro's* license (Fedora is GPLv2, for instance)
License: GPLv2
URL: http://www.eucalyptus.com/
# Eustore image tarball
Source0: %{name}-%{build_version}%{?build_id:-%build_id}.tgz
# Image's OS's license
Source1: IMAGE-LICENSE
# Kickstart used to build the image
Source2: %{name}.ks
# Installation script
Source3: euca-install-load-balancer
Requires: euca2ools >= 3.1.0
%description
This package contains a machine image for use in Eucalyptus as a load
balancer virtual machine.
%prep
cp -p %{SOURCE1} %{SOURCE2} %{_builddir}
%build
# No build required
%install
install -m 755 -d $RPM_BUILD_ROOT%{_datarootdir}/%{name}
install -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{_datarootdir}/%{name}
install -m 755 -d $RPM_BUILD_ROOT/usr/bin
install -m 755 %{SOURCE3} $RPM_BUILD_ROOT/usr/bin
%files
%defattr(-,root,root,-)
%doc IMAGE-LICENSE %{name}.ks
%{_datarootdir}/%{name}
/usr/bin/euca-install-load-balancer
%changelog
* Tue Dec 10 2013 Eucalyptus Release Engineering <[email protected]> - 1.0.3-0
- Use load-balancer-servo v1.0.2
* Tue Oct 01 2013 Eucalyptus Release Engineering <[email protected]> - 1.0.2-0
- Raise euca2ools requirement to version 3.0.2
* Wed May 22 2013 Eucalyptus Release Engineering <[email protected]> - 1.0-0
- Cleaned up macro use
* Thu May 16 2013 Eucalyptus Release Engineering <[email protected]> - 1.0-0
- Added load balancer easy install script
* Tue May 07 2013 Eucalyptus Release Engineering <[email protected]> - 0.1-0
- Removed eustore builder script since this is not necessary
- KS is now under docs
* Tue Jan 29 2013 Eucalyptus Release Engineering <[email protected]> - 0.1-0
- Created