]> git.pld-linux.org Git - packages/perl-SNMP_Session.git/blob - perl-SNMP_Session.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-SNMP_Session.git] / perl-SNMP_Session.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
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
23 Version:        1.13
24 Release:        2
25 License:        Artistic
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
33 BuildArch:      noarch
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 This package contains Perl 5 modules SNMP_Session.pm and BER.pm,
38 which, when used together, provide rudimentary access to remote SNMP
39 (v1/v2) agents.
40
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).
44
45 %prep
46 %setup -q -n SNMP_Session-%{version}
47 %patch0 -p0
48
49 %build
50 %{__perl} Makefile.PL \
51         INSTALLDIRS=vendor
52 %{__make}
53
54 %{?with_tests:%{__make} test}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc README* index.html test
68 %{perl_vendorlib}/*.pm
This page took 0.114452 seconds and 4 git commands to generate.