2007-01-15 23:31:15 +00:00
|
|
|
#
|
2011-11-16 15:39:06 +00:00
|
|
|
# spec file for package perl-Net-DNS
|
2007-01-15 23:31:15 +00:00
|
|
|
#
|
2012-02-01 16:56:57 +00:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:15 +00:00
|
|
|
#
|
2008-11-28 15:30:00 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2007-01-15 23:31:15 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Net-DNS
|
2012-02-01 16:56:57 +00:00
|
|
|
Version: 0.68
|
|
|
|
|
Release: 0
|
2011-11-16 15:39:06 +00:00
|
|
|
Summary: Perl interface to the DNS resolver
|
2012-02-01 16:56:57 +00:00
|
|
|
License: GPL-2.0+ or Artistic-1.0
|
2011-11-16 15:39:06 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2012-02-01 16:56:57 +00:00
|
|
|
Url: http://cpan.org/modules/by-module/Net/
|
2011-11-16 15:39:06 +00:00
|
|
|
Source: Net-DNS-%{version}.tar.gz
|
|
|
|
|
BuildRequires: perl-Digest-HMAC
|
|
|
|
|
BuildRequires: perl-Net-IP
|
|
|
|
|
BuildRequires: perl-macros
|
2007-01-15 23:31:15 +00:00
|
|
|
Requires: perl-Digest-HMAC
|
|
|
|
|
Requires: perl-Net-IP
|
2012-09-20 12:00:27 +00:00
|
|
|
Recommends: perl(IO::Socket::INET6)
|
2011-11-16 15:39:06 +00:00
|
|
|
Provides: perl_dns
|
|
|
|
|
Obsoletes: perl_dns
|
2007-01-15 23:31:15 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-05 21:06:46 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:31:15 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Net::DNS is a Perl interface to the DNS resolver. It allows the
|
|
|
|
|
programmer to perform any type of DNS query from a Perl script. For
|
|
|
|
|
details and examples, please read the Net::DNS manual page.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Net-DNS-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
find demo contrib -type f | xargs -n 1 sed -i "s@/usr/local/bin/@/usr/bin/@"
|
2011-11-16 15:39:06 +00:00
|
|
|
perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
|
2010-01-12 11:04:36 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-01-10 01:44:08 +00:00
|
|
|
|
|
|
|
|
%check
|
2009-01-16 00:51:44 +00:00
|
|
|
make test
|
2007-01-15 23:31:15 +00:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%perl_make_install
|
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
|
|
%clean
|
2011-11-16 15:39:06 +00:00
|
|
|
rm -rf %{buildroot}
|
2007-01-15 23:31:15 +00:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc Changes README TODO demo contrib
|
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
|
%{perl_vendorarch}/Net
|
|
|
|
|
%{perl_vendorarch}/auto/Net
|
2008-01-07 01:54:02 +00:00
|
|
|
|
2007-07-03 13:14:36 +00:00
|
|
|
%changelog
|