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