1 |
dams |
343734 |
Name: waagent |
2 |
|
|
Summary: Windows Azure Linux Agent |
3 |
|
|
Version: 1.2 |
4 |
umeabot |
385588 |
Release: %mkrel 3 |
5 |
dams |
343734 |
License: APL2.0 |
6 |
|
|
Group: System/Libraries |
7 |
|
|
Source: WALinuxAgent-%{version}.tar.gz |
8 |
|
|
Patch0: waagent-pyasn1.patch |
9 |
|
|
Patch1: waagent-fdisk-locale.patch |
10 |
|
|
Buildarch: noarch |
11 |
|
|
Requires: iptables openssh-server openssl sudo python pyasn1 |
12 |
dams |
343730 |
%description |
13 |
dams |
343734 |
The Windows Azure Linux Agent (%{name}) manages VM interaction with |
14 |
|
|
the Windows Azure Fabric Controller. |
15 |
dams |
343730 |
|
16 |
|
|
%prep |
17 |
|
|
%setup -q -n WALinuxAgent-%{version} |
18 |
|
|
%apply_patches |
19 |
|
|
|
20 |
|
|
%build |
21 |
|
|
|
22 |
|
|
%install |
23 |
dams |
343734 |
mkdir -p %{buildroot}%{_sbindir} |
24 |
|
|
mkdir -p %{buildroot}%{_docdir}/%{name} |
25 |
|
|
install -m0755 %{name} %{buildroot}%{_sbindir}/%{name} |
26 |
dams |
343730 |
install -m0644 NOTICE README |
27 |
|
|
|
28 |
|
|
%post |
29 |
|
|
/usr/sbin/waagent --setup --force |
30 |
|
|
|
31 |
|
|
%files |
32 |
|
|
%doc NOTICE README |
33 |
dams |
343734 |
%{_sbindir}/%{name} |