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