]> git.pld-linux.org Git - packages/perl-libnet.git/blame - perl-libnet.spec
- check-files cleanup
[packages/perl-libnet.git] / perl-libnet.spec
CommitLineData
7c595f43 1#
2# Conditional build:
6161160f 3%bcond_without tests # do not perform "make test"
7c595f43 4#
5b450f46 5%include /usr/lib/rpm/macros.perl
88e4100d 6%define pdir Net
7%define pnam libnet
4c7cc54e 8Summary: Miscellaneous perl networking modules
4f23b60e
ER
9Summary(cs.UTF-8): Modul libnet pro Perl
10Summary(da.UTF-8): Perl-modulet libnet
11Summary(de.UTF-8): libnet Perl Modul
12Summary(es.UTF-8): Módulo de Perl libnet
13Summary(fr.UTF-8): Module Perl libnet
14Summary(it.UTF-8): Modulo di Perl libnet
15Summary(ja.UTF-8): libnet Perl モジュール
16Summary(ko.UTF-8): libnet 펄 모줄
17Summary(nb.UTF-8): Perlmodul libnet
18Summary(pl.UTF-8): Różne moduły perlowe do obsługi sieci
19Summary(pt.UTF-8): Módulo de Perl libnet
20Summary(pt_BR.UTF-8): Módulo Perl libnet
21Summary(ru.UTF-8): Модуль для Perl libnet
22Summary(sv.UTF-8): libnet Perlmodul
23Summary(uk.UTF-8): Модуль для Perl libnet
24Summary(zh_CN.UTF-8): libnet Perl 模块
0987fcfc 25Name: perl-libnet
0ed6d63a 26Version: 1.23
62f31446 27Release: 1
6d95dfc7 28Epoch: 1
70f39f44 29# same as perl
30License: GPL v1+ or Artistic
4c7cc54e 31Group: Development/Languages/Perl
c3b7f176 32Source0: http://www.cpan.org/modules/by-module/Net/%{pnam}-%{version}.tar.gz
0ed6d63a 33# Source0-md5: 1e997bbc53c073e7b4fd23b5bf92c87e
e93bb4d9 34Patch0: %{name}-Configure.patch
ae3848c2 35URL: http://www.perl.com/CPAN/modules/by-module/%{pdir}/%{pnam}-%{version}.readme
f174a877 36BuildRequires: perl-devel >= 1:5.8.0
8246f065 37BuildRequires: rpm-perlprov >= 4.1-13
e7366c79 38BuildArch: noarch
dd0bda1d 39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38a01556 40
7c595f43 41# Convert::EBCDIC required only on os390
42# Authen::SASL and MIME::Base64 required only for SMTP AUTH
43%define _noautoreq 'perl(Convert::EBCDIC)' 'perl(Authen::SASL)' 'perl(MIME::Base64)'
04d98b2c 44
38a01556 45%description
8a9ac8c1 46libnet is a collection of Perl modules which provides a simple and
47consistent programming interface (API) to the client side of various
48protocols used in the internet community. The RFCs implemented in this
49distribution are:
38a01556 50
e93bb4d9 51- Net::FTP - RFC959 File Transfer Protocol
8a9ac8c1 52- Net::SMTP - RFC821 Simple Mail Transfer Protocol
53- Net::Time - RFC867 Daytime Protocol
54- Net::Time - RFC868 Time Protocol
55- Net::NNTP - RFC977 Network News Transfer Protocol
56- Net::POP3 - RFC1939 Post Office Protocol 3
57- Net::SNPP - RFC1861 Simple Network Pager Protocol
38a01556 58
e4170c0d
JR
59%description -l pl.UTF-8
60libnet jest zestawem modułów do Perla, które udostępniają prosty i
61spójny interfejs programisty (API) do obsługi po stronie klienta
62różnych protokołów używanych w sieci Internet. Spis dokumentów RFC,
63które są zaimplementowane w libnet:
38a01556 64
e93bb4d9 65- Net::FTP - RFC959 File Transfer Protocol
8a9ac8c1 66- Net::SMTP - RFC821 Simple Mail Transfer Protocol
67- Net::Time - RFC867 Daytime Protocol
68- Net::Time - RFC868 Time Protocol
69- Net::NNTP - RFC977 Network News Transfer Protocol
70- Net::POP3 - RFC1939 Post Office Protocol 3
71- Net::SNPP - RFC1861 Simple Network Pager Protocol
38a01556 72
38a01556 73%prep
ae3848c2 74%setup -q -n %{pnam}-%{version}
4f9c46bc 75%patch0 -p1
38a01556 76
77%build
8246f065 78%{__perl} Makefile.PL </dev/null \
30b07747 79 INSTALLDIRS=vendor
fa09d717 80%{__make}
38a01556 81
6161160f 82%{?with_tests:%{__make} test}
7c595f43 83
38a01556 84%install
85rm -rf $RPM_BUILD_ROOT
d4198b68 86
98879242 87%{__make} install \
88 DESTDIR=$RPM_BUILD_ROOT
d4198b68 89
335db5a5
JB
90%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Net/libnetFAQ.pod
91
38a01556 92%clean
93rm -rf $RPM_BUILD_ROOT
94
95%files
d4198b68 96%defattr(644,root,root,755)
8ddce8a9 97%doc README Changes
8246f065 98%config(noreplace) %{perl_vendorlib}/Net/Config.pm
99%{perl_vendorlib}/Net/Cmd.pm
100%{perl_vendorlib}/Net/Domain.pm
101%dir %{perl_vendorlib}/Net/FTP
102%{perl_vendorlib}/Net/FTP/A.pm
103%{perl_vendorlib}/Net/FTP/dataconn.pm
104%{perl_vendorlib}/Net/FTP/E.pm
105%{perl_vendorlib}/Net/FTP/I.pm
106%{perl_vendorlib}/Net/FTP/L.pm
107%{perl_vendorlib}/Net/FTP.pm
108%{perl_vendorlib}/Net/libnet.cfg
8246f065 109%{perl_vendorlib}/Net/NNTP.pm
110%{perl_vendorlib}/Net/POP3.pm
111%{perl_vendorlib}/Net/Netrc.pm
112%{perl_vendorlib}/Net/SMTP.pm
113%{perl_vendorlib}/Net/Time.pm
335db5a5 114%{_mandir}/man3/Net::*.3pm*
This page took 0.465816 seconds and 4 git commands to generate.