2 %bcond_without tests # don't perform "make test"
4 %include /usr/lib/rpm/macros.perl
7 Summary: SNMP::Info - Perl interface to network devices and MIBs through SNMP
8 Summary(pl): SNMP::Info - perlowy interfejs do urz±dzeñ sieciowych i MIB-ów poprzez SNMP
9 Summary(pt): Módulo de Perl SNMP::Info
10 Summary(pt_BR): Módulo Perl SNMP::Info
11 Summary(ru): íÏÄÕÌØ ÄÌÑ Perl SNMP::Info
12 Summary(sv): SNMP::Info Perlmodul
13 Summary(uk): íÏÄÕÌØ ÄÌÑ Perl SNMP::Info
14 Summary(zh_CN): SNMP::Info Perl Ä£¿é
19 Group: Development/Languages/Perl
20 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
21 # Source0-md5: e9a139b420d270132b43c7f8470edc17
22 URL: http://snmp-info.sourceforge.net/
24 BuildRequires: perl(Math::BigInt)
25 BuildRequires: perl-SNMP >= 4
27 BuildRequires: perl-devel >= 5.8.0
28 BuildRequires: rpm-perlprov >= 4.1-13
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 SNMP::Info gives an object oriented interface to information obtained
34 through SNMP. This module is geared towards network devices.
35 Subclasses exist for a number of network devices and common MIBs. The
36 idea behind this module is to give a common interface to data from
37 network devices, leaving the device-specific hacks behind the scenes
41 SNMP::Info udostêpnia zorientowany obiektowo interfejs do informacji
42 uzyskiwanych poprzez SNMP. Modu³ jest dostosowany do urz±dzeñ
43 sieciowych. Istniej± podklasy dla wielu urz±dzeñ sieciowych i
44 popularnych MIB-ów. Ide± tego modu³u jest dostarczenie wspólnego
45 interfejsu do danych z urz±dzeñ sieciowych pozostawiaj±c specyficzne
46 dla konkretnych urz±dzeñ sztuczki ukryte w podklasach.
49 %setup -q -n %{pdir}-%{pnam}-%{version}
52 %{__perl} Makefile.PL \
56 %{?with_tests:%{__make} test}
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc COPYRIGHT ChangeLog DeviceMatrix.txt
70 %{perl_vendorlib}/SNMP/Info.pm
71 %{perl_vendorlib}/SNMP/Info