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.UTF-8): 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: b66e5744697dc0ca7157df2e3eddb8ee
17 URL: http://snmp-info.sourceforge.net/
19 BuildRequires: perl-SNMP >= 4
21 BuildRequires: perl-devel >= 1:5.8.0
22 BuildRequires: rpm-perlprov >= 4.1-13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 SNMP::Info gives an object oriented interface to information obtained
28 through SNMP. This module is geared towards network devices.
29 Subclasses exist for a number of network devices and common MIBs. The
30 idea behind this module is to give a common interface to data from
31 network devices, leaving the device-specific hacks behind the scenes
34 %description -l pl.UTF-8
35 SNMP::Info udostępnia zorientowany obiektowo interfejs do informacji
36 uzyskiwanych poprzez SNMP. Moduł jest dostosowany do urządzeń
37 sieciowych. Istnieją podklasy dla wielu urządzeń sieciowych i
38 popularnych MIB-ów. Ideą tego modułu jest dostarczenie wspólnego
39 interfejsu do danych z urządzeń sieciowych pozostawiając specyficzne
40 dla konkretnych urządzeń sztuczki ukryte w podklasach.
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc COPYRIGHT ChangeLog DeviceMatrix.txt
64 %{perl_vendorlib}/SNMP/Info.pm
65 %{perl_vendorlib}/SNMP/Info