Name: waagent Summary: Windows Azure Linux Agent Version: 1.3.2 Release: %mkrel 1 License: APL2.0 Group: System/Libraries Url: https://github.com/windows-azure/walinuxagent Source: WALinuxAgent-WALinuxAgent-%{version}.tar.gz Patch0: waagent-fdisk-locale.patch Buildarch: noarch Requires: iptables openssh-server openssl sudo python python-pyasn1 %description The Windows Azure Linux Agent (%{name}) manages VM interaction with the Windows Azure Fabric Controller. %prep %setup -q -n WALinuxAgent-WALinuxAgent-%{version} %apply_patches %build %install mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_docdir}/%{name} install -m0755 %{name} %{buildroot}%{_sbindir}/%{name} install -m0644 NOTICE README %post /usr/sbin/waagent --setup --force %files %doc NOTICE README %{_sbindir}/%{name}