]> git.pld-linux.org Git - packages/perl-Net-TFTP.git/blob - perl-Net-TFTP.spec
3ccc6ae96ab2e93aad6707f927947e79e5e74edf
[packages/perl-Net-TFTP.git] / perl-Net-TFTP.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Net
7 %define pnam    TFTP
8 Summary:        Net::TFTP Perl module
9 Summary(cs):    Modul Net::TFTP pro Perl
10 Summary(da):    Perlmodul Net::TFTP
11 Summary(de):    Net::TFTP Perl Modul
12 Summary(es):    Módulo de Perl Net::TFTP
13 Summary(fr):    Module Perl Net::TFTP
14 Summary(it):    Modulo di Perl Net::TFTP
15 Summary(ja):    Net::TFTP Perl ¥â¥¸¥å¡¼¥ë
16 Summary(ko):    Net::TFTP ÆÞ ¸ðÁÙ
17 Summary(nb):    Perlmodul Net::TFTP
18 Summary(pl):    Modu³ Perla Net::TFTP
19 Summary(pt):    Módulo de Perl Net::TFTP
20 Summary(pt_BR): Módulo Perl Net::TFTP
21 Summary(ru):    íÏÄÕÌØ ÄÌÑ Perl Net::TFTP
22 Summary(sv):    Net::TFTP Perlmodul
23 Summary(uk):    íÏÄÕÌØ ÄÌÑ Perl Net::TFTP
24 Summary(zh_CN): Net::TFTP Perl Ä£¿é
25 Name:           perl-Net-TFTP
26 Version:        0.16
27 Release:        3
28 # same as perl
29 License:        GPL v1+ or Artistic
30 Group:          Development/Languages/Perl
31 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
32 # Source0-md5:  59d0faa69e894a99fc402bbda4ca7734
33 BuildRequires:  perl-devel >= 1:5.8.0
34 BuildRequires:  rpm-perlprov >= 4.1-13
35 BuildArch:      noarch
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Net::TFTP - TFTP Client.
40
41 %description -l pl
42 Net::TFTP - klient TFTP.
43
44 %prep
45 %setup -q -n %{pdir}-%{pnam}-%{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
66 %{perl_vendorlib}/Net/TFTP.pm
67 %{_mandir}/man3/*
This page took 0.054543 seconds and 2 git commands to generate.