ed69a07
Name:           perl-Net-Domain-TLD
1427aff
Version:        1.68
8ec9927
Release:        2%{?dist}
ed69a07
Summary:        Work with TLD names
ed69a07
Group:          Development/Libraries
4697813
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
4697813
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
8ec9927
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.68-2
8ec9927
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8ec9927
1427aff
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.68-1
1427aff
- update to 1.68
1427aff
ea56a49
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.67-4
ea56a49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ea56a49
3a15fcd
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.67-3
3a15fcd
- Rebuild for perl 5.10 (again)
3a15fcd
4bf62bd
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.67-2
4bf62bd
- rebuild for new perl
4bf62bd
976eb1f
* Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.67-1
976eb1f
- 1.67
976eb1f
4697813
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.65-2
4697813
- license tag fix
4697813
ed69a07
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.65-1
ed69a07
- initial package for Fedora Extras