]> git.pld-linux.org Git - SPECS.git/blob - perl-Net-DNS-Codes.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / perl-Net-DNS-Codes.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Net
6 %define         pnam    DNS-Codes
7 Summary:        Net::DNS::Codes - collection of C library DNS codes
8 Summary(pl.UTF-8):      Net::DNS::Codes - kolekcja kodów DNS
9 Name:           perl-Net-DNS-Codes
10 Version:        0.11
11 Release:        1
12 License:        GPL v2+
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  184b659611909946c504f79a36347ef9
16 URL:            http://search.cpan.org/dist/Net-DNS-Codes/
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 Net::DNS::Codes provides forward and reverse lookup for most
24 common C library DNS codes as well as all the codes for the DNS 
25 HEADER field.
26
27 %description -l pl.UTF-8
28 Net::DNS::Codes dostarcza wyszukiwanie zwykłe i odwrotne dla
29 większości popularnych kodów DNS biblioteki C, a także kody dla pola
30 HEADER DNS.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
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 %{perl_vendorlib}/Net/DNS/Codes.pm
56 %{_mandir}/man3/*
This page took 0.663601 seconds and 3 git commands to generate.