1 # TODO: python-netsnmp links with libnetsnmp.so.* installed on builder
4 %bcond_without autodeps # don't BR packages only for deps resolving
5 %bcond_without rpm # don't include RPM support
6 %bcond_without kerberos5 # don't include kerberos support
7 %bcond_without lm_sensors # don't include sensors support
8 %bcond_without perl # don't include Perl modules and utils
9 %bcond_without python # don't include Python modules
11 %include /usr/lib/rpm/macros.perl
12 Summary: A collection of SNMP protocol tools
13 Summary(es.UTF-8): Agente SNMP de la UCD
14 Summary(pl.UTF-8): Kolekcja narzędzi do obsługi protokołu SNMP
15 Summary(pt_BR.UTF-8): Agente SNMP da UCD
16 Summary(ru.UTF-8): Набор утилит для протокола SNMP от UC-Davis
17 Summary(uk.UTF-8): Набір утиліт для протоколу SNMP від UC-Davis
22 Group: Networking/Daemons
23 Source0: http://dl.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
24 # Source0-md5: 46d893281056ff476e597659cb91574d
25 Source1: %{name}d.init
26 Source2: %{name}d.conf
27 Source3: %{name}d.sysconfig
28 Source4: %{name}trapd.init
29 Source5: %{name}trapd.conf
30 Source6: %{name}trapd.sysconfig
31 Source7: ucd-ipchains.tar.gz
32 # Source7-md5: 29949f1008f1a04d6efefd5b3ea607da
33 Patch0: %{name}-acfix.patch
34 Patch1: %{name}-rpm-implicit-libs.patch
35 Patch2: %{name}-config-noflags.patch
36 Patch3: %{name}-dlopen-fix.patch
37 Patch4: %{name}-manpage.patch
38 Patch5: %{name}-link.patch
39 Patch6: %{name}-llinterfaces.patch
40 Patch7: %{name}-kernel_headers.patch
41 Patch8: %{name}-rpmpath.patch
42 Patch9: %{name}-snmpksm.patch
43 Patch10: %{name}-python.patch
44 Patch11: %{name}-python-includes.patch
45 URL: http://www.net-snmp.org/
46 BuildRequires: autoconf >= 2.57-3
47 BuildRequires: automake
48 BuildRequires: elfutils-devel
49 %{?with_kerberos5:BuildRequires: krb5-devel}
50 BuildRequires: libtool >= 1.4
51 BuildRequires: libwrap-devel
52 %{?with_lm_sensors:BuildRequires: lm_sensors-devel}
53 BuildRequires: openssl-devel >= 0.9.7d
54 %{?with_autodeps:BuildRequires: perl-Term-ReadKey}
55 BuildRequires: perl-devel >= 1:5.8.0
57 BuildRequires: python-devel >= 1:2.5
58 BuildRequires: python-setuptools
61 BuildRequires: rpm-devel >= 4.0
62 BuildRequires: rpm-perlprov >= 3.0.3-16
64 BuildRequires: rpmbuild(macros) >= 1.176
65 BuildRequires: rpmbuild(macros) >= 1.268
66 Requires(post,preun): /sbin/chkconfig
67 Requires: %{name}-libs = %{version}-%{release}
68 Requires: /usr/bin/setsid
69 Requires: rc-scripts >= 0.2.0
74 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
76 %define logfile /var/log/snmpd.log
77 %define filterout_ld -Wl,--as-needed
80 SNMP (Simple Network Management Protocol) is a protocol used for
81 network management (hence the name). The net-snmp project includes
82 various SNMP tools: an extensible agent, an SNMP library, tools for
83 requesting or setting information from SNMP agents, tools for
84 generating and handling SNMP traps, a version of the netstat command
85 which uses SNMP, and a Tk/Perl mib browser. This package contains the
86 snmpd daemon, documentation, etc.
88 %description -l es.UTF-8
89 Este paquete se deriva de la implementación del Protocolo Simple de
90 Gestión de Redes versión 2 (SNMPv2) de la Universidad Carnegie Mellon.
91 Útil para administrar redes y hacer contabilidad.
93 %description -l pl.UTF-8
94 SNMP (Simple Network Management Protocol) jest protokołem używanym do
95 zarządzania sieciami. Pakiet zawiera narzędzia: rozbudowywalnego
96 agenta, bibliotekę SNMP, narzędzia do odpytywania oraz ustawiania
97 informacji poprzez agentów SNMP, narzędzia do generowania i obsługi
98 pułapek SNMP, wersję komendy netstat używającą SNMP, przeglądarkę mib
99 w Tk/Perl, demona, dokumentację itp.
101 %description -l pt_BR.UTF-8
102 Este pacote é derivado da implementação do Protocolo Simples de
103 Gerenciamento de Redes versão 2 (SNMPv2) da Universidade Carnegie
104 Mellon. Útil para gerenciar redes e fazer contabilidade.
106 %description -l ru.UTF-8
107 SNMP (Simple Network Management Protocol) - это протокол, используемый
108 для управления сетью (отсюда и название). Проект net-snmp включает
109 разнообразные SNMP-утилиты: расширяемый агент, библиотека SNMP,
110 утилиты для запроса или установки информации от SNMP-агентов, утилиты
111 для генерации и обработки SNMP-трапов, версия команды netstat,
112 использующей SNMP, и mib-браузер на Tk/Perl. Этот пакет содержит
113 демоны snmpd и snmptrapd, документацию и т.д.
115 %description -l uk.UTF-8
116 SNMP (Simple Network Management Protocol) - це протокол, який
117 використовують для керування мережею (звідси і назва). Проект net-snmp
118 містить різноманітні SNMP-утиліти: розширюваний агент, бібліотека
119 SNMP, утиліти для запросу та встановлення інформації від NMP-агентів,
120 утиліти для генерації та обробки SNMP-трапів, версія команди netstat,
121 яка використовує SNMP, та mib-браузер на Tk/Perl. Цей пакет містить
122 демони snmpd та snmptrapd, документацію і т.і.
125 Summary: NET SNMP libraries
126 Summary(pl.UTF-8): Biblioteki SNMP
128 Requires: %{name}-mibs = %{version}-%{release}
129 Obsoletes: net-snmp-compat-libs
130 Obsoletes: ucd-snmp-libs
135 %description libs -l pl.UTF-8
139 Summary: The development environment for the net-snmp project
140 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
141 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek net-snmp
142 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
143 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
144 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
145 Group: Development/Libraries
146 Requires: %{name}-libs = %{version}-%{release}
147 Requires: elfutils-devel
148 Requires: libwrap-devel
149 %{?with_lm_sensors:Requires: lm_sensors-devel}
150 Requires: openssl-devel >= 0.9.7c
151 %{?with_rpm:Requires: rpm-devel}
152 Obsoletes: ucd-snmp-devel
155 The ucd-snmp-devel package contains the development libraries and
156 header files for use with the net-snmp project's network management
159 %description devel -l es.UTF-8
160 Estas son las bibliotecas y archivos de inclusión para desarrollo con
161 el SNMP de la UCD. Con este paquete es posible la creación de
162 programas para uso en la gestión de redes.
164 %description devel -l pl.UTF-8
165 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
166 aplikacji używających protokołu SNMP.
168 %description devel -l pt_BR.UTF-8
169 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
170 com o SNMP da UCD. Com este pacote é possível a criação de programas
171 para uso no gerenciamento de redes.
173 %description devel -l ru.UTF-8
174 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
175 использования с утилитами управления сетью проекта net-snmp.
177 %description devel -l uk.UTF-8
178 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
179 використання з утилітами керування мережею проекту net-snmp.
182 Summary: Static net-snmp libraries
183 Summary(pl.UTF-8): Statyczne biblioteki net-snmp
184 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
185 Summary(ru.UTF-8): Статические библиотеки для проекта net-snmp
186 Summary(uk.UTF-8): Статичні бібліотеки для проекту net-snmp
187 Group: Development/Libraries
188 Requires: %{name}-devel = %{version}-%{release}
189 Obsoletes: ucd-snmp-static
192 Static net-snmp libraries.
194 %description static -l pl.UTF-8
195 Statyczne biblioteki net-snmp.
197 %description static -l pt_BR.UTF-8
198 Bibliotecas estáticas para desenvolvimento com net-snmp.
200 %package compat-devel
201 Summary: The development environment for the UCD-SNMP project
202 Summary(es.UTF-8): Archivos de inclusión y bibliotecas para desarrollo en el SNMP de la UCD
203 Summary(pl.UTF-8): Pliki dla programistów używających bibliotek UCD-SNMP
204 Summary(pt_BR.UTF-8): Arquivos de inclusão e bibliotecas para desenvolvimento no SNMP da UCD
205 Summary(ru.UTF-8): Среда разработки для проекта UCD-SNMP
206 Summary(uk.UTF-8): Середовище розробки для проекту UCD-SNMP
207 Group: Development/Libraries
208 Requires: %{name}-libs = %{version}-%{release}
209 Requires: openssl-devel >= 0.9.7d
210 Obsoletes: cmu-snmp-devel
211 Obsoletes: ucd-snmp-devel
213 %description compat-devel
214 The ucd-snmp-devel package contains the development libraries and
215 header files for use with the UCD-SNMP project's network management
218 %description compat-devel -l es.UTF-8
219 Estas son las bibliotecas y archivos de inclusión para desarrollo con
220 el SNMP de la UCD. Con este paquete es posible la creación de
221 programas para uso en la gestión de redes.
223 %description compat-devel -l pl.UTF-8
224 Pakiet zawiera pliki nagłówkowe i biblioteki potrzebne do rozwoju
225 aplikacji używających protokołu SNMP.
227 %description compat-devel -l pt_BR.UTF-8
228 Estas são as bibliotecas e arquivos de inclusão para desenvolvimento
229 com o SNMP da UCD. Com este pacote é possível a criação de programas
230 para uso no gerenciamento de redes.
232 %description compat-devel -l ru.UTF-8
233 Пакет ucd-snmp-devel содержит библиотеки разработчика и хедера для
234 использования с утилитами управления сетью проекта UCD-SNMP.
236 %description compat-devel -l uk.UTF-8
237 Пакет ucd-snmp-devel містить бібліотеки програміста та хедери для
238 використання з утилітами керування мережею проекту UCD-SNMP.
240 %package compat-static
241 Summary: Static UCD-SNMP libraries
242 Summary(pl.UTF-8): Statyczne biblioteki UCD-SNMP
243 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com ucd-snmp
244 Summary(ru.UTF-8): Статические библиотеки для проекта UCD-SNMP
245 Summary(uk.UTF-8): Статичні бібліотеки для проекту UCD-SNMP
246 Group: Development/Libraries
247 Requires: %{name}-compat-devel = %{version}-%{release}
248 Obsoletes: ucd-snmp-static
250 %description compat-static
251 Static UCD-SNMP libraries.
253 %description compat-static -l pl.UTF-8
254 Statyczne biblioteki UCD-SNMP.
256 %description compat-static -l pt_BR.UTF-8
257 Bibliotecas estáticas para desenvolvimento com ucd-snmp.
260 Summary: MIB database
261 Summary(pl.UTF-8): Baza danych MIB
262 Group: Applications/System
263 Conflicts: ucd-snmp-libs
268 %description mibs -l pl.UTF-8
272 Summary: SNMP trap daemon
273 Summary(pl.UTF-8): Demon obsługujący pułapki SNMP
274 Group: Applications/System
275 Requires(post,preun): /sbin/chkconfig
276 Requires: %{name} = %{version}-%{release}
277 Requires: rc-scripts >= 0.2.0
278 Obsoletes: cmu-snmp-utils
279 Obsoletes: ucd-snmp-snmptrapd
281 %description snmptrapd
282 The ucd-snmp-snmptrapd package contains snmp trap daemon.
284 %description snmptrapd -l pl.UTF-8
285 Pakiet zawiera demon obsługujący pułapki SNMP.
288 Summary: Network management utilities using SNMP, from the NET-SNMP project
289 Summary(es.UTF-8): Utilitarios del SNMP de la UCD
290 Summary(pl.UTF-8): Narzędzia używające protokołu SNMP
291 Summary(pt_BR.UTF-8): Utilitários do SNMP da UCD
292 Summary(ru.UTF-8): Утилиты управления сетью по SNMP из проекта NET-SNMP
293 Summary(uk.UTF-8): Утиліти керування мережею по SNMP з проекту NET-SNMP
294 Group: Applications/System
295 Requires: %{name}-libs = %{version}-%{release}
296 Obsoletes: cmu-snmp-utils
297 Obsoletes: ucd-snmp-utils
300 This package contains various utilities for managing your network
301 using the SNMP protocol.
303 %description utils -l es.UTF-8
304 Varios utilitarios para uso con el SNMP de la UCD. Contiene
305 utilitarios como: snmpwalk, snmptest y otros.
307 %description utils -l pl.UTF-8
308 Różnego rodzaju narzędzia do zarządzania siecią przy użyciu protokołu
311 %description utils -l pt_BR.UTF-8
312 Vários utilitários para uso com o SNMP da UCD. Contém utilitários
313 como: snmpwalk, snmptest e outros.
315 %description utils -l ru.UTF-8
316 Пакет ucd-snmp-utils содержит разнообразные утилиты для использования
317 в проекте управления сетью net-snmp.
319 %description utils -l uk.UTF-8
320 Пакет ucd-snmp-utils містить різноманітні утиліти для використання в
321 проекті керування мережею net-snmp.
323 %package -n perl-SNMP
324 Summary: SNMP and NetSNMP::* Perl modules
325 Summary(pl.UTF-8): Moduły Perla SNMP oraz NetSNMP::*
326 Group: Development/Languages/Perl
327 Requires: %{name}-libs = %{version}-%{release}
328 Conflicts: ucd-snmp-utils-perl
330 %description -n perl-SNMP
331 SNMP and NetSNMP::* Perl modules - Perl interface to net-snmp.
333 %description -n perl-SNMP -l pl.UTF-8
334 Moduły Perla SNMP oraz NetSNMP::* - perlowy interfejs do net-snmp.
337 Summary: Perl utilities for network management using SNMP
338 Summary(pl.UTF-8): Perlowe narzędzia używające protokołu SNMP
339 Group: Applications/System
340 Requires: perl-SNMP = %{version}-%{release}
341 Obsoletes: cmu-snmp-utils
342 Obsoletes: ucd-snmp-utils-perl
344 %description utils-perl
345 This package contains various Perl utilities for managing your network
346 using the SNMP protocol.
348 %description utils-perl -l pl.UTF-8
349 Perlowe narzędzia do zarządzania siecią przy użyciu protokołu SNMP.
352 Summary: snmpconf - creating and modifying SNMP configuration files
353 Summary(pl.UTF-8): snmpconf - tworzenie i modyfikowanie plików konfiguracyjnych SNMP
354 Group: Applications/System
355 Requires: %{name} = %{version}-%{release}
356 Requires: perl-SNMP = %{version}-%{release}
358 %description snmpconf
359 snmpconf is a simple Perl script that walks you through setting up a
360 configuration file step by step. It should be fairly straight forward
363 %description snmpconf -l pl.UTF-8
364 snmpconf to prosty skrypt Perla pozwalający na tworzenie pliku
365 konfiguracyjnego krok po kroku. Powinien być w miarę prosty w użyciu.
368 Summary: MIB browser in Tk
369 Summary(pl.UTF-8): Przeglądarka MIB-ów w Tk
370 Group: Applications/System
371 Requires: perl-SNMP = %{version}-%{release}
377 %description tkmib -l pl.UTF-8
378 Przeglądarka MIB-ów w Tk.
380 %package -n python-netsnmp
381 Summary: Python netsnmp extension module
382 Summary(pl.UTF-8): Moduł rozszerzenia netsnmp dla Pythona
383 Group: Libraries/Python
384 Requires: %{name}-libs = %{version}-%{release}
386 %description -n python-netsnmp
387 The 'netsnmp' Python extension module provides a full featured,
388 tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API.
390 %description -n python-netsnmp -l pl.UTF-8
391 Moduł rozszerzenia netsnmp dla Pythona udostępnia pełne API klienckie
392 SNMP dla trzech wersji tego protokołu (SNMPv3, SNMPv2c, SNMPv1).
415 --disable-debugging \
417 --with-cflags="%{rpmcflags} -I/usr/include/et" \
418 --with-ldflags="%{rpmldflags}" \
420 --with-default-snmp-version=3 \
421 %{?with_kerberos5:--with-krb5=%{_prefix}} \
422 %{!?with_kerberos5:--without-krb5} \
423 --with-openssl=%{_prefix} \
424 --with-libwrap=%{_prefix} \
425 --with-logfile="%{logfile}" \
426 --with-zlib=%{_prefix} \
427 --with-bzip2=%{_prefix} \
428 --with%{!?with_rpm:out}-perl-modules \
429 --with%{!?with_rpm:out}-python-modules \
430 --with-mib-modules="host agentx smux mibII/mta_sendmail \
431 %ifarch %{ix86} %{x8664}
436 disman/event disman/schedule ucd-snmp/diskio \
437 target misc/ipfwacc" \
438 %{?with_kerberos5:--with-security-modules="ksm"} \
439 --with-sys-contact="root@localhost" \
440 --with-sys-location="Unknown" \
441 --with-transports="UDP UDPIPv6 TCP TCPIPv6 Unix Callback " \
442 --with-persistent-directory="/var/lib/net-snmp" \
443 --enable-ucd-snmp-compatibility \
445 --with%{!?with_rpm:out}-rpm
447 # build this subdir first. it's causing STRANGE compile failures # otherwise (for me at least). glen
448 %{__make} -C agent/mibgroup
453 %{__perl} Makefile.PL \
454 -NET-SNMP-IN-SOURCE=true \
456 OPTIMIZE="%{rpmcflags}" \
459 # avoid rpaths generated by MakeMaker
460 perl -pi -e 's@LD_RUN_PATH="\$\(LD_RUN_PATH\)" @@' */Makefile */*/Makefile
463 LDFLAGS="%{rpmldflags}"
466 rm -rf $RPM_BUILD_ROOT
467 install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig,snmp},/var/log}
470 DESTDIR=$RPM_BUILD_ROOT
472 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
473 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.local.conf
474 :> $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmp.conf
475 :> $RPM_BUILD_ROOT%{logfile}
477 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmpd
478 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmpd.conf
479 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/snmpd
481 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/snmptrapd
482 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/snmp/snmptrapd.conf
483 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/snmptrapd
485 #install agent/mibgroup/ipfwchains/IPFWCHAINS-MIB.txt \
486 # $RPM_BUILD_ROOT%{_datadir}/snmp/mibs
490 DESTDIR=$RPM_BUILD_ROOT
492 install -d $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
493 install SNMP/examples/*.pl $RPM_BUILD_ROOT%{_examplesdir}/perl-SNMP-%{version}
496 # IP-Filter (non-Linux)
497 rm -f $RPM_BUILD_ROOT%{_bindir}/ipf-mod.pl
500 rm -rf $RPM_BUILD_ROOT
505 /sbin/chkconfig --add snmpd
506 %service snmpd restart "snmpd daemon"
509 if [ "$1" = "0" ]; then
511 /sbin/chkconfig --del snmpd
514 %post libs -p /sbin/ldconfig
515 %postun libs -p /sbin/ldconfig
517 %triggerpostun -- ucd-snmp
518 /sbin/chkconfig --add snmpd
523 /sbin/chkconfig --add snmptrapd
524 %service snmptrapd restart "snmp trap daemon"
527 if [ "$1" = "0" ]; then
528 %service snmptrapd stop
529 /sbin/chkconfig --del snmptrapd
532 %triggerpostun snmptrapd -- ucd-snmp-snmptrapd
533 /sbin/chkconfig --add snmptrapd
536 %defattr(644,root,root,755)
538 %doc ChangeLog EXAMPLE.conf.def EXAMPLE.conf
539 %doc FAQ NEWS PORTING README.snmpv3 TODO AGENT.txt
541 %attr(754,root,root) /etc/rc.d/init.d/snmpd
542 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmpd
544 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.conf
545 %attr(640,root,root) %config(missingok,noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmpd.local.conf
547 %attr(755,root,root) %{_sbindir}/snmpd
549 %{_mandir}/man5/snmpd.conf.5*
550 %{_mandir}/man5/snmpd.examples.5*
551 %{_mandir}/man5/snmpd.internal.5*
552 %{_mandir}/man5/variables.5*
553 %{_mandir}/man8/snmpd.8*
555 %attr(640,root,root) %ghost %{logfile}
558 %defattr(644,root,root,755)
559 %dir %{_sysconfdir}/snmp
560 %attr(755,root,root) %{_libdir}/libnet*.so.*.*
563 %defattr(644,root,root,755)
564 %attr(755,root,root) %{_bindir}/mib2c
565 %attr(755,root,root) %{_bindir}/mib2c-update
566 %attr(755,root,root) %{_bindir}/net-snmp-config
567 %attr(755,root,root) %{_libdir}/libnet*[a-z].so
568 %{_libdir}/libnet*.la
569 %{_includedir}/net-snmp
570 %{_datadir}/snmp/mib2c*
571 %{_mandir}/man1/mib2c.1*
572 %{_mandir}/man1/mib2c-update.1*
573 %{_mandir}/man1/net-snmp-config.1*
574 %{_mandir}/man3/[!NS]*
575 %{_mandir}/man5/mib2c.conf.5*
578 %defattr(644,root,root,755)
582 %defattr(644,root,root,755)
583 %attr(755,root,root) %{_libdir}/libsnmp.so
584 %{_libdir}/libsnmp.la
585 %{_includedir}/ucd-snmp
588 %defattr(644,root,root,755)
592 %defattr(644,root,root,755)
593 %dir %{_datadir}/snmp
594 %{_datadir}/snmp/mibs
597 %defattr(644,root,root,755)
598 %attr(755,root,root) %{_sbindir}/snmptrapd
599 %attr(754,root,root) /etc/rc.d/init.d/snmptrapd
600 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/snmptrapd
601 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmptrapd.conf
603 %attr(755,root,root) %{_datadir}/snmp/snmp_perl_trapd.pl
605 %{_mandir}/man5/snmptrapd.conf.5*
606 %{_mandir}/man8/snmptrapd.8*
609 %defattr(644,root,root,755)
610 %attr(755,root,root) %{_bindir}/encode_keychange
611 %attr(755,root,root) %{_bindir}/snmpbulkget
612 %attr(755,root,root) %{_bindir}/snmpbulkwalk
613 %attr(755,root,root) %{_bindir}/snmpdelta
614 %attr(755,root,root) %{_bindir}/snmpdf
615 %attr(755,root,root) %{_bindir}/snmpget
616 %attr(755,root,root) %{_bindir}/snmpgetnext
617 %attr(755,root,root) %{_bindir}/snmpinform
618 %attr(755,root,root) %{_bindir}/snmpnetstat
619 %attr(755,root,root) %{_bindir}/snmpset
620 %attr(755,root,root) %{_bindir}/snmpstatus
621 %attr(755,root,root) %{_bindir}/snmptable
622 %attr(755,root,root) %{_bindir}/snmptest
623 %attr(755,root,root) %{_bindir}/snmptranslate
624 %attr(755,root,root) %{_bindir}/snmptrap
625 %attr(755,root,root) %{_bindir}/snmpusm
626 %attr(755,root,root) %{_bindir}/snmpvacm
627 %attr(755,root,root) %{_bindir}/snmpwalk
628 %{_mandir}/man1/encode_keychange.1*
629 %{_mandir}/man1/snmpbulkget.1*
630 %{_mandir}/man1/snmpbulkwalk.1*
631 %{_mandir}/man1/snmpcmd.1*
632 %{_mandir}/man1/snmpdelta.1*
633 %{_mandir}/man1/snmpdf.1*
634 %{_mandir}/man1/snmpget.1*
635 %{_mandir}/man1/snmpgetnext.1*
636 %{_mandir}/man1/snmpinform.1*
637 %{_mandir}/man1/snmpnetstat.1*
638 %{_mandir}/man1/snmpset.1*
639 %{_mandir}/man1/snmpstatus.1*
640 %{_mandir}/man1/snmptable.1*
641 %{_mandir}/man1/snmptest.1*
642 %{_mandir}/man1/snmptranslate.1*
643 %{_mandir}/man1/snmptrap.1*
644 %{_mandir}/man1/snmpusm.1*
645 %{_mandir}/man1/snmpvacm.1*
646 %{_mandir}/man1/snmpwalk.1*
647 %{_mandir}/man5/snmp.conf.5*
648 %{_mandir}/man5/snmp_config.5*
650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/snmp/snmp.conf
654 %defattr(644,root,root,755)
655 %doc perl/SNMP/{BUG,README,TODO} perl/SNMP/examples
656 %{perl_vendorarch}/SNMP.pm
657 %{perl_vendorarch}/NetSNMP
658 %dir %{perl_vendorarch}/auto/SNMP
659 %{perl_vendorarch}/auto/SNMP/autosplit.ix
660 %{perl_vendorarch}/auto/SNMP/SNMP.bs
661 %attr(755,root,root) %{perl_vendorarch}/auto/SNMP/SNMP.so
662 %dir %{perl_vendorarch}/auto/NetSNMP
663 %dir %{perl_vendorarch}/auto/NetSNMP/*
664 %{perl_vendorarch}/auto/NetSNMP/*/autosplit.ix
665 %{perl_vendorarch}/auto/NetSNMP/*/*.bs
666 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/*/*.so
667 %dir %{perl_vendorarch}/auto/NetSNMP/agent/default_store
668 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/autosplit.ix
669 %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.bs
670 %attr(755,root,root) %{perl_vendorarch}/auto/NetSNMP/agent/default_store/default_store.so
671 %{_mandir}/man3/NetSNMP::*.3*
672 %{_mandir}/man3/SNMP.3*
673 %{_examplesdir}/perl-SNMP-%{version}
676 %defattr(644,root,root,755)
677 %attr(755,root,root) %{_bindir}/fixproc
678 %attr(755,root,root) %{_bindir}/snmpcheck
679 %attr(755,root,root) %{_bindir}/traptoemail
680 %{_mandir}/man1/fixproc.1*
681 %{_mandir}/man1/traptoemail.1*
685 %defattr(644,root,root,755)
686 %attr(755,root,root) %{_bindir}/snmpconf
687 %{_mandir}/man1/snmpconf.1*
688 %{_datadir}/snmp/snmpconf-data
692 %defattr(644,root,root,755)
693 %attr(755,root,root) %{_bindir}/tkmib
694 %{_mandir}/man1/tkmib.1*
698 %files -n python-netsnmp
699 %defattr(644,root,root,755)
700 %dir %{py_sitedir}/netsnmp
701 %attr(755,root,root) %{py_sitedir}/netsnmp/*.so
702 %{py_sitedir}/netsnmp/*.py[co]
703 %{py_sitedir}/netsnmp_python-*.egg-info