/[packages]/cauldron/perl-Net-DNS/current/SPECS/perl-Net-DNS.spec
ViewVC logotype

Annotation of /cauldron/perl-Net-DNS/current/SPECS/perl-Net-DNS.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389213 - (hide annotations) (download)
Thu Jan 17 21:29:26 2013 UTC (11 years, 3 months ago) by pterjan
Original Path: obsolete/cauldron/perl-Net-DNS/current/SPECS/perl-Net-DNS.spec
File size: 1431 byte(s)
Drop 
1 jquelin 13333 %define upstream_name Net-DNS
2 jquelin 342438 %define upstream_version 0.72
3 jquelin 13333
4 kharec 165004 Name: perl-%{upstream_name}
5     Version: %perl_convert_version %{upstream_version}
6 umeabot 370533 Release: %mkrel 2
7 jquelin 13333
8 kharec 165004 Summary: Perl interface to the DNS resolver
9     License: GPL+ or Artistic
10     Group: Development/Perl
11     Url: http://search.cpan.org/dist/%{upstream_name}
12     Source0: http://www.cpan.org/modules/by-module/Net/%{upstream_name}-%{upstream_version}.tar.gz
13 jquelin 13333
14 kharec 165004 BuildRequires: perl(Digest::HMAC_MD5) >= 1.0.0
15     BuildRequires: perl(Digest::MD5) >= 2.120.0
16     BuildRequires: perl(Digest::SHA) >= 5.230.0
17     BuildRequires: perl(ExtUtils::MakeMaker)
18     BuildRequires: perl(IO::Socket)
19     BuildRequires: perl(MIME::Base64) >= 2.110.0
20     BuildRequires: perl(Test::More) >= 0.180.0
21     BuildRequires: perl-devel
22 jquelin 13333 %description
23     Net::DNS is a collection of Perl modules that act as a Domain Name System (DNS)
24     resolver. It allows the programmer to perform DNS queries that are beyond the
25     capabilities of gethostbyname and gethostbyaddr.
26    
27     The programmer should be somewhat familiar with the format of a DNS packet and
28     its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for details.
29    
30     %prep
31     %setup -q -n %{upstream_name}-%{upstream_version}
32    
33     %build
34     %{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null
35     %make
36    
37     %check
38     %{__make} test
39    
40     %install
41     %makeinstall_std
42    
43     %files
44 jquelin 213106 %doc Changes META.yml MYMETA.yml README TODO demo
45 jquelin 13333 %{_mandir}/*/*
46     %{perl_vendorarch}/auto/Net
47 kharec 165004 %{perl_vendorarch}/Net

  ViewVC Help
Powered by ViewVC 1.1.30