libvirt-snmp.spec.in 1.27 KB
Newer Older
Michal Privoznik's avatar
Michal Privoznik committed
1 2
Name:		libvirt-snmp
Version:	@VERSION@
3
Release:	1%{?dist}%{?extra_release}
Michal Privoznik's avatar
Michal Privoznik committed
4 5 6
Summary:	SNMP functionality for libvirt

Group:		Development/Libraries
7
License:	GPLv2+
Michal Privoznik's avatar
Michal Privoznik committed
8
URL:		http://libvirt.org
9
Source0:	http://www.libvirt.org/sources/snmp/libvirt-snmp-%{version}.tar.gz
Michal Privoznik's avatar
Michal Privoznik committed
10 11
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

Michal Privoznik's avatar
Michal Privoznik committed
12
BuildRequires: net-snmp-perl net-snmp net-snmp-utils net-snmp-devel libvirt-devel
Michal Privoznik's avatar
Michal Privoznik committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

%description
Provides a way to control libvirt through SNMP protocol.

%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
make install DESTDIR=$RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_bindir}/libvirtMib_subagent
33
%{_datadir}/snmp/mibs/LIBVIRT-MIB.txt
34
%doc README NEWS ChangeLog AUTHORS
35
%{_mandir}/man1/libvirtMib_subagent.1*
Michal Privoznik's avatar
Michal Privoznik committed
36 37 38


%changelog
39 40 41
* Fri Sep  7 2012 Michal Privoznik <mprivozn@redhat.com> 0.0.3-1
- various bug fixes and improvements

42 43 44
* Wed Mar 23 2011 Michal Privoznik <mprivozn@redhat.com> 0.0.2-1
- add SNMP trap/notification support

45
* Fri Mar 11 2011 Michal Privoznik <mprivozn@redhat.com> 0.0.1-3
46
- remove LIBVIRT-MIB.txt from doc
47

48 49 50 51
* Wed Mar  9 2011 Michal Privoznik <mprivozn@redhat.com> 0.0.1-2
- resolve licensing conflicts
- add unified header to sources

52
* Wed Feb  2 2011 Michal Privoznik <mprivozn@redhat.com> 0.0.1-1
Michal Privoznik's avatar
Michal Privoznik committed
53
- initial revision