]> git.pld-linux.org Git - packages/perl-SNMP_Session.git/blame - perl-SNMP_Session.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-SNMP_Session.git] / perl-SNMP_Session.spec
CommitLineData
47dca2b5 1#
2# Conditional build:
a0f476f4 3%bcond_without tests # do not perform "make test"
47dca2b5 4#
a0f476f4 5Summary: SNMP_Session - SNMP support for Perl 5
3a53267a
ER
6Summary(cs.UTF-8): Modul SNMP pro Perl
7Summary(da.UTF-8): Perlmodul SNMP
8Summary(de.UTF-8): SNMP Perl Modul
9Summary(es.UTF-8): Módulo de Perl SNMP
10Summary(fr.UTF-8): Module Perl SNMP
11Summary(it.UTF-8): Modulo di Perl SNMP
12Summary(ja.UTF-8): SNMP Perl モジュール
13Summary(ko.UTF-8): SNMP 펄 모줄
14Summary(nb.UTF-8): Perlmodul SNMP
15Summary(pl.UTF-8): SNMP_Session - obsługa SNMP dla Perla 5
16Summary(pt.UTF-8): Módulo de Perl SNMP
17Summary(pt_BR.UTF-8): Módulo Perl SNMP
18Summary(ru.UTF-8): Модуль для Perl SNMP
19Summary(sv.UTF-8): SNMP Perlmodul
20Summary(uk.UTF-8): Модуль для Perl SNMP
21Summary(zh_CN.UTF-8): SNMP Perl 模块
8802d8ff 22Name: perl-SNMP_Session
3076ca70 23Version: 1.13
d1e925d9 24Release: 2
a0f476f4 25License: Artistic
8802d8ff 26Group: Development/Languages/Perl
3076ca70
JK
27Source0: http://snmp-session.googlecode.com/files/SNMP_Session-%{version}.tar.gz
28# Source0-md5: 055e1065babf55f1f8606329c6bdb947
ead5285c 29Patch0: %{name}-Socket6_conflict.patch
3076ca70 30URL: http://code.google.com/p/snmp-session/
a0f476f4 31BuildRequires: perl-devel >= 1:5.8.0
890c38a8 32BuildRequires: rpm-perlprov >= 4.1-13
a7aba963 33BuildArch: noarch
8802d8ff
JR
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36%description
3e01d904
JB
37This package contains Perl 5 modules SNMP_Session.pm and BER.pm,
38which, when used together, provide rudimentary access to remote SNMP
5c761c07 39(v1/v2) agents.
3e01d904 40
c6d8ba30
JR
41%description -l pl.UTF-8
42Ten pakiet zawiera moduły Perla 5 SNMP_Session.pm i BER.pm, które,
43używane wspólnie, dają dostęp do zewnętrznych serwisów SNMP (v1/v2).
8802d8ff
JR
44
45%prep
46%setup -q -n SNMP_Session-%{version}
ead5285c 47%patch0 -p0
8802d8ff
JR
48
49%build
890c38a8 50%{__perl} Makefile.PL \
31ee29a0 51 INSTALLDIRS=vendor
8802d8ff 52%{__make}
a0f476f4
JB
53
54%{?with_tests:%{__make} test}
8802d8ff
JR
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
a0f476f4
JB
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
8802d8ff 61
8802d8ff
JR
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
a0f476f4 67%doc README* index.html test
890c38a8 68%{perl_vendorlib}/*.pm
This page took 0.087575 seconds and 4 git commands to generate.