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