]>
Commit | Line | Data |
---|---|---|
d82b17f5 JB |
1 | Summary: SNMP API for libvirt |
2 | Summary(pl.UTF-8): API SNMP do libvirt | |
3 | Name: libvirt-snmp | |
2cca5390 | 4 | Version: 0.0.3 |
d82b17f5 JB |
5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: Applications/System | |
8 | Source0: ftp://libvirt.org/libvirt/snmp/%{name}-%{version}.tar.gz | |
2cca5390 | 9 | # Source0-md5: d471230f2d4f949185118548b2247050 |
d82b17f5 | 10 | URL: http://libvirt.org/ |
2cca5390 | 11 | BuildRequires: libvirt-devel >= 0.8.0 |
d82b17f5 JB |
12 | BuildRequires: net-snmp-devel |
13 | BuildRequires: pkgconfig | |
2cca5390 | 14 | Requires: libvirt >= 0.8.0 |
d82b17f5 JB |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | Libvirt-snmp provides SNMP functionality for libvirt. Therefore it is | |
19 | now possible to gather and set domain status over SNMP from one place. | |
20 | This allows to create views of entire platforms end to end. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Libvirt-snmp udostępnia funkcjonalność SNMP dla libvirt. Dzięki temu | |
24 | można pobierać i ustawiać stan domen z jednego miejsca poprzez SNMP. | |
25 | Pozwala to na tworzenie widoków całych platform. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | %configure | |
32 | %{__make} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %{__make} install \ | |
38 | DESTDIR=$RPM_BUILD_ROOT | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc AUTHORS NEWS README | |
46 | %attr(755,root,root) %{_bindir}/libvirtMib_subagent | |
47 | %{_datadir}/snmp/mibs/LIBVIRT-MIB.txt | |
48 | %{_mandir}/man1/libvirtMib_subagent.1* |