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