...
 
Commits (2)
......@@ -7,9 +7,14 @@ Group: Development/Libraries
License: GPLv2+
URL: http://libvirt.org
Source0: http://www.libvirt.org/sources/snmp/libvirt-snmp-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: net-snmp-perl net-snmp net-snmp-utils net-snmp-devel libvirt-devel
BuildRequires: net-snmp-perl
BuildRequires: net-snmp
BuildRequires: net-snmp-utils
BuildRequires: net-snmp-devel
BuildRequires: libvirt-devel
BuildRequires: git
BuildRequires: gcc
%description
Provides a way to control libvirt through SNMP protocol.
......@@ -17,18 +22,14 @@ Provides a way to control libvirt through SNMP protocol.
%prep
%autosetup -S git_am
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/libvirtMib_subagent
%{_datadir}/snmp/mibs/LIBVIRT-MIB.txt
%doc README NEWS ChangeLog AUTHORS
......