6850cc3
%global cpan_version 2.99037
063d09e
David Dick afdba02
Name:           perl-Net-Whois-Raw
063d09e
# Keep 2-digit precision
063d09e
Version:        %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/')
e92a736
Release:        3%{?dist}
David Dick afdba02
Summary:        Get Whois information for domains
David Dick afdba02
License:        GPL+ or Artistic
b6609cd
URL:            https://metacpan.org/release/Net-Whois-Raw
b6609cd
Source0:        https://cpan.metacpan.org/modules/by-module/Net/Net-Whois-Raw-%{cpan_version}.tar.gz
David Dick afdba02
BuildArch:      noarch
David Dick afdba02
BuildRequires:  %{_bindir}/iconv
0ab3a5d
BuildRequires:  coreutils
2571381
BuildRequires:  make
a085c00
BuildRequires:  perl-generators
e7fc633
BuildRequires:  perl-interpreter
824d595
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
0ab3a5d
BuildRequires:  perl(strict)
824d595
BuildRequires:  perl(warnings)
0ab3a5d
# Run-time:
David Dick afdba02
BuildRequires:  perl(Carp)
0ab3a5d
# Data::Dumper not used at tests
David Dick afdba02
BuildRequires:  perl(Encode)
0ab3a5d
# HTTP::Headers not used at tests
0ab3a5d
# HTTP::Request not used at tests
824d595
BuildRequires:  perl(IO::Socket::IP)
0ab3a5d
# LWP::UserAgent not used at tests
David Dick afdba02
BuildRequires:  perl(Regexp::IPv6)
0ab3a5d
# URI::URL not used at tests
David Dick afdba02
BuildRequires:  perl(utf8)
824d595
0ab3a5d
# Tests:
0ab3a5d
BuildRequires:  perl(Data::Dumper)
0ab3a5d
BuildRequires:  perl(File::Temp)
0ab3a5d
BuildRequires:  perl(Test::More)
bc54cb5
BuildRequires:  perl(Test::RequiresInternet)
David Dick afdba02
Requires:       perl(Data::Dumper)
David Dick afdba02
Requires:       perl(HTTP::Headers)
David Dick afdba02
Requires:       perl(HTTP::Request)
David Dick afdba02
Requires:       perl(LWP::UserAgent)
David Dick afdba02
Requires:       perl(URI::URL)
David Dick afdba02
David Dick afdba02
%description
David Dick afdba02
Net::Whois::Raw queries WHOIS servers about domains. The module supports
David Dick afdba02
recursive WHOIS queries. Also queries via HTTP is supported for some TLDs.
David Dick afdba02
David Dick afdba02
%prep
063d09e
%setup -q -n Net-Whois-Raw-%{cpan_version}
24af803
perl -pi -e 's/^#!.*perl/#!\/usr\/bin\/perl/' bin/pwhois
David Dick afdba02
David Dick afdba02
%build
34df862
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
34df862
%{make_build}
David Dick afdba02
David Dick afdba02
%install
34df862
%{make_install}
David Dick afdba02
%{_fixperms} $RPM_BUILD_ROOT/*
David Dick afdba02
David Dick afdba02
%check
34df862
%{make_build} test
David Dick afdba02
David Dick afdba02
%files
824d595
%license LICENSE COPYRIGHT
0ab3a5d
%doc Changes README
David Dick afdba02
%{perl_vendorlib}/*
David Dick afdba02
%{_mandir}/man3/*
David Dick afdba02
David Dick afdba02
%package -n pwhois
David Dick afdba02
Summary:        Perl written whois client
0ab3a5d
# Getopt::Long not used at tests
0ab3a5d
# Net::IDN::Punycode 1 not used at tests
0ab3a5d
# Win32API::Registry not used on Linux
David Dick afdba02
Requires:       perl(Getopt::Long) >= 2
David Dick afdba02
Requires:       perl(Net::IDN::Punycode) >= 1
0ab3a5d
# Win32API::Registry not used on Linux
David Dick afdba02
David Dick afdba02
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Getopt::Long\\)$
David Dick afdba02
%global __requires_exclude %__requires_exclude|^perl\\(Net::IDN::Punycode\\)$
0ab3a5d
David Dick afdba02
%description -n pwhois
0ab3a5d
Command line whois client.  Invoke with a domain name, optionally with a whois
0ab3a5d
server name.
David Dick afdba02
David Dick afdba02
%files -n pwhois
824d595
%license LICENSE COPYRIGHT
0ab3a5d
%doc README
David Dick afdba02
%{_mandir}/man1/*
David Dick afdba02
%{_bindir}/*
David Dick afdba02
David Dick afdba02
%changelog
e92a736
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.037-3
e92a736
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
e92a736
b1506d0
* Sun Aug 14 2022 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.037-2
b1506d0
- Bump to rebuild
b1506d0
6850cc3
* Sun Aug 14 2022 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.037-1
6850cc3
- Update to 2.99.037
6850cc3
61cfc60
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.036-2
61cfc60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
61cfc60
083a756
* Sun Jun 26 2022 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.036-1
083a756
- Update to 2.99.036
083a756
- Use /usr/bin/perl instead of %%{__perl}
083a756
0ac3b8f
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.034-2
0ac3b8f
- Perl 5.36 rebuild
0ac3b8f
795a4f6
* Sun Apr 24 2022 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.034-1
795a4f6
- Update to 2.99.034
795a4f6
f4dba37
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.032-2
f4dba37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
f4dba37
b157177
* Sun Aug 29 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.032-1
b157177
- Update to 2.99.032
b157177
552e3a0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.031-4
552e3a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
552e3a0
6455405
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.031-3
6455405
- Perl 5.34 rebuild
6455405
2b8626f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.031-2
2b8626f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2b8626f
51783a7
* Sun Sep 20 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.031-1
51783a7
- Update to 2.99.031
51783a7
24af803
* Sun Aug 16 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.030-1
24af803
- Update to 2.99.030
24af803
da53fbf
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.029-2
da53fbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
da53fbf
7cfbe0e
* Sun Jul 12 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.029-1
7cfbe0e
- Update to 2.99.029
7cfbe0e
2f83548
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.028-2
2f83548
- Perl 5.32 rebuild
2f83548
e875ac6
* Sun May 17 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.028-1
e875ac6
- Update to 2.99.028
e875ac6
34df862
* Sun Mar 01 2020 Emmanuel Seyman <emmanuel@seyman.fr> - 2.99.027-1
34df862
- Update to 2.99.027
34df862
- Use %%{make_install} instead of make "pure_install"
34df862
- Use %%{make_build} instead of make
34df862
d106acd
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.026-2
d106acd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d106acd
d4ebffa
* Fri Oct 25 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.026-1
d4ebffa
- 2.99026 bump
d4ebffa
8ad25d4
* Thu Oct 24 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.025-1
8ad25d4
- 2.99025 bump
8ad25d4
4d9e12d
* Wed Oct 23 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.024-1
4d9e12d
- 2.99024 bump
4d9e12d
e5fc4fa
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.022-2
e5fc4fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e5fc4fa
bc54cb5
* Mon Jul 15 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.022-1
bc54cb5
- 2.99022 bump
bc54cb5
0b88f4e
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.021-3
0b88f4e
- Perl 5.30 rebuild
0b88f4e
320384b
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.021-2
320384b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
320384b
673d524
* Thu Nov 22 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.021-1
673d524
- 2.99021 bump
673d524
604ca18
* Tue Sep 25 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.020-1
604ca18
- 2.99020 bump
604ca18
358fa87
* Thu Aug 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.018-1
358fa87
- 2.99018 bump
358fa87
6868ecc
* Mon Aug 06 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.016-1
6868ecc
- 2.99016 bump
6868ecc
e0e5df2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.015-3
e0e5df2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e0e5df2
143b136
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.015-2
143b136
- Perl 5.28 rebuild
143b136
c388d87
* Mon Jun 18 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.015-1
c388d87
- 2.99015 bump
c388d87
86feb01
* Wed May 09 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.014-1
86feb01
- 2.99014 bump
86feb01
4c15d27
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.013-2
4c15d27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4c15d27
df70402
* Wed Jan 03 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.013-1
df70402
- 2.99013 bump
df70402
2571381
* Mon Nov 27 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.011-1
2571381
- 2.99011 bump
2571381
e7fc633
* Mon Aug 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.010-1
e7fc633
- 2.99010 bump
e7fc633
9333f45
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.009-2
9333f45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9333f45
a5ece7a
* Tue Jun 27 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.009-1
a5ece7a
- 2.99009 bump
a5ece7a
3ad16cc
* Tue Jun 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.008-1
3ad16cc
- 2.99008 bump
3ad16cc
46af2b1
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.006-3
46af2b1
- Perl 5.26 rebuild
46af2b1
edc9d55
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.99.006-2
edc9d55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
edc9d55
83ebe65
* Fri Feb 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.006-1
83ebe65
- 2.99006 bump
83ebe65
063d09e
* Thu Aug 25 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.99.001-1
063d09e
- 2.99001 bump
063d09e
f33e6ba
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.94-2
f33e6ba
- Perl 5.24 rebuild
f33e6ba
308b130
* Thu Mar 31 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.94-1
308b130
- 2.94 bump
308b130
ba669e1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.91-2
ba669e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ba669e1
824d595
* Tue Nov 24 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.91-1
824d595
- 2.91 bump
824d595
0ab3a5d
* Wed Sep 23 2015 Petr Pisar <ppisar@redhat.com> - 2.86-1
0ab3a5d
- 2.86 bump
0ab3a5d
0e27226
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.82-3
0e27226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0e27226
30cb5ff
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.82-2
30cb5ff
- Perl 5.22 rebuild
30cb5ff
David Dick c172173
* Sat Feb 14 2015 David Dick <ddick@cpan.org> - 2.82-1
David Dick c172173
- New TLDs for .MOSCOW and fix encoding for whois.jprs.jp
David Dick c172173
David Dick 18bb0d3
* Tue Jan 20 2015 David Dick <ddick@cpan.org> - 2.80-1
David Dick 18bb0d3
- New TLDs
David Dick 18bb0d3
David Dick afdba02
* Mon Jul 07 2014 David Dick <ddick@cpan.org> - 2.76-1
David Dick afdba02
- Initial release