3 %bcond_without tests # do not perform "make test"
7 Summary: SNMP::Info - Perl interface to network devices and MIBs through SNMP
8 Summary(pl.UTF-8): SNMP::Info - interfejs perlowy do urządzeń sieciowych i MIB-ów poprzez SNMP
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: b66e5744697dc0ca7157df2e3eddb8ee
16 URL: http://snmp-info.sourceforge.net/
18 BuildRequires: perl-SNMP >= 4
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 SNMP::Info gives an object oriented interface to information obtained
27 through SNMP. This module is geared towards network devices.
28 Subclasses exist for a number of network devices and common MIBs. The
29 idea behind this module is to give a common interface to data from
30 network devices, leaving the device-specific hacks behind the scenes
33 %description -l pl.UTF-8
34 SNMP::Info udostępnia zorientowany obiektowo interfejs do informacji
35 uzyskiwanych poprzez SNMP. Moduł jest dostosowany do urządzeń
36 sieciowych. Istnieją podklasy dla wielu urządzeń sieciowych i
37 popularnych MIB-ów. Ideą tego modułu jest dostarczenie wspólnego
38 interfejsu do danych z urządzeń sieciowych pozostawiając specyficzne
39 dla konkretnych urządzeń sztuczki ukryte w podklasach.
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 %{?with_tests:%{__make} test}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %doc COPYRIGHT ChangeLog DeviceMatrix.txt
63 %{perl_vendorlib}/SNMP/Info.pm
64 %{perl_vendorlib}/SNMP/Info