Fedora/Redhat/CentOS Spec for Authorative Nslookup

Name:           anslookup
Version:        1.43
Release:        1%{?dist}
Summary:        Authoritative nslookup

License:        Feel free to use. But please include some text like this: Script by Boris 'pi' Piwinger, see http://piology.org/perl/.
Packager:       Hnr Kordewiner <hnr@kordewiner.com>
URL:            http://piology.org/perl/anslookup.pl.html

BuildRequires:  lynx grep sed 
Requires:       perl-Net-DNS

%description    
Tool to find e.g. the origins of conflicting DNS records.

%prep
mkdir -p %{buildroot}/usr/bin/
cd %{buildroot}/usr/bin/
lynx -dump -width=500 http://piology.org/perl/anslookup.pl.html | grep '^ \+[0-9]\+ |'|sed -E 's/^ +[0-9]+ \| ?//' >anslookup.pl
chmod 755 anslookup.pl

%build 

%files
%{_bindir}/anslookup.pl

%changelog
* Tue Jul 09 2013 Hnr Kordewiner <hnr@eilbek.net> - 1.43-1
- Initial version of the package

Neuen Dateianhang "anslookup.spec" hochladen

helpdesk/anslookup (zuletzt geändert am 2014-02-26 15:03:01 durch heiner)