]> git.pld-linux.org Git - packages/perl-SNMP-Info.git/blame - perl-SNMP-Info.spec
- tabs in preamble
[packages/perl-SNMP-Info.git] / perl-SNMP-Info.spec
CommitLineData
00352764 1#
85b185ed 2# Conditional build:
3%bcond_without tests # do not perform "make test"
00352764 4#
f45d62c2 5%include /usr/lib/rpm/macros.perl
f6b8409d 6%define pdir SNMP
7%define pnam Info
00352764 8Summary: SNMP::Info - Perl interface to network devices and MIBs through SNMP
839a55c4 9Summary(pl.UTF-8): SNMP::Info - interfejs perlowy do urządzeń sieciowych i MIB-ów poprzez SNMP
f45d62c2 10Name: perl-SNMP-Info
0a0d6d95 11Version: 1.04
f45d62c2 12Release: 1
00352764 13License: BSD
f45d62c2
SZ
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
0a0d6d95 16# Source0-md5: 2cf580f142b7300fc12336b83c85f5eb
00352764
JB
17URL: http://snmp-info.sourceforge.net/
18%if %{with tests}
00352764
JB
19BuildRequires: perl-SNMP >= 4
20%endif
00aea969 21BuildRequires: perl-devel >= 1:5.8.0
00352764 22BuildRequires: rpm-perlprov >= 4.1-13
f45d62c2
SZ
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
00352764
JB
27SNMP::Info gives an object oriented interface to information obtained
28through SNMP. This module is geared towards network devices.
29Subclasses exist for a number of network devices and common MIBs. The
30idea behind this module is to give a common interface to data from
31network devices, leaving the device-specific hacks behind the scenes
32in subclasses.
f45d62c2 33
3c017234
JR
34%description -l pl.UTF-8
35SNMP::Info udostępnia zorientowany obiektowo interfejs do informacji
36uzyskiwanych poprzez SNMP. Moduł jest dostosowany do urządzeń
37sieciowych. Istnieją podklasy dla wielu urządzeń sieciowych i
38popularnych MIB-ów. Ideą tego modułu jest dostarczenie wspólnego
39interfejsu do danych z urządzeń sieciowych pozostawiając specyficzne
40dla konkretnych urządzeń sztuczki ukryte w podklasach.
f45d62c2
SZ
41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
00352764
JB
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
f45d62c2
SZ
48%{__make}
49
00352764
JB
50%{?with_tests:%{__make} test}
51
f45d62c2
SZ
52%install
53rm -rf $RPM_BUILD_ROOT
54
00352764
JB
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
f45d62c2
SZ
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
00352764
JB
63%doc COPYRIGHT ChangeLog DeviceMatrix.txt
64%{perl_vendorlib}/SNMP/Info.pm
65%{perl_vendorlib}/SNMP/Info
f45d62c2 66%{_mandir}/man3/*
This page took 0.106869 seconds and 4 git commands to generate.