]> git.pld-linux.org Git - SPECS.git/blob - perl-Net-IANA-PortNumbers.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Net-IANA-PortNumbers.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Net
6 %define         pnam    IANA-PortNumbers
7 Summary:        Net::IANA::PortNumbers - translate ports to services and vice versa
8 Summary(pl.UTF-8):      Net::IANA::PortNumbers - tłumaczenie portów na usługi i na odwrót
9 Name:           perl-Net-IANA-PortNumbers
10 Version:        1.16
11 Release:        3
12 License:        GPL v2+
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  056000346da9c0c4352f6bff7e506034
16 URL:            http://search.cpan.org/dist/Net-IANA-PortNumbers/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 This package contains Net::IANA::PortNumbers Perl module, which
24 translates port numbers and services to ports, services, descriptions,
25 protocols, and ranges.
26
27 %description -l pl.UTF-8
28 Ten pakiet zawiera moduł Perla Net::IANA::PortNumbers tłumaczący
29 numery portów i usługi na porty, usługi, opisy, protokoły i zakresy.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33 rm -f t/0-signature.t
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38
39 %{__make}
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes README
55 # the only user of Net/IANA for now
56 %dir %{perl_vendorlib}/Net/IANA
57 %{perl_vendorlib}/Net/IANA/*.pm
58 %{_mandir}/man3/*
This page took 0.448501 seconds and 3 git commands to generate.