]> git.pld-linux.org Git - packages/perl-Net-Telnet.git/blame - perl-Net-Telnet.spec
- updated to 3.04
[packages/perl-Net-Telnet.git] / perl-Net-Telnet.spec
CommitLineData
037cb86b 1#
2# Conditional build:
7658d35f 3%bcond_without tests # do not perform "make test"
037cb86b 4#
76b29ed1 5%include /usr/lib/rpm/macros.perl
aa6804af 6%define pdir Net
7%define pnam Telnet
ae4b9346
JB
8Summary: Net::Telnet Perl module - interact with TELNET port or other TCP ports
9Summary(pl.UTF-8): Moduł Perla Net::Telnet - komunikacja protokołem TELNET lub z innymi portami TCP
2098602c 10Name: perl-Net-Telnet
ae4b9346
JB
11Version: 3.04
12Release: 1
b09b5bcd 13# same as perl
14License: GPL v1+ or Artistic
2098602c 15Group: Development/Languages/Perl
ae4b9346
JB
16Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: d2514080116c1b0fa5f96295c84538e3
18URL: http://search.cpan.org/dist/Net-Telnet/
aed03718 19BuildRequires: rpm-perlprov >= 4.1-13
c1006311 20BuildRequires: perl-devel >= 1:5.8.0
246b4e2e 21BuildArch: noarch
f990fc6f 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
2098602c 23
24%description
ae4b9346
JB
25Net::Telnet allows you to make client connections to a TCP port and do
26network I/O, especially to a port using the TELNET protocol.
2098602c 27
1e681af1 28%description -l pl.UTF-8
ae4b9346
JB
29Net::Telnet pozwala na wykonywanie połączeń z portami TCP i
30wykonywanie sieciowych operacji wejścia/wyjścia, w szczególności przy
31użyciu protokołu TELNET.
2098602c 32
33%prep
76b29ed1 34%setup -q -n %{pdir}-%{pnam}-%{version}
2098602c 35
36%build
aed03718 37%{__perl} Makefile.PL \
320eeea1 38 INSTALLDIRS=vendor
009bd938 39%{__make}
7658d35f 40
41%{?with_tests:%{__make} test}
2098602c 42
43%install
44rm -rf $RPM_BUILD_ROOT
2098602c 45
b09b5bcd 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
2098602c 48
2098602c 49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
e96285ce 54%doc ChangeLog README
aed03718 55%{perl_vendorlib}/Net/Telnet.pm
ae4b9346 56%{_mandir}/man3/Net::Telnet.3pm*
This page took 0.084468 seconds and 4 git commands to generate.