3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: SNMP::Info - Perl interface to network devices and MIBs through SNMP
9 Summary(pl): SNMP::Info - interfejs perlowy do urz±dzeñ sieciowych i MIB-ów poprzez SNMP
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 4a802c44a863c1b362d9ae165236651d
17 URL: http://snmp-info.sourceforge.net/
19 BuildRequires: perl(Math::BigInt)
20 BuildRequires: perl-SNMP >= 4
22 BuildRequires: perl-devel >= 5.8.0
23 BuildRequires: rpm-perlprov >= 4.1-13
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 SNMP::Info gives an object oriented interface to information obtained
29 through SNMP. This module is geared towards network devices.
30 Subclasses exist for a number of network devices and common MIBs. The
31 idea behind this module is to give a common interface to data from
32 network devices, leaving the device-specific hacks behind the scenes
36 SNMP::Info udostêpnia zorientowany obiektowo interfejs do informacji
37 uzyskiwanych poprzez SNMP. Modu³ jest dostosowany do urz±dzeñ
38 sieciowych. Istniej± podklasy dla wielu urz±dzeñ sieciowych i
39 popularnych MIB-ów. Ide± tego modu³u jest dostarczenie wspólnego
40 interfejsu do danych z urz±dzeñ sieciowych pozostawiaj±c specyficzne
41 dla konkretnych urz±dzeñ sztuczki ukryte w podklasach.
44 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc COPYRIGHT ChangeLog DeviceMatrix.txt
65 %{perl_vendorlib}/SNMP/Info.pm
66 %{perl_vendorlib}/SNMP/Info