libvirt-snmp.spec.in 1.64 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+
8 9
URL:		https://libvirt.org
Source0:	https://www.libvirt.org/sources/snmp/libvirt-snmp-%{version}.tar.gz
Michal Privoznik's avatar
Michal Privoznik committed
10

11 12 13 14 15 16 17
BuildRequires: net-snmp-perl
BuildRequires: net-snmp
BuildRequires: net-snmp-utils
BuildRequires: net-snmp-devel
BuildRequires: libvirt-devel
BuildRequires: git
BuildRequires: gcc
Michal Privoznik's avatar
Michal Privoznik committed
18 19 20 21 22

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

%prep
23
%autosetup -S git_am
Michal Privoznik's avatar
Michal Privoznik committed
24 25 26 27 28 29 30 31 32 33

%build
%configure
make %{?_smp_mflags}

%install
make install DESTDIR=$RPM_BUILD_ROOT

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


%changelog
40 41 42 43 44 45 46 47 48
* Thu Oct 25 2018 Michal Privoznik <mprivozn@redhat.com> 0.0.4-1
- Replace placeholder org OID with libvirt OID (BZ: 1603154)
- Fix object OIDs for SNMP traps (BZ: 1624839)
- Send sysUptime in traps (BZ: 1624879)
- Modernize spec file
- Cleaned up some old code and rewritten it to use new Libvirt APIs
- Fixed build with newer net-snmp package
- Some bug fixes

49 50 51
* Fri Sep  7 2012 Michal Privoznik <mprivozn@redhat.com> 0.0.3-1
- various bug fixes and improvements

52 53 54
* Wed Mar 23 2011 Michal Privoznik <mprivozn@redhat.com> 0.0.2-1
- add SNMP trap/notification support

55
* Fri Mar 11 2011 Michal Privoznik <mprivozn@redhat.com> 0.0.1-3
56
- remove LIBVIRT-MIB.txt from doc
57

58 59 60 61
* Wed Mar  9 2011 Michal Privoznik <mprivozn@redhat.com> 0.0.1-2
- resolve licensing conflicts
- add unified header to sources

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