# # Conditional build: # _without_tests - do not perform "make test" # %include /usr/lib/rpm/macros.perl Summary: SNMP Perl module Summary(cs): Modul SNMP pro Perl Summary(da): Perlmodul SNMP Summary(de): SNMP Perl Modul Summary(es): Módulo de Perl SNMP Summary(fr): Module Perl SNMP Summary(it): Modulo di Perl SNMP Summary(ja): SNMP Perl ĄâĄ¸ĄĺˇĽĄë Summary(ko): SNMP ĆŢ ¸đÁŮ Summary(no): Perlmodul SNMP Summary(pl): Moduł perla do obsługi SNMP Summary(pt): Módulo de Perl SNMP Summary(pt_BR): Módulo Perl SNMP Summary(ru): íĎÄŐĚŘ ÄĚŃ Perl SNMP Summary(sv): SNMP Perlmodul Summary(uk): íĎÄŐĚŘ ÄĚŃ Perl SNMP Summary(zh_CN): SNMP Perl ÄŁżé Name: perl-SNMP_Session Version: 0.94 Release: 1 License: GPL Group: Development/Languages/Perl Source0: ftp://ftp.switch.ch/software/sources/network/snmp/perl/SNMP_Session-%{version}.tar.gz BuildRequires: perl >= 5.6.1 BuildRequires: rpm-perlprov >= 3.0.3-16 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This package contains Perl 5 modules SNMP_Session.pm and BER.pm, which, when used together, provide rudimentary access to remote SNMP (v1/v2) agents. %description -l pl Ten pakiet zawiera moduły Perla 5 SNMP_Session.pm i BER.pm, które, używane wspólnie, daj± dostęp do zewnętrznych serwisów SNMP (v1/v2). %prep %setup -q -n SNMP_Session-%{version} %build %{__perl} Makefile.PL %{__make} %{!?_without_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README* test %{perl_sitelib}/*.pm