ed69a07
Name:           perl-Net-Domain-TLD
ed69a07
Version:        1.65
78750fe
Release:        2%{?dist}
ed69a07
Summary:        Work with TLD names
ed69a07
Group:          Development/Libraries
78750fe
License:        GPL+ or Artistic
ed69a07
URL:            http://search.cpan.org/dist/Net-Domain-TLD
ed69a07
Source0:        http://search.cpan.org/CPAN/authors/id/A/AL/ALEXP/Net-Domain-TLD-%{version}.tar.gz
ed69a07
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ed69a07
BuildArch:      noarch
78750fe
BuildRequires:  perl(Test::More)
ed69a07
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
ed69a07
ed69a07
%description
ed69a07
The purpose of this module is to provide user with current list of
ed69a07
available top level domain names including new ICANN additions and ccTLDs.
ed69a07
ed69a07
%prep
ed69a07
%setup -q -n Net-Domain-TLD-%{version}
ed69a07
ed69a07
%build
ed69a07
%{__perl} Makefile.PL INSTALLDIRS=vendor
ed69a07
make %{?_smp_mflags}
ed69a07
ed69a07
%install
ed69a07
rm -rf $RPM_BUILD_ROOT
ed69a07
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
ed69a07
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
ed69a07
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
ed69a07
chmod -R u+w $RPM_BUILD_ROOT/*
ed69a07
ed69a07
%check
ed69a07
make test
ed69a07
ed69a07
%clean
ed69a07
rm -rf $RPM_BUILD_ROOT
ed69a07
ed69a07
%files
ed69a07
%defattr(-,root,root,-)
ed69a07
%doc Changes
ed69a07
%{perl_vendorlib}/Net
ed69a07
%{_mandir}/man3/*.3*
ed69a07
ed69a07
ed69a07
%changelog
78750fe
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.65-2
78750fe
- license tag fix
78750fe
ed69a07
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.65-1
ed69a07
- initial package for Fedora Extras