# # spec file for package perl-Net-NyLookup # # Copyright (c) 2018 Holöger Bruenjes # # 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. # Name: perl-Net-Nslookup Version: 2.04 Release: 1.1 %define cpan_name Net-Nslookup Summary: Provide nslookup(1)-like capabilities License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/~darren/Net-Nslookup-2.04/ Source: http://search.cpan.org/CPAN/authors/id/D/DA/DARREN/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros %{perl_requires} %description Net::Nslookup provides the capabilities of the standard UNIX command line tool nslookup(1). Net::DNS is a wonderful and full featured module, but quite often, all you need is $(nslookup $host). This module provides that functionality. Net::Nslookup exports a single function, called nslookup. nslookup can be used to retrieve A, PTR, CNAME, MX, NS, SOA, TXT, and SRV records. %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} # check is broken #%check #%{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc README %changelog * Wed Jan 24 2018 holgerbruenjes@gmx.net initial relaease