Sisyphus repository
Last update: 17 september 2019 | SRPMs: 17435 | Visits: 15113622
en ru br
ALT Linux repos
S:3.11-alt1
5.0: 1.22-alt1
4.1: 1.22-alt1
4.0: 1.20-alt2
3.0: 1.19-alt3

Group :: Development/Perl
RPM: perl-libnet

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define dist libnet
Name: perl-%dist
Version: 3.11
Release: alt1
Epoch: 1

Summary: Collection of Network protocol modules for Perl
License: GPL or Artistic
Group: Development/Perl

URL: %CPAN %dist
Source0: http://www.cpan.org/authors/id/S/SH/SHAY/%{dist}-%{version}.tar.gz
Patch: %name-3.04-alt.patch

BuildArch: noarch
Requires: /etc/perl5

# Automatically added by buildreq on Sat Nov 19 2011

BuildRequires: perl-devel

%description
libnet is a collection of Perl modules which provides a simple
and consistent programming interface (API) to the client side
of various protocols used in the internet community.

The RFC implemented in this distribution are

Net::FTP RFC959 File Transfer Protocol
Net::SMTP RFC821 Simple Mail Transfer Protocol
Net::Time RFC867 Daytime Protocol
Net::Time RFC868 Time Protocol
Net::NNTP RFC977 Network News Transfer Protocol
Net::POP3 RFC1939 Post Office Protocol 3
Net::SNPP RFC1861 Simple Network Pager Protocol

%prep
%setup -q -n %{dist}-%{version}
%patch -p1

%build
%perl_vendor_build

%install
%perl_vendor_install

mkdir -p %buildroot/etc/perl5/Net
mv %buildroot{%perl_vendor_privlib,/etc/perl5}/Net/libnet.cfg

%files
%doc Changes README Artistic Copying
%dir /etc/perl5/Net
%config(noreplace) /etc/perl5/Net/libnet.cfg
%dir %perl_vendor_privlib/Net
%perl_vendor_privlib/Net/*.pm
%doc %perl_vendor_privlib/Net/*.pod
%dir %perl_vendor_privlib/Net/FTP
%perl_vendor_privlib/Net/FTP/*.pm

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin