-
Notifications
You must be signed in to change notification settings - Fork 4
/
libvirt-snmp.spec.in
63 lines (49 loc) · 1.63 KB
/
libvirt-snmp.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Name: libvirt-snmp
Version: @VERSION@
Release: 1%{?dist}%{?extra_release}
Summary: SNMP functionality for libvirt
Group: Development/Libraries
License: GPLv2+
URL: https://libvirt.org
Source0: https://www.libvirt.org/sources/snmp/libvirt-snmp-%{version}.tar.gz
BuildRequires: perl-Net-SNMP
BuildRequires: net-snmp-devel
BuildRequires: libvirt-devel
BuildRequires: git
BuildRequires: gcc
Requires: net-snmp
Requires: net-snmp-utils
%description
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
%{_bindir}/libvirtMib_subagent
%{_datadir}/snmp/mibs/LIBVIRT-MIB.txt
%doc README NEWS ChangeLog AUTHORS
%{_mandir}/man1/libvirtMib_subagent.1*
%changelog
* Thu Oct 25 2018 Michal Privoznik <[email protected]> 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
* Fri Sep 7 2012 Michal Privoznik <[email protected]> 0.0.3-1
- various bug fixes and improvements
* Wed Mar 23 2011 Michal Privoznik <[email protected]> 0.0.2-1
- add SNMP trap/notification support
* Fri Mar 11 2011 Michal Privoznik <[email protected]> 0.0.1-3
- remove LIBVIRT-MIB.txt from doc
* Wed Mar 9 2011 Michal Privoznik <[email protected]> 0.0.1-2
- resolve licensing conflicts
- add unified header to sources
* Wed Feb 2 2011 Michal Privoznik <[email protected]> 0.0.1-1
- initial revision