3 %bcond_without tests # do not perform "make test"
5 Summary: SNMP_Session - SNMP support for Perl 5
6 Summary(cs.UTF-8): Modul SNMP pro Perl
7 Summary(da.UTF-8): Perlmodul SNMP
8 Summary(de.UTF-8): SNMP Perl Modul
9 Summary(es.UTF-8): Módulo de Perl SNMP
10 Summary(fr.UTF-8): Module Perl SNMP
11 Summary(it.UTF-8): Modulo di Perl SNMP
12 Summary(ja.UTF-8): SNMP Perl モジュール
13 Summary(ko.UTF-8): SNMP 펄 모줄
14 Summary(nb.UTF-8): Perlmodul SNMP
15 Summary(pl.UTF-8): SNMP_Session - obsługa SNMP dla Perla 5
16 Summary(pt.UTF-8): Módulo de Perl SNMP
17 Summary(pt_BR.UTF-8): Módulo Perl SNMP
18 Summary(ru.UTF-8): Модуль для Perl SNMP
19 Summary(sv.UTF-8): SNMP Perlmodul
20 Summary(uk.UTF-8): Модуль для Perl SNMP
21 Summary(zh_CN.UTF-8): SNMP Perl 模块
22 Name: perl-SNMP_Session
26 Group: Development/Languages/Perl
27 Source0: http://snmp-session.googlecode.com/files/SNMP_Session-%{version}.tar.gz
28 # Source0-md5: 055e1065babf55f1f8606329c6bdb947
29 Patch0: %{name}-Socket6_conflict.patch
30 URL: http://code.google.com/p/snmp-session/
31 BuildRequires: perl-devel >= 1:5.8.0
32 BuildRequires: rpm-perlprov >= 4.1-13
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 This package contains Perl 5 modules SNMP_Session.pm and BER.pm,
38 which, when used together, provide rudimentary access to remote SNMP
41 %description -l pl.UTF-8
42 Ten pakiet zawiera moduły Perla 5 SNMP_Session.pm i BER.pm, które,
43 używane wspólnie, dają dostęp do zewnętrznych serwisów SNMP (v1/v2).
46 %setup -q -n SNMP_Session-%{version}
50 %{__perl} Makefile.PL \
54 %{?with_tests:%{__make} test}
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc README* index.html test
68 %{perl_vendorlib}/*.pm