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