3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 Summary: SNMP_Session - SNMP support for Perl 5
7 Summary(cs): Modul SNMP pro Perl
8 Summary(da): Perlmodul SNMP
9 Summary(de): SNMP Perl Modul
10 Summary(es): Módulo de Perl SNMP
11 Summary(fr): Module Perl SNMP
12 Summary(it): Modulo di Perl SNMP
13 Summary(ja): SNMP Perl ¥â¥¸¥å¡¼¥ë
14 Summary(ko): SNMP ÆÞ ¸ðÁÙ
15 Summary(nb): Perlmodul SNMP
16 Summary(pl): SNMP_Session - obs³uga SNMP dla Perla 5
17 Summary(pt): Módulo de Perl SNMP
18 Summary(pt_BR): Módulo Perl SNMP
19 Summary(ru): íÏÄÕÌØ ÄÌÑ Perl SNMP
20 Summary(sv): SNMP Perlmodul
21 Summary(uk): íÏÄÕÌØ ÄÌÑ Perl SNMP
22 Summary(zh_CN): SNMP Perl Ä£¿é
23 Name: perl-SNMP_Session
27 Group: Development/Languages/Perl
28 Source0: ftp://ftp.switch.ch/software/sources/network/snmp/perl/SNMP_Session-%{version}.tar.gz
29 # Source0-md5: fb9dbda2ede47578d38976bedb0a226b
30 BuildRequires: perl-devel >= 1:5.8.0
31 BuildRequires: rpm-perlprov >= 4.1-13
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 This package contains Perl 5 modules SNMP_Session.pm and BER.pm,
37 which, when used together, provide rudimentary access to remote SNMP
41 Ten pakiet zawiera modu³y Perla 5 SNMP_Session.pm i BER.pm, które,
42 u¿ywane wspólnie, daj± dostêp do zewnêtrznych serwisów SNMP (v1/v2).
45 %setup -q -n SNMP_Session-%{version}
48 %{__perl} Makefile.PL \
52 %{?with_tests:%{__make} test}
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc README* index.html test
66 %{perl_vendorlib}/*.pm